summaryrefslogtreecommitdiffstats
path: root/include/ipc-server.h
blob: 049750930056e43d937b56f9afc9c1bd2261bf5e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#ifndef _SWAY_IPC_SERVER_H
#define _SWAY_IPC_SERVER_H

#include "container.h"
#include "config.h"
#include "ipc.h"

void ipc_init(void);
void ipc_terminate(void);
struct sockaddr_un *ipc_user_sockaddr(void);

void ipc_event_workspace(swayc_t *old, swayc_t *new, const char *change);
void ipc_event_barconfig_update(struct bar_config *bar);
/**
 * Send IPC mode event to all listening clients
 */
void ipc_event_mode(const char *mode);
const char *swayc_type_string(enum swayc_types type);

#endif