sway/include/ipc.h

24 lines
419 B
C
Raw Normal View History

#ifndef _SWAY_IPC_H
#define _SWAY_IPC_H
#include "container.h"
2015-08-16 20:02:16 +00:00
enum ipc_command_type {
2015-08-20 16:30:32 +00:00
IPC_COMMAND = 0,
2015-08-16 20:02:16 +00:00
IPC_GET_WORKSPACES = 1,
2015-08-20 16:30:32 +00:00
IPC_SUBSCRIBE = 2,
IPC_GET_OUTPUTS = 3,
IPC_GET_TREE = 4,
IPC_GET_MARKS = 5,
2015-08-16 20:02:16 +00:00
IPC_GET_BAR_CONFIG = 6,
2015-08-20 16:30:32 +00:00
IPC_GET_VERSION = 7,
2015-08-16 20:02:16 +00:00
};
void ipc_init(void);
2015-08-20 13:12:34 +00:00
void ipc_terminate(void);
struct sockaddr_un *ipc_user_sockaddr(void);
void ipc_event_workspace(swayc_t *old, swayc_t *new);
#endif