summaryrefslogtreecommitdiff
path: root/src/cli_objects.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/cli_objects.h')
-rw-r--r--src/cli_objects.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/cli_objects.h b/src/cli_objects.h
index 889c772..e9ae12e 100644
--- a/src/cli_objects.h
+++ b/src/cli_objects.h
@@ -3,6 +3,10 @@
#include "cli_val.h"
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/* names of VYATTA env vars */
#define ENV_EDIT_LEVEL "VYATTA_EDIT_LEVEL"
#define ENV_TEMPLATE_LEVEL "VYATTA_TEMPLATE_LEVEL"
@@ -43,4 +47,8 @@ const char* get_tmpp(void);
void init_paths(boolean for_commit);
+#ifdef __cplusplus
+}
+#endif
+
#endif /* CLI_OBJ_H */