From 27f03c705d8851a8ef6ca9e8f7828c1a2bfd9a88 Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Fri, 27 Nov 2015 09:50:04 -0500 Subject: Move IPC client into common, refactor IPC --- include/ipc-client.h | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 include/ipc-client.h (limited to 'include/ipc-client.h') 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 -- cgit v1.2.3