aboutsummaryrefslogtreecommitdiffstats
path: root/kbd.h
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2019-03-01 15:16:21 +0100
committerGerd Hoffmann <kraxel@redhat.com>2019-03-01 15:16:21 +0100
commit568029f176168fe9c0718b37767bc69587e92eca (patch)
treedcf5788c42d84e07fd5dac751492d30df9003b1d /kbd.h
parent40f389d427d46159d6ddd249f73fad59b507780e (diff)
downloadfbida-568029f176168fe9c0718b37767bc69587e92eca.tar.gz
logind support
Diffstat (limited to 'kbd.h')
-rw-r--r--kbd.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/kbd.h b/kbd.h
index ad391f8..3b5faef 100644
--- a/kbd.h
+++ b/kbd.h
@@ -19,3 +19,8 @@ int kbd_read(char *buf, uint32_t len,
void kbd_suspend(void);
void kbd_resume(void);
void kbd_fini(void);
+
+void logind_init(void);
+bool use_logind(void);
+int logind_open(const char *path);
+void logind_close(int fd);