aboutsummaryrefslogtreecommitdiff
path: root/include/npassd/service.h
diff options
context:
space:
mode:
authorsinanmohd <sinan@sinanmohd.com>2024-04-27 12:31:12 +0530
committersinanmohd <sinan@sinanmohd.com>2024-04-28 15:43:50 +0530
commitda21dd57634aebffe0f5833b598e1128fafc0def (patch)
tree71d8e510eb788e0df695052325a1fe4fec6bf5a7 /include/npassd/service.h
parent06e3f1885fc112093f867cd5d7a8b163ef28650c (diff)
npassd/collection: init
Diffstat (limited to 'include/npassd/service.h')
-rw-r--r--include/npassd/service.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/npassd/service.h b/include/npassd/service.h
index b7c71af..92a833e 100644
--- a/include/npassd/service.h
+++ b/include/npassd/service.h
@@ -2,6 +2,7 @@
#include <sys/queue.h>
#include <systemd/sd-bus.h>
+#include "npassd/collection.h"
#include "npassd/session.h"
#define MAX_SESSION 128
@@ -9,9 +10,10 @@
struct service {
sd_bus *bus;
sd_bus_slot *slot;
-
struct sqlite3 *db;
+
struct session_dlist sessions;
+ struct collection_dlist collections;
};
int service_init(sd_bus *bus, struct service *service);