Convertion to a ECMP capable infrastructure compiles (no testing
[mpls-ldp-portable.git] / ldp / ldp_if.h
blob65fa9b27ffa717fa6a2b536645fed51820d6f2f1
2 /*
3 * Copyright (C) James R. Leu 2000
4 * jleu@mindspring.com
6 * This software is covered under the LGPL, for more
7 * info check out http://www.gnu.org/copyleft/lgpl.html
8 */
10 #ifndef _LDP_IF_H_
11 #define _LDP_IF_H_
13 #include "ldp_struct.h"
15 extern ldp_if *ldp_if_create();
16 extern void ldp_if_delete(ldp_if * i);
17 extern ldp_if *ldp_if_insert(ldp_global *g, mpls_if_handle handle);
18 extern void ldp_if_remove(ldp_global *g, ldp_if *iff);
19 extern void ldp_if_add_nexthop(ldp_if * i, ldp_nexthop * n);
20 extern void ldp_if_del_nexthop(ldp_if * i, ldp_nexthop * n);
21 extern mpls_return_enum ldp_if_startup(ldp_global * g, ldp_if * i);
22 extern mpls_return_enum ldp_if_shutdown(ldp_global * g, ldp_if * i);
23 extern mpls_bool ldp_if_is_active(ldp_if * i);
24 extern mpls_return_enum _ldp_if_add_entity(ldp_if * i, ldp_entity * e);
25 extern ldp_entity *ldp_if_get_entity(ldp_if * i);
26 extern mpls_return_enum _ldp_if_del_entity(ldp_if * i);
27 extern uint32_t _ldp_if_get_next_index();
29 #endif