diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2019-03-04 06:39:15 +0100 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2019-03-04 06:39:15 +0100 |
commit | a54addaa25769da1df006562974f699319bf1172 (patch) | |
tree | d900524fc5809593c677968e97ba614d93e564d9 /logind.h | |
parent | c7759d655484c105bce6dc86a036585e01347f6c (diff) | |
download | fbida-a54addaa25769da1df006562974f699319bf1172.tar.gz |
move logind code to separate file
Diffstat (limited to 'logind.h')
-rw-r--r-- | logind.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/logind.h b/logind.h new file mode 100644 index 0000000..6aca13c --- /dev/null +++ b/logind.h @@ -0,0 +1,12 @@ +#include <stdbool.h> +#include <inttypes.h> + +#include <libudev.h> +#include <libinput.h> + +extern const struct libinput_interface libinput_if_logind; + +int logind_init(void); +int logind_take_control(void); +int logind_open(const char *path, int flags, void *user_data); +void logind_close(int fd, void *user_data); |