X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=src%2Fcommon%2Fpipe.h;h=b94d871e48426d57d9c88bc419bb659f46babebc;hb=3afa94aeca5a0daae40fd7b6cc96b7e4c150c7d8;hp=d9f43d66e03265d71342aeace9e4d91b5dd8bebc;hpb=ca806b0b247f89c62ac628a7779ae84049a8c2d7;p=lttng-tools.git diff --git a/src/common/pipe.h b/src/common/pipe.h index d9f43d66e..b94d871e4 100644 --- a/src/common/pipe.h +++ b/src/common/pipe.h @@ -12,6 +12,10 @@ #include #include +#ifdef __cplusplus +extern "C" { +#endif + enum lttng_pipe_state { LTTNG_PIPE_STATE_OPENED = 1, LTTNG_PIPE_STATE_CLOSED = 2, @@ -81,4 +85,8 @@ int lttng_pipe_release_readfd(struct lttng_pipe *pipe); /* 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 */