#include <common/macros.h>
#include <sys/types.h>
+#ifdef __cplusplus
+extern "C" {
+#endif
+
enum lttng_pipe_state {
LTTNG_PIPE_STATE_OPENED = 1,
LTTNG_PIPE_STATE_CLOSED = 2,
/* Returns and releases the write end of the pipe. */
int lttng_pipe_release_writefd(struct lttng_pipe *pipe);
+#ifdef __cplusplus
+}
+#endif
+
#endif /* LTTNG_PIPE_H */