projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix typos in error descriptions
[lttng-tools.git]
/
src
/
common
/
pipe.h
diff --git
a/src/common/pipe.h
b/src/common/pipe.h
index 11f41cf1543b7dfe03aed2cb866c49ee2d76dbd0..0bc2db3250ec8eb62bec5758245a69a2dfb0c001 100644
(file)
--- a/
src/common/pipe.h
+++ b/
src/common/pipe.h
@@
-19,6
+19,7
@@
#define LTTNG_PIPE_H
#include <pthread.h>
#define LTTNG_PIPE_H
#include <pthread.h>
+#include <common/macros.h>
enum lttng_pipe_state {
LTTNG_PIPE_STATE_OPENED = 1,
enum lttng_pipe_state {
LTTNG_PIPE_STATE_OPENED = 1,
@@
-72,14
+73,21
@@
static inline int lttng_pipe_get_writefd(struct lttng_pipe *pipe)
return pipe->fd[1];
}
return pipe->fd[1];
}
+LTTNG_HIDDEN
struct lttng_pipe *lttng_pipe_open(int flags);
struct lttng_pipe *lttng_pipe_open(int flags);
+LTTNG_HIDDEN
int lttng_pipe_write_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);
/* Close both side of pipe. */
int lttng_pipe_read_close(struct lttng_pipe *pipe);
/* Close both side of pipe. */
+LTTNG_HIDDEN
int lttng_pipe_close(struct lttng_pipe *pipe);
int lttng_pipe_close(struct lttng_pipe *pipe);
+LTTNG_HIDDEN
void lttng_pipe_destroy(struct lttng_pipe *pipe);
void lttng_pipe_destroy(struct lttng_pipe *pipe);
+LTTNG_HIDDEN
ssize_t lttng_pipe_read(struct lttng_pipe *pipe, void *buf, size_t count);
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);
ssize_t lttng_pipe_write(struct lttng_pipe *pipe, const void *buf,
size_t count);
This page took
0.024657 seconds
and
4
git commands to generate.