aboutsummaryrefslogtreecommitdiff
path: root/include/npassd/service.h
diff options
context:
space:
mode:
authorsinanmohd <sinan@sinanmohd.com>2024-04-22 22:23:29 +0530
committersinanmohd <sinan@sinanmohd.com>2024-04-22 22:24:45 +0530
commitb33130cd384e531cb6dfbeefbb94f8f20bc967c6 (patch)
tree479d703c07bca440a30dc73147b872d7ebdbf55f /include/npassd/service.h
parent5c1279fe17f23ec1f407809567b8a752d3be7f09 (diff)
npassd/db: init
Diffstat (limited to 'include/npassd/service.h')
-rw-r--r--include/npassd/service.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/npassd/service.h b/include/npassd/service.h
index e1a42fc..6219dd6 100644
--- a/include/npassd/service.h
+++ b/include/npassd/service.h
@@ -1,3 +1,4 @@
+#include <sqlite3.h>
#include <systemd/sd-bus.h>
#include "npassd/session.h"
@@ -7,6 +8,7 @@
struct service {
sd_bus *bus;
sd_bus_slot *slot;
+ struct sqlite3 *db;
struct session session[MAX_SESSION];
};