aboutsummaryrefslogtreecommitdiff
path: root/include/npassd/service.h
diff options
context:
space:
mode:
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);