aboutsummaryrefslogblamecommitdiff
path: root/include/npassd/service.h
blob: e1a42fcb58956fcc4f00b3901b4f4c6fed086d8e (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14













                                                       
#include <systemd/sd-bus.h>

#include "npassd/session.h"

#define MAX_SESSION 128

struct service {
	sd_bus *bus;
	sd_bus_slot *slot;
	struct session session[MAX_SESSION];
};

int service_init(sd_bus *bus, struct service *service);
void service_free(struct service *service);