]> git.proxmox.com Git - mirror_frr.git/blobdiff - lib/yang_wrappers.h
lib, zebra: add missing extern "C" {} blocks to new header files
[mirror_frr.git] / lib / yang_wrappers.h
index d853b61ae1c12a8a26974c21364b1e09b311219f..f61f252cdfb8552d86d978c9ff10c6d0c041b9a2 100644 (file)
 
 #include "prefix.h"
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 /* bool */
 extern bool yang_str2bool(const char *value);
 extern struct yang_data *yang_data_new_bool(const char *xpath, bool value);
@@ -182,4 +186,8 @@ extern void yang_str2mac(const char *value, struct ethaddr *mac);
 
 extern const char *yang_nexthop_type2str(uint32_t ntype);
 
+#ifdef __cplusplus
+}
+#endif
+
 #endif /* _FRR_NORTHBOUND_WRAPPERS_H_ */