X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fcommon%2Fpipe.h;fp=src%2Fcommon%2Fpipe.h;h=d9f43d66e03265d71342aeace9e4d91b5dd8bebc;hp=d5f1d396f0a0b1af7c8f0f937f1fecbd9f3d899c;hb=ca806b0b247f89c62ac628a7779ae84049a8c2d7;hpb=a4705d55c62276cb913c64832f383e27aa72668b diff --git a/src/common/pipe.h b/src/common/pipe.h index d5f1d396f..d9f43d66e 100644 --- a/src/common/pipe.h +++ b/src/common/pipe.h @@ -64,31 +64,21 @@ static inline int lttng_pipe_get_writefd(const struct lttng_pipe *pipe) return pipe->fd[1]; } -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); /* Close both side of pipe. */ -LTTNG_HIDDEN int lttng_pipe_close(struct lttng_pipe *pipe); -LTTNG_HIDDEN void lttng_pipe_destroy(struct lttng_pipe *pipe); -LTTNG_HIDDEN 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 */