aboutsummaryrefslogtreecommitdiff
path: root/include/ipc-json.h
diff options
context:
space:
mode:
authorZandr Martin <zandrmartin@gmail.com>2016-07-04 13:34:44 -0500
committerZandr Martin <zandrmartin@gmail.com>2016-07-04 13:34:44 -0500
commit15a324b0d3c0d15405286794d2c8b88b764835cf (patch)
treeb2c2cf4c7e7d509b515fd6b93aa34f959fb666e1 /include/ipc-json.h
parent7144fb9fc3b3d3b45d23deaab6a10caf3216cca4 (diff)
implement `get_tree` command
Diffstat (limited to 'include/ipc-json.h')
-rw-r--r--include/ipc-json.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/include/ipc-json.h b/include/ipc-json.h
new file mode 100644
index 00000000..f90d801e
--- /dev/null
+++ b/include/ipc-json.h
@@ -0,0 +1,13 @@
+#ifndef _SWAY_IPC_JSON_H
+#define _SWAY_IPC_JSON_H
+
+#include <json-c/json.h>
+#include "config.h"
+#include "container.h"
+
+json_object *ipc_json_get_version();
+json_object *ipc_json_describe_bar_config(struct bar_config *bar);
+json_object *ipc_json_describe_container(swayc_t *c);
+json_object *ipc_json_describe_container_recursive(swayc_t *c);
+
+#endif