summaryrefslogtreecommitdiff
path: root/include/ipc.h
diff options
context:
space:
mode:
authorDrew DeVault <[email protected]>2015-08-20 09:34:06 -0400
committerDrew DeVault <[email protected]>2015-08-20 09:34:06 -0400
commit84f01a67bdaef4dbff787caa4b076ed60e257c51 (patch)
tree0d264e5a6232071a8277c59216f85aac64583459 /include/ipc.h
parent579fe70ed92ce65d5a761ebdbb6c458b5f919687 (diff)
parentf8787ce69e35be4569aa76a2e35f540b20ed40a4 (diff)
Merge pull request #75 from minus7/ipc
i3 IPC
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