Annotation of embedaddon/quagga/zebra/redistribute_null.c, revision 1.1.1.2

1.1       misho       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; }
1.1.1.2 ! misho       9: #ifdef HAVE_SYS_WEAK_ALIAS_PRAGMA
1.1       misho      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
1.1.1.2 ! misho      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
1.1       misho      21: 
                     22: void redistribute_add (struct prefix *a, struct rib *b)
                     23: { return; }
1.1.1.2 ! misho      24: #ifdef HAVE_SYS_WEAK_ALIAS_PRAGMA
1.1       misho      25: #pragma weak redistribute_delete = redistribute_add
1.1.1.2 ! misho      26: #else
        !            27: void redistribute_delete (struct prefix *a, struct rib *b)
        !            28: { return; }
        !            29: #endif
1.1       misho      30: 
                     31: void zebra_interface_up_update (struct interface *a)
                     32: { return; }
1.1.1.2 ! misho      33: #ifdef HAVE_SYS_WEAK_ALIAS_PRAGMA
1.1       misho      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
1.1.1.2 ! misho      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
1.1       misho      45: 
                     46: void zebra_interface_address_add_update (struct interface *a,
                     47:                                                struct connected *b)
                     48: { return; }
1.1.1.2 ! misho      49: #ifdef HAVE_SYS_WEAK_ALIAS_PRAGMA
1.1       misho      50: #pragma weak zebra_interface_address_delete_update = zebra_interface_address_add_update
1.1.1.2 ! misho      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>