aboutsummaryrefslogtreecommitdiff
path: root/include/ipc.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/ipc.h')
-rw-r--r--include/ipc.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/include/ipc.h b/include/ipc.h
new file mode 100644
index 00000000..0b6441f6
--- /dev/null
+++ b/include/ipc.h
@@ -0,0 +1,18 @@
+#ifndef _SWAY_IPC_H
+#define _SWAY_IPC_H
+
+enum ipc_command_type {
+ IPC_COMMAND = 0,
+ IPC_GET_WORKSPACES = 1,
+ IPC_SUBSCRIBE = 2,
+ IPC_GET_OUTPUTS = 3,
+ IPC_GET_TREE = 4,
+ IPC_GET_MARKS = 5,
+ IPC_GET_BAR_CONFIG = 6,
+ IPC_GET_VERSION = 7,
+};
+
+void ipc_init(void);
+void ipc_terminate(void);
+
+#endif