]> git.proxmox.com Git - mirror_frr.git/blobdiff - lib/qobj.h
lib: add extern "C" {} blocks to all libfrr headers
[mirror_frr.git] / lib / qobj.h
index a109bf4a734cce66aacf1a4229f0bb912513fc45..d63988cbab0b5f4b46170e8baa4128b97abafc52 100644 (file)
 #include <stdlib.h>
 #include <stddef.h>
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 /* reserve a specific amount of bytes for a struct, which can grow up to
  * that size (or be dummy'd out if not needed)
  *
@@ -133,4 +137,8 @@ void *qobj_get_typed(uint64_t id, struct qobj_nodetype *type);
 void qobj_init(void);
 void qobj_finish(void);
 
+#ifdef __cplusplus
+}
+#endif
+
 #endif /* _QOBJ_H */