1: #include <zebra.h>
2: #include "zebra/rib.h"
3: #include "zebra/zserv.h"
4:
5: #include "zebra/redistribute.h"
6:
7: void zebra_redistribute_add (int a, struct zserv *b, int c)
8: { return; }
9: #ifdef HAVE_SYS_WEAK_ALIAS_PRAGMA
10: #pragma weak zebra_redistribute_delete = zebra_redistribute_add
11: #pragma weak zebra_redistribute_default_add = zebra_redistribute_add
12: #pragma weak zebra_redistribute_default_delete = zebra_redistribute_add
13: #else
14: void zebra_redistribute_delete (int a, struct zserv *b, int c)
15: { return; }
16: void zebra_redistribute_default_add (int a, struct zserv *b, int c)
17: { return; }
18: void zebra_redistribute_default_delete (int a, struct zserv *b, int c)
19: { return; }
20: #endif
21:
22: void redistribute_add (struct prefix *a, struct rib *b)
23: { return; }
24: #ifdef HAVE_SYS_WEAK_ALIAS_PRAGMA
25: #pragma weak redistribute_delete = redistribute_add
26: #else
27: void redistribute_delete (struct prefix *a, struct rib *b)
28: { return; }
29: #endif
30:
31: void zebra_interface_up_update (struct interface *a)
32: { return; }
33: #ifdef HAVE_SYS_WEAK_ALIAS_PRAGMA
34: #pragma weak zebra_interface_down_update = zebra_interface_up_update
35: #pragma weak zebra_interface_add_update = zebra_interface_up_update
36: #pragma weak zebra_interface_delete_update = zebra_interface_up_update
37: #else
38: void zebra_interface_down_update (struct interface *a)
39: { return; }
40: void zebra_interface_add_update (struct interface *a)
41: { return; }
42: void zebra_interface_delete_update (struct interface *a)
43: { return; }
44: #endif
45:
46: void zebra_interface_address_add_update (struct interface *a,
47: struct connected *b)
48: { return; }
49: #ifdef HAVE_SYS_WEAK_ALIAS_PRAGMA
50: #pragma weak zebra_interface_address_delete_update = zebra_interface_address_add_update
51: #else
52: void zebra_interface_address_delete_update (struct interface *a,
53: struct connected *b)
54: { return; }
55: #endif
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>