summaryrefslogtreecommitdiff
path: root/src/ipc.h
diff options
context:
space:
mode:
authorPhil Jones <philj56@gmail.com>2021-10-31 22:16:40 +0000
committerPhil Jones <philj56@gmail.com>2021-10-31 23:12:07 +0000
commit6f199dc746bd377223e9bec60467c9060d1048ff (patch)
treeacce570009d48e3efa6a1232c37070c1e0f456c8 /src/ipc.h
parent7297ac5d9cac676ed6cd4552a6b47204f9db2512 (diff)
Add actual greetd functionality.
Useable, but very barebones — not even any error message reporting.
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 */