Deliverables 3 and 4
[deliverable/lttng-tools.git] / src / common / pipe.h
index 0bc2db3250ec8eb62bec5758245a69a2dfb0c001..b9e0904a2a3e8d176f3ae29bef23198f7e42d7a8 100644 (file)
@@ -90,5 +90,11 @@ ssize_t lttng_pipe_read(struct lttng_pipe *pipe, void *buf, size_t count);
 LTTNG_HIDDEN
 ssize_t lttng_pipe_write(struct lttng_pipe *pipe, const void *buf,
                size_t count);
+/* Returns and releases the read end of the pipe. */
+LTTNG_HIDDEN
+int lttng_pipe_release_readfd(struct lttng_pipe *pipe);
+/* Returns and releases the write end of the pipe. */
+LTTNG_HIDDEN
+int lttng_pipe_release_writefd(struct lttng_pipe *pipe);
 
 #endif /* LTTNG_PIPE_H */
This page took 0.024966 seconds and 5 git commands to generate.