aboutsummaryrefslogtreecommitdiff
path: root/include/sway/ipc-json.h
blob: 3d2fdc4fbe0e00133e8bbfb30776a66c662a1cf5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#ifndef _SWAY_IPC_JSON_H
#define _SWAY_IPC_JSON_H
#include <json-c/json.h>
#include "sway/tree/container.h"
#include "sway/input/input-manager.h"

json_object *ipc_json_get_version();

json_object *ipc_json_describe_container(struct sway_container *c);
json_object *ipc_json_describe_container_recursive(struct sway_container *c);
json_object *ipc_json_describe_input(struct sway_input_device *device);

#endif