]> git.proxmox.com Git - mirror_frr.git/blobdiff - zebra/redistribute.h
add cplusplus guards to all zebra headers
[mirror_frr.git] / zebra / redistribute.h
index f67480da9ccbc313f04debc6c3e78f7130220664..74a593b2409a3aa4b4945b2170d87f09903147e1 100644 (file)
 #include "zebra/zserv.h"
 #include "zebra/rib.h"
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 /* ZAPI command handlers */
 extern void zebra_redistribute_add(ZAPI_HANDLER_ARGS);
 extern void zebra_redistribute_delete(ZAPI_HANDLER_ARGS);
@@ -38,10 +42,11 @@ extern void zebra_redistribute_default_delete(ZAPI_HANDLER_ARGS);
 
 extern void redistribute_update(const struct prefix *p,
                                const struct prefix *src_p,
-                               struct route_entry *, struct route_entry *);
+                               struct route_entry *re,
+                               struct route_entry *prev_re);
 extern void redistribute_delete(const struct prefix *p,
                                const struct prefix *src_p,
-                               struct route_entry *);
+                               struct route_entry *re);
 
 extern void zebra_interface_up_update(struct interface *);
 extern void zebra_interface_down_update(struct interface *);
@@ -72,4 +77,9 @@ extern int is_zebra_import_table_enabled(afi_t, uint32_t table_id);
 extern int zebra_import_table_config(struct vty *);
 
 extern void zebra_import_table_rm_update(const char *rmap);
+
+#ifdef __cplusplus
+}
+#endif
+
 #endif /* _ZEBRA_REDISTRIBUTE_H */