mirror of
https://github.com/swaywm/sway.git
synced 2025-04-04 03:17:46 +03:00
Move IPC client into common, refactor IPC
This commit is contained in:
parent
5ae359279b
commit
27f03c705d
8 changed files with 105 additions and 79 deletions
9
include/ipc-client.h
Normal file
9
include/ipc-client.h
Normal file
|
@ -0,0 +1,9 @@
|
|||
#ifndef _SWAY_IPC_CLIENT_H
|
||||
#define _SWAY_IPC_CLIENT_H
|
||||
|
||||
#include "ipc.h"
|
||||
|
||||
char *get_socketpath(void);
|
||||
char *ipc_single_command(const char *socket_path, uint32_t type, const char *payload, uint32_t len);
|
||||
|
||||
#endif
|
Loading…
Add table
Add a link
Reference in a new issue