2 * i3bar - an xcb-based status- and ws-bar for i3
4 * © 2010 Axel Wagner and contributors
6 * See file LICNSE for license information
15 * Initiate a connection to i3.
16 * socket-path must be a valid path to the ipc_socket of i3
19 int init_connection(const char *socket_path);
22 * Destroy the connection to i3.
25 void destroy_connection();
28 * Sends a Message to i3.
29 * type must be a valid I3_IPC_MESSAGE_TYPE (see i3/ipc.h for further information)
32 int i3_send_msg(uint32_t type, const char* payload);
35 * Subscribe to all the i3-events, we need
38 void subscribe_events();