2015-11-27 14:50:04 +00:00
|
|
|
#ifndef _SWAY_IPC_SERVER_H
|
|
|
|
#define _SWAY_IPC_SERVER_H
|
|
|
|
|
|
|
|
#include "container.h"
|
2015-12-21 14:28:34 +00:00
|
|
|
#include "config.h"
|
2015-11-27 14:50:04 +00:00
|
|
|
#include "ipc.h"
|
|
|
|
|
|
|
|
void ipc_init(void);
|
|
|
|
void ipc_terminate(void);
|
|
|
|
struct sockaddr_un *ipc_user_sockaddr(void);
|
|
|
|
|
2015-12-21 21:01:36 +00:00
|
|
|
void ipc_event_workspace(swayc_t *old, swayc_t *new, const char *change);
|
2015-12-21 14:28:34 +00:00
|
|
|
void ipc_event_barconfig_update(struct bar_config *bar);
|
2016-01-03 21:00:59 +00:00
|
|
|
/**
|
|
|
|
* Send IPC mode event to all listening clients
|
|
|
|
*/
|
|
|
|
void ipc_event_mode(const char *mode);
|
2015-11-28 13:49:02 +00:00
|
|
|
const char *swayc_type_string(enum swayc_types type);
|
2015-11-27 14:50:04 +00:00
|
|
|
|
|
|
|
#endif
|