merged all public headers into single tcp-chat.h
This commit is contained in:
@@ -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(
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////////
|
||||
// //
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#pragma once
|
||||
#include "tcp-chat/tcp-chat.h"
|
||||
#include "tcp-chat.h"
|
||||
#include "endpoint.h"
|
||||
|
||||
#if !defined(KN_USE_WINSOCK)
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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"
|
||||
|
||||
|
||||
@@ -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"
|
||||
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user