merged all public headers into single tcp-chat.h

This commit is contained in:
2025-12-23 00:43:11 +05:00
parent e2edd4070a
commit 90e21bc5ae
18 changed files with 132 additions and 135 deletions

View File

@@ -1,7 +1,6 @@
#include "ClientCLI.h"
#include "tlibc/filesystem.h"
#include "tlibc/term.h"
#include "tcp-chat/common_constants.h"
#include "cli/ClientCLI/ClientCLI.h"
#include "network/tcp-chat-protocol/v1.h"
static const str greeting_art = STR(

View File

@@ -1,8 +1,8 @@
#pragma once
#include <pthread.h>
#include "tcp-chat.h"
#include "tlibc/collections/HashMap.h"
#include "tlibc/collections/List.h"
#include "tcp-chat/client.h"
#include "db/client_db.h"
typedef struct ClientCLI {

View File

@@ -1,5 +1,5 @@
#pragma once
#include "tcp-chat/tcp-chat.h"
#include "tcp-chat.h"
#include "tsqlite.h"
#include "network/tcp-chat-protocol/v1.h"
#include "tlibc/collections/List.h"

View File

@@ -1,6 +1,6 @@
#include "tcp-chat.h"
#include "tlibc/tlibc.h"
#include "tlibtoml.h"
#include "tcp-chat/tcp-chat.h"
#include "cryptography/RSA.h"
#include "cli/modes/modes.h"

View File

@@ -1,8 +1,8 @@
#include <pthread.h>
#include "tcp-chat.h"
#include "modes.h"
#include "tcp-chat/server.h"
#include "tlibc/time.h"
#include "tlibc/term.h"
#include <pthread.h>
typedef struct ServerLogger {
pthread_mutex_t mutex;

View File

@@ -1,5 +1,5 @@
#pragma once
#include "tcp-chat/client.h"
#include "tcp-chat.h"
#include "cryptography/AES.h"
#include "cryptography/RSA.h"
#include "network/encrypted_sockets.h"

View File

@@ -1,10 +1,9 @@
#pragma once
#include "tlibc/errors.h"
#include "tcp-chat.h"
#include "tlibc/collections/Array.h"
#include "tlibc/collections/Array_impl/Array_u8.h"
#include "bearssl_rand.h"
#include "bearssl_hash.h"
#include "tcp-chat/common_constants.h"
//////////////////////////////////////////////////////////////////////////////
// //

View File

@@ -1,5 +1,5 @@
#pragma once
#include "tcp-chat/tcp-chat.h"
#include "tcp-chat.h"
#include "endpoint.h"
#if !defined(KN_USE_WINSOCK)

View File

@@ -1,7 +1,6 @@
#pragma once
#include "tlibc/errors.h"
#include "tcp-chat.h"
#include "tlibc/magic.h"
#include "tcp-chat/common_constants.h"
#define AES_SESSION_KEY_SIZE 32

View File

@@ -1,6 +1,5 @@
#pragma once
#include "tlibc/errors.h"
#include "tlibc/string/str.h"
#include "tcp-chat.h"
#include "tlibc/time.h"
#include "network/tcp-chat-protocol/constant.h"

View File

@@ -1,5 +1,5 @@
#pragma once
#include "tcp-chat/tcp-chat.h"
#include "tcp-chat.h"
#include "tsqlite.h"
#include "network/tcp-chat-protocol/v1.h"

View File

@@ -1,6 +1,5 @@
#pragma once
#include "tcp-chat/tcp-chat.h"
#include "tcp-chat/server.h"
#include "tcp-chat.h"
#include "cryptography/AES.h"
#include "cryptography/RSA.h"
#include "network/encrypted_sockets.h"