X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=include%2Flttng%2Flttng.h;h=f92ccb6fdb3615266bb86c06dc465accb01ded9b;hp=dd5d936c5faaed64910f4220e04025b691606028;hb=590b9e3c8fdaf2912d5919244a475f0e2f32f1b5;hpb=03b1319df1a6c74a152d4723bf1bf9e1cdf770e1 diff --git a/include/lttng/lttng.h b/include/lttng/lttng.h index dd5d936c5..f92ccb6fd 100644 --- a/include/lttng/lttng.h +++ b/include/lttng/lttng.h @@ -29,6 +29,10 @@ /* Error codes that can be returned by API calls */ #include +#ifdef __cplusplus +extern "C" { +#endif + /* * Event symbol length. Copied from LTTng kernel ABI. */ @@ -257,6 +261,7 @@ struct lttng_event_field { enum lttng_event_field_type type; char padding[LTTNG_EVENT_FIELD_PADDING]; struct lttng_event event; + int nowrite; }; /* @@ -576,4 +581,8 @@ extern int lttng_disable_consumer(struct lttng_handle *handle); */ extern int lttng_health_check(enum lttng_health_component c); +#ifdef __cplusplus +} +#endif + #endif /* LTTNG_H */