7 * Initiate a connection to i3.
8 * socket-path must be a valid path to the ipc_socket of i3
11 int init_connection(const char *socket_path);
14 * Sends a Message to i3.
15 * type must be a valid I3_IPC_MESSAGE_TYPE (see i3/ipc.h for further information)
18 int i3_send_msg(uint32_t type, const char* payload);
21 * Subscribe to all the i3-events, we need
24 void subscribe_events();