properly handle IPC clients

This commit is contained in:
minus 2015-08-19 01:35:01 +02:00
parent 5d99215469
commit 773e85c681
3 changed files with 163 additions and 61 deletions

View file

@ -13,6 +13,7 @@ typedef enum {
void init_log(int verbosity);
void sway_log_colors(int mode);
void sway_log(int verbosity, const char* format, ...) __attribute__((format(printf,2,3)));
void sway_log_errno(int verbosity, char* format, ...) __attribute__((format(printf,2,3)));
void sway_abort(const char* format, ...) __attribute__((format(printf,1,2)));
bool sway_assert(bool condition, const char* format, ...) __attribute__((format(printf,2,3)));