Add named pipe support to the pipe wrapper
[lttng-tools.git] / src / common / pipe.h
index 0bc2db3250ec8eb62bec5758245a69a2dfb0c001..1a1087c10e12ed1d4b8a6637a8c3f635e1530044 100644 (file)
@@ -76,6 +76,9 @@ static inline int lttng_pipe_get_writefd(struct lttng_pipe *pipe)
 LTTNG_HIDDEN
 struct lttng_pipe *lttng_pipe_open(int flags);
 LTTNG_HIDDEN
 LTTNG_HIDDEN
 struct lttng_pipe *lttng_pipe_open(int flags);
 LTTNG_HIDDEN
+struct lttng_pipe *lttng_pipe_named_open(const char *path, mode_t mode,
+               int flags);
+LTTNG_HIDDEN
 int lttng_pipe_write_close(struct lttng_pipe *pipe);
 LTTNG_HIDDEN
 int lttng_pipe_read_close(struct lttng_pipe *pipe);
 int lttng_pipe_write_close(struct lttng_pipe *pipe);
 LTTNG_HIDDEN
 int lttng_pipe_read_close(struct lttng_pipe *pipe);
This page took 0.022949 seconds and 4 git commands to generate.