Bugfix: Recover from closed socket

This commit is contained in:
Axel Wagner
2010-12-26 19:29:57 +01:00
parent 29aaced900
commit b3970b36a5
4 changed files with 74 additions and 27 deletions

View File

@ -18,6 +18,12 @@
*/
int init_connection(const char *socket_path);
/*
* Destroy the connection to i3.
*
*/
void destroy_connection();
/*
* Sends a Message to i3.
* type must be a valid I3_IPC_MESSAGE_TYPE (see i3/ipc.h for further information)