X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fcommon%2Fbuffer-view.h;h=ecd764d7c019f1c5e5902b848676f78df93ef223;hp=58f1ede2e94c34f9d745a65d2e94014645a19ea8;hb=7966af5763c4aaca39df9bbfa9277ff15715c720;hpb=3a5f70173aa04d11ccb22694d5d31a702cad33ab diff --git a/src/common/buffer-view.h b/src/common/buffer-view.h index 58f1ede2e..ecd764d7c 100644 --- a/src/common/buffer-view.h +++ b/src/common/buffer-view.h @@ -13,6 +13,10 @@ #include #include +#ifdef __cplusplus +extern "C" { +#endif + struct lttng_dynamic_buffer; struct lttng_buffer_view { @@ -92,4 +96,8 @@ bool lttng_buffer_view_contains_string(const struct lttng_buffer_view *buf, const char *str, size_t len_with_null_terminator); +#ifdef __cplusplus +} +#endif + #endif /* LTTNG_BUFFER_VIEW_H */