aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/server.h
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2022-09-11 20:23:24 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2022-09-11 20:23:24 +0300
commit23f9521d1abdeb599fbe81d0c196a9ee92f5fd8a (patch)
tree5ee5e59339bf2af98039ec4584f8a01410a95c11 /src/server.h
parentlog: refactoring (diff)
downloadcimple-23f9521d1abdeb599fbe81d0c196a9ee92f5fd8a.tar.gz
cimple-23f9521d1abdeb599fbe81d0c196a9ee92f5fd8a.zip
create SQLite database on startup
Diffstat (limited to '')
-rw-r--r--src/server.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/server.h b/src/server.h
index ebd88a1..ba2a52f 100644
--- a/src/server.h
+++ b/src/server.h
@@ -2,12 +2,15 @@
#define __SERVER_H__
#include "ci_queue.h"
+#include "storage.h"
#include "tcp_server.h"
#include <pthread.h>
struct settings {
const char *port;
+
+ const char *sqlite_path;
};
struct server {
@@ -16,6 +19,8 @@ struct server {
int stopping;
+ struct storage storage;
+
struct tcp_server tcp_server;
struct ci_queue ci_queue;