Fix clang warnings
[lttng-ust.git] / include / ust-comm.h
index 97141160fc32dd6babd9a8614cc6462db1b9a892..133426e5e5f5e9e4a75e2b895cce4800013dad31 100644 (file)
@@ -102,7 +102,7 @@ struct ustcomm_ust_msg {
 struct ustcomm_ust_reply {
        uint32_t handle;
        uint32_t cmd;
-       uint32_t ret_code;      /* enum ustcomm_return_code */
+       int32_t ret_code;       /* enum ustcomm_return_code */
        uint32_t ret_val;       /* return value */
        char padding[USTCOMM_REPLY_PADDING1];
        union {
@@ -185,7 +185,7 @@ extern int ustcomm_send_app_cmd(int sock,
 int ustcomm_recv_fd(int sock);
 
 ssize_t ustcomm_recv_channel_from_sessiond(int sock,
-               void **chan_data, uint64_t len);
+               void **chan_data, uint64_t len, int *wakeup_fd);
 int ustcomm_recv_stream_from_sessiond(int sock,
                uint64_t *memory_map_size,
                int *shm_fd, int *wakeup_fd);
@@ -230,4 +230,7 @@ int ustcomm_register_channel(int sock,
        uint32_t *chan_id,              /* channel id (output) */
        int *header_type);              /* header type (output) */
 
+int ustcomm_setsockopt_rcv_timeout(int sock, unsigned int msec);
+int ustcomm_setsockopt_snd_timeout(int sock, unsigned int msec);
+
 #endif /* _LTTNG_UST_COMM_H */
This page took 0.024836 seconds and 4 git commands to generate.