mirror of
https://github.com/rad4day/Waybar.git
synced 2023-12-21 10:22:59 +01:00
refactor(ipc): clean
This commit is contained in:
@ -25,7 +25,8 @@ int ipcOpenSocket(const std::string &socketPath);
|
||||
* Issues a single IPC command and returns the buffer. len will be updated with
|
||||
* the length of the buffer returned from sway.
|
||||
*/
|
||||
std::string ipcSingleCommand(int socketfd, uint32_t type, const char *payload, uint32_t *len);
|
||||
struct ipc_response ipcSingleCommand(int socketfd, uint32_t type,
|
||||
const std::string& payload);
|
||||
/**
|
||||
* Receives a single IPC response and returns an ipc_response.
|
||||
*/
|
||||
|
Reference in New Issue
Block a user