diff options
Diffstat (limited to 'include/npassd/service.h')
-rw-r--r-- | include/npassd/service.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/npassd/service.h b/include/npassd/service.h index 6219dd6..b7c71af 100644 --- a/include/npassd/service.h +++ b/include/npassd/service.h @@ -1,4 +1,5 @@ #include <sqlite3.h> +#include <sys/queue.h> #include <systemd/sd-bus.h> #include "npassd/session.h" @@ -8,8 +9,9 @@ struct service { sd_bus *bus; sd_bus_slot *slot; + struct sqlite3 *db; - struct session session[MAX_SESSION]; + struct session_dlist sessions; }; int service_init(sd_bus *bus, struct service *service); |