aboutsummaryrefslogtreecommitdiff
path: root/include/ipc-client.h
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2015-11-27 09:50:04 -0500
committerDrew DeVault <sir@cmpwn.com>2015-11-27 09:50:04 -0500
commit27f03c705d8851a8ef6ca9e8f7828c1a2bfd9a88 (patch)
tree740a9e384149879a2c106220212bef36c05f58f3 /include/ipc-client.h
parent5ae359279ba2b72acc93c907c31850e16d10b358 (diff)
Move IPC client into common, refactor IPC
Diffstat (limited to 'include/ipc-client.h')
-rw-r--r--include/ipc-client.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/ipc-client.h b/include/ipc-client.h
new file mode 100644
index 00000000..a56fee43
--- /dev/null
+++ b/include/ipc-client.h
@@ -0,0 +1,9 @@
+#ifndef _SWAY_IPC_CLIENT_H
+#define _SWAY_IPC_CLIENT_H
+
+#include "ipc.h"
+
+char *get_socketpath(void);
+char *ipc_single_command(const char *socket_path, uint32_t type, const char *payload, uint32_t len);
+
+#endif