]> git.proxmox.com Git - mirror_frr.git/blobdiff - zebra/redistribute.h
Merge pull request #4295 from donaldsharp/topotest_if
[mirror_frr.git] / zebra / redistribute.h
index a0fbd13cf96d43a96d31e4fd193784e37b167455..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 *);
@@ -71,6 +76,10 @@ 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(void);
+extern void zebra_import_table_rm_update(const char *rmap);
+
+#ifdef __cplusplus
+}
+#endif
 
 #endif /* _ZEBRA_REDISTRIBUTE_H */