aboutsummaryrefslogtreecommitdiffstats
path: root/src/mds-libinput.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/mds-libinput.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/src/mds-libinput.h b/src/mds-libinput.h
index b7cb415..64032fd 100644
--- a/src/mds-libinput.h
+++ b/src/mds-libinput.h
@@ -27,6 +27,28 @@
/**
+ * The event listener thread's main function
+ *
+ * @param data Input data
+ * @return Output data
+ */
+void* event_loop(void* data);
+
+/**
+ * Handle an event from libinput
+ *
+ * @return Zero on success, -1 on error
+ */
+int handle_event(void);
+
+/**
+ * Handle the received message
+ *
+ * @return Zero on success, -1 on error
+ */
+int handle_message(void);
+
+/**
* Used by libinput to open a device
*
* @param path The filename of the device
@@ -76,6 +98,11 @@ void remove_device(struct libinput_device* dev);
*/
void pack_devices(void);
+/**
+ * The the state of the server
+ */
+void dump_info(void);
+
#endif