aboutsummaryrefslogblamecommitdiff
path: root/include/npassd/session.h
blob: 48d4fed826d8322b413a83abf857b86d878491f6 (plain) (tree)
1
2
3
4
5
6
7
8
9
                    
                      





                                                      
                



                                        

  



                                                                          
#include <stdbool.h>
#include <sys/queue.h>
#include <systemd/sd-bus.h>

#include "npassd/common.h"

#define SESSION_IFACE "org.freedesktop.Secret.Session"

struct session {
	sd_bus_slot *slot, *slot_singal;
	char *owner, *path;

	LIST_ENTRY(session) dlist;
};

LIST_HEAD(session_dlist, session);

void session_free(struct session *s);
int session_new(sd_bus *bus, struct session **session, const char *owner);