]> git.proxmox.com Git - mirror_frr.git/blobdiff - lib/md5.h
Merge pull request #5793 from ton31337/fix/formatting_show_bgp_summary_failed
[mirror_frr.git] / lib / md5.h
index 1dcbf45752564941149837d26a3bab743ff3f53d..691a294333599bd45cc79e462e41a2e7d4010dbb 100644 (file)
--- a/lib/md5.h
+++ b/lib/md5.h
 #ifndef _LIBZEBRA_MD5_H_
 #define _LIBZEBRA_MD5_H_
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 #define MD5_BUFLEN     64
 
 typedef struct {
@@ -82,4 +86,8 @@ extern void md5_result(uint8_t *, md5_ctxt *);
 void hmac_md5(unsigned char *text, int text_len, unsigned char *key,
              int key_len, uint8_t *digest);
 
+#ifdef __cplusplus
+}
+#endif
+
 #endif /* ! _LIBZEBRA_MD5_H_*/