]> git.puffer.fish Git - mirror/frr.git/commitdiff
lib: mark the old zebra API for route advertisement as deprecated 1022/head
authorRenato Westphal <renato@opensourcerouting.org>
Wed, 23 Aug 2017 22:12:48 +0000 (19:12 -0300)
committerRenato Westphal <renato@opensourcerouting.org>
Wed, 23 Aug 2017 23:28:34 +0000 (20:28 -0300)
Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
lib/zclient.h

index f454a9d8ac77170320c8896cfa57744a79c3d7ff..bae52a441bf9c055c380663bbb901de124125cd9 100644 (file)
@@ -369,7 +369,7 @@ extern struct interface *zebra_interface_vrf_update_read(struct stream *s,
 extern void zebra_interface_if_set_value(struct stream *, struct interface *);
 extern void zebra_router_id_update_read(struct stream *s, struct prefix *rid);
 extern int zapi_ipv4_route(u_char, struct zclient *, struct prefix_ipv4 *,
-                          struct zapi_ipv4 *);
+                          struct zapi_ipv4 *) __attribute__((deprecated));
 
 extern struct interface *zebra_interface_link_params_read(struct stream *);
 extern size_t zebra_interface_link_params_write(struct stream *,
@@ -420,10 +420,11 @@ struct zapi_ipv6 {
 
 extern int zapi_ipv6_route(u_char cmd, struct zclient *zclient,
                           struct prefix_ipv6 *p, struct prefix_ipv6 *src_p,
-                          struct zapi_ipv6 *api);
+                          struct zapi_ipv6 *api) __attribute__((deprecated));
 extern int zapi_ipv4_route_ipv6_nexthop(u_char, struct zclient *,
                                        struct prefix_ipv4 *,
-                                       struct zapi_ipv6 *);
+                                       struct zapi_ipv6 *)
+       __attribute__((deprecated));
 extern int zclient_route_send(u_char, struct zclient *, struct zapi_route *);
 extern int zapi_route_encode(u_char, struct stream *, struct zapi_route *);
 extern int zapi_route_decode(struct stream *, struct zapi_route *);