aboutsummaryrefslogtreecommitdiffstats
path: root/logind.h
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2019-03-27 13:33:49 +0100
committerGerd Hoffmann <kraxel@redhat.com>2019-03-27 13:33:49 +0100
commit59ca05ee1a59c5298767cf9563ef7f92ec895936 (patch)
tree6b0e8eecb498f7c01f4ae7bff540ee5e175c2451 /logind.h
parente772b065d85445049854d806cd06943dbd58d619 (diff)
downloadfbida-59ca05ee1a59c5298767cf9563ef7f92ec895936.tar.gz
[wip still] more logind console switching
Diffstat (limited to 'logind.h')
-rw-r--r--logind.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/logind.h b/logind.h
index e95b361..d7300da 100644
--- a/logind.h
+++ b/logind.h
@@ -6,7 +6,9 @@
extern const struct libinput_interface libinput_if_logind;
-int logind_init(bool take_control);
+int logind_init(bool take_control,
+ void (*suspend)(void),
+ void (*resume)(void));
int logind_dbus_fd(void);
void logind_dbus_input(void);
int logind_switch_vt(int vt);