bin: compile lttng-sessiond as C++
[lttng-tools.git] / src / common / context.h
index 036f2004dec13742dfbc194576bfbb5e9a69f402..b6755addacb4453325aa2b122587677fe9d40638 100644 (file)
 
 #include <common/macros.h>
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 /*
  * Parse string as an application context of the form
  * "$app.provider_name:context_name" and return the provider name and context
  * Returns 0 if the string is a valid application context, else a negative
  * value on error.
  */
-LTTNG_HIDDEN
 int parse_application_context(const char *str, char **provider_name,
                char **ctx_name);
 
+#ifdef __cplusplus
+}
+#endif
+
 #endif /* LTTNG_COMMON_CONTEXT_H */
This page took 0.023865 seconds and 4 git commands to generate.