aboutsummaryrefslogtreecommitdiffstats
path: root/logind.h
diff options
context:
space:
mode:
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);