2017-11-23 13:37:07 +11:00
|
|
|
#ifndef _SWAY_IPC_SERVER_H
|
|
|
|
#define _SWAY_IPC_SERVER_H
|
|
|
|
#include <sys/socket.h>
|
2018-02-28 11:53:15 +11:00
|
|
|
#include "sway/container.h"
|
2017-11-23 13:37:07 +11:00
|
|
|
#include "ipc.h"
|
|
|
|
|
|
|
|
struct sway_server;
|
|
|
|
|
|
|
|
void ipc_init(struct sway_server *server);
|
|
|
|
void ipc_terminate(void);
|
|
|
|
struct sockaddr_un *ipc_user_sockaddr(void);
|
|
|
|
|
2018-03-30 07:51:36 +11:00
|
|
|
void ipc_event_workspace(swayc_t *old, swayc_t *new, const char *change);
|
2018-02-28 11:53:15 +11:00
|
|
|
void ipc_event_window(swayc_t *window, const char *change);
|
2018-03-30 08:20:03 +11:00
|
|
|
void ipc_event_barconfig_update(struct bar_config *bar);
|
2018-02-28 11:53:15 +11:00
|
|
|
|
2017-11-23 13:37:07 +11:00
|
|
|
#endif
|