mirror of
https://github.com/swaywm/sway.git
synced 2026-04-22 06:46:27 -04:00
Merge 3e69928f13 into c32a507303
This commit is contained in:
commit
df9b88befb
7 changed files with 131 additions and 86 deletions
|
|
@ -15,7 +15,7 @@
|
|||
* encoded payload string.
|
||||
*/
|
||||
struct ipc_response {
|
||||
uint32_t size;
|
||||
size_t size;
|
||||
uint32_t type;
|
||||
char *payload;
|
||||
};
|
||||
|
|
@ -32,7 +32,7 @@ int ipc_open_socket(const char *socket_path);
|
|||
* Issues a single IPC command and returns the buffer. len will be updated with
|
||||
* the length of the buffer returned from sway.
|
||||
*/
|
||||
char *ipc_single_command(int socketfd, uint32_t type, const char *payload, uint32_t *len);
|
||||
char *ipc_single_command(int socketfd, uint32_t type, const char *payload, size_t *len);
|
||||
/**
|
||||
* Receives a single IPC response and returns an ipc_response.
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue