bin: compile lttng-sessiond as C++
[lttng-tools.git] / src / common / config / session-config.h
index a6955b0b95b4e9435114187c6ebeb1adfd8093fd..ff74eb0992bfd8c7e76729d15602c5e0dcd604b2 100644 (file)
 #include <common/macros.h>
 #include <stdint.h>
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 struct config_entry {
        /* section is NULL if the entry is not in a section */
        const char *section;
@@ -229,4 +233,8 @@ int config_load_session(const char *path, const char *session_name,
                int overwrite, unsigned int autoload,
                const struct config_load_session_override_attr *overrides);
 
+#ifdef __cplusplus
+}
+#endif
+
 #endif /* _CONFIG_H */
This page took 0.023585 seconds and 4 git commands to generate.