aboutsummaryrefslogtreecommitdiffstats
path: root/logind.h
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2019-03-04 06:39:15 +0100
committerGerd Hoffmann <kraxel@redhat.com>2019-03-04 06:39:15 +0100
commita54addaa25769da1df006562974f699319bf1172 (patch)
treed900524fc5809593c677968e97ba614d93e564d9 /logind.h
parentc7759d655484c105bce6dc86a036585e01347f6c (diff)
downloadfbida-a54addaa25769da1df006562974f699319bf1172.tar.gz
move logind code to separate file
Diffstat (limited to 'logind.h')
-rw-r--r--logind.h12
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);