aboutsummaryrefslogtreecommitdiffstats
path: root/include/ipc-client.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/ipc-client.h')
-rw-r--r--include/ipc-client.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/ipc-client.h b/include/ipc-client.h
index c9f5b344..d3895023 100644
--- a/include/ipc-client.h
+++ b/include/ipc-client.h
@@ -1,7 +1,9 @@
1#ifndef _SWAY_IPC_CLIENT_H 1#ifndef _SWAY_IPC_CLIENT_H
2#define _SWAY_IPC_CLIENT_H 2#define _SWAY_IPC_CLIENT_H
3 3
4#include <stdbool.h>
4#include <stdint.h> 5#include <stdint.h>
6#include <sys/time.h>
5 7
6#include "ipc.h" 8#include "ipc.h"
7 9
@@ -36,5 +38,9 @@ struct ipc_response *ipc_recv_response(int socketfd);
36 * Free ipc_response struct 38 * Free ipc_response struct
37 */ 39 */
38void free_ipc_response(struct ipc_response *response); 40void free_ipc_response(struct ipc_response *response);
41/**
42 * Sets the receive timeout for the IPC socket
43 */
44bool ipc_set_recv_timeout(int socketfd, struct timeval tv);
39 45
40#endif 46#endif