X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fbin%2Flttng%2Floglevel.h;fp=src%2Fbin%2Flttng%2Floglevel.h;h=06dcbaa8647e03de2d46deda97c34e57ebbcdf87;hp=43ae8e44858cdadd13308a630d7fe2846b5b928b;hb=48a4000561343808724f7cb5fa8c131877489ccd;hpb=81663f073dbfb4b61c06a0ceb8ca33c4fc41b1c5 diff --git a/src/bin/lttng/loglevel.h b/src/bin/lttng/loglevel.h index 43ae8e448..06dcbaa86 100644 --- a/src/bin/lttng/loglevel.h +++ b/src/bin/lttng/loglevel.h @@ -11,6 +11,10 @@ #include #include +#ifdef __cplusplus +extern "C" { +#endif + int loglevel_name_to_value(const char *name, enum lttng_loglevel *loglevel); bool loglevel_parse_range_string(const char *str, @@ -46,4 +50,8 @@ const char *loglevel_jul_value_to_name(int loglevel); const char *loglevel_python_value_to_name(int loglevel); +#ifdef __cplusplus +} +#endif + #endif /* _LTTNG_LOGLEVEL_UTILS_H */