summaryrefslogtreecommitdiff
path: root/src/ipc.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ipc.h')
-rw-r--r--src/ipc.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/ipc.h b/src/ipc.h
new file mode 100644
index 0000000..30a953a
--- /dev/null
+++ b/src/ipc.h
@@ -0,0 +1,13 @@
+#ifndef IPC_H
+#define IPC_H
+
+#include <json-c/json_object.h>
+
+/*
+ * Submit an IPC request to greetd.
+ *
+ * Returns the response on success, or NULL on failure.
+ */
+struct json_object *ipc_submit(struct json_object *request);
+
+#endif /* IPC_H */