Close stream and channel file descriptors as soon as passed to sessiond
[lttng-ust.git] / libringbuffer / frontend.h
index eb95e6225986a759df3e809be09ad6e955222d5a..ce79cdeed2d3f1ed24ff90576fd6281b99b1a260 100644 (file)
@@ -52,8 +52,8 @@ struct lttng_ust_shm_handle *channel_create(const struct lttng_ust_lib_ring_buff
                                size_t subbuf_size, size_t num_subbuf,
                                unsigned int switch_timer_interval,
                                unsigned int read_timer_interval,
-                               int *shm_fd, int *wait_fd,
-                               uint64_t *memory_map_size);
+                               int **shm_fd, int **wait_fd,
+                               uint64_t **memory_map_size);
 
 /* channel_handle_create - for consumer. */
 extern
@@ -89,8 +89,8 @@ extern struct lttng_ust_lib_ring_buffer *channel_get_ring_buffer(
                                const struct lttng_ust_lib_ring_buffer_config *config,
                                struct channel *chan, int cpu,
                                struct lttng_ust_shm_handle *handle,
-                               int *shm_fd, int *wait_fd,
-                               uint64_t *memory_map_size);
+                               int **shm_fd, int **wait_fd,
+                               uint64_t **memory_map_size);
 extern int lib_ring_buffer_open_read(struct lttng_ust_lib_ring_buffer *buf,
                                     struct lttng_ust_shm_handle *handle,
                                     int shadow);
This page took 0.023889 seconds and 4 git commands to generate.