aboutsummaryrefslogtreecommitdiffstats
path: root/logind.h
blob: e95b36168ab6a058d77fe43a20447d1362a5d16a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#include <stdbool.h>
#include <inttypes.h>

#include <libudev.h>
#include <libinput.h>

extern const struct libinput_interface libinput_if_logind;

int logind_init(bool take_control);
int logind_dbus_fd(void);
void logind_dbus_input(void);
int logind_switch_vt(int vt);
int logind_take_control(void);
int logind_release_control(void);
int logind_open(const char *path, int flags, void *user_data);
void logind_close(int fd, void *user_data);