projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
bin: compile lttng-sessiond as C++
[lttng-tools.git]
/
src
/
common
/
config
/
session-config.h
diff --git
a/src/common/config/session-config.h
b/src/common/config/session-config.h
index a6955b0b95b4e9435114187c6ebeb1adfd8093fd..ff74eb0992bfd8c7e76729d15602c5e0dcd604b2 100644
(file)
--- a/
src/common/config/session-config.h
+++ b/
src/common/config/session-config.h
@@
-13,6
+13,10
@@
#include <common/macros.h>
#include <stdint.h>
#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;
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);
int overwrite, unsigned int autoload,
const struct config_load_session_override_attr *overrides);
+#ifdef __cplusplus
+}
+#endif
+
#endif /* _CONFIG_H */
#endif /* _CONFIG_H */
This page took
0.024466 seconds
and
4
git commands to generate.