2017-11-23 13:37:07 +11:00
|
|
|
#ifndef _SWAY_IPC_SERVER_H
|
|
|
|
#define _SWAY_IPC_SERVER_H
|
|
|
|
#include <sys/socket.h>
|
2018-03-30 14:41:33 +11:00
|
|
|
#include "sway/tree/container.h"
|
2017-11-23 13:37:07 +11:00
|
|
|
#include "ipc.h"
|
|
|
|
|
|
|
|
struct sway_server;
|
|
|
|
|
|
|
|
void ipc_init(struct sway_server *server);
|
2018-03-30 14:41:33 +11:00
|
|
|
|
2017-11-23 13:37:07 +11:00
|
|
|
void ipc_terminate(void);
|
2018-03-30 14:41:33 +11:00
|
|
|
|
2017-11-23 13:37:07 +11:00
|
|
|
struct sockaddr_un *ipc_user_sockaddr(void);
|
|
|
|
|
2018-03-30 14:41:33 +11:00
|
|
|
void ipc_event_window(struct sway_container *window, const char *change);
|
2018-02-28 11:53:15 +11:00
|
|
|
|
2017-11-23 13:37:07 +11:00
|
|
|
#endif
|