implemented server database and api for client database
This commit is contained in:
@@ -2,12 +2,14 @@
|
||||
#include <pthread.h>
|
||||
#include "tlibc/collections/HashMap.h"
|
||||
#include "tlibc/collections/List.h"
|
||||
#include "tsqlite.h"
|
||||
#include "tcp-chat/client.h"
|
||||
#include "db/client_db.h"
|
||||
|
||||
typedef struct ClientCLI {
|
||||
Client* client;
|
||||
tsqlite_connection* db;
|
||||
ClientQueries* queries;
|
||||
List(SavedServer) saved_servers;
|
||||
} ClientCLI;
|
||||
|
||||
void ClientCLI_construct(ClientCLI* self);
|
||||
|
||||
Reference in New Issue
Block a user