bin: compile lttng as C++
[lttng-tools.git] / src / bin / lttng / loglevel.h
index 43ae8e44858cdadd13308a630d7fe2846b5b928b..06dcbaa8647e03de2d46deda97c34e57ebbcdf87 100644 (file)
 #include <lttng/lttng.h>
 #include <common/macros.h>
 
+#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 */
This page took 0.023384 seconds and 4 git commands to generate.