]> git.proxmox.com Git - mirror_frr.git/blobdiff - lib/buffer.h
Merge pull request #5778 from ton31337/fix/add_doc_for_ebgp_connected_route_check
[mirror_frr.git] / lib / buffer.h
index 0c945a2acfea3fbea58ff97fabea08174d29fd72..8b5a89825fe74ca79bf7312530e125be9de5f8b9 100644 (file)
 #ifndef _ZEBRA_BUFFER_H
 #define _ZEBRA_BUFFER_H
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 /* Create a new buffer.  Memory will be allocated in chunks of the given
    size.  If the argument is 0, the library will supply a reasonable
    default size suitable for buffering socket I/O. */
@@ -99,4 +103,8 @@ extern buffer_status_t buffer_flush_all(struct buffer *, int fd);
 extern buffer_status_t buffer_flush_window(struct buffer *, int fd, int width,
                                           int height, int erase, int no_more);
 
+#ifdef __cplusplus
+}
+#endif
+
 #endif /* _ZEBRA_BUFFER_H */