From a54addaa25769da1df006562974f699319bf1172 Mon Sep 17 00:00:00 2001 From: Gerd Hoffmann Date: Mon, 4 Mar 2019 06:39:15 +0100 Subject: move logind code to separate file --- logind.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 logind.h (limited to 'logind.h') 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 +#include + +#include +#include + +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); -- cgit