You cannot possible compile the LSR (or the LDP) lib without a porting
[mpls-ldp-portable.git] / ldp / ldp_if.h
blob4452a9d67edfb041bc6655ee4f4cd7d6d0990576
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 mpls_return_enum ldp_if_startup(ldp_global * g, ldp_if * i);
18 extern mpls_return_enum ldp_if_shutdown(ldp_global * g, ldp_if * i);
19 extern mpls_bool ldp_if_is_active(ldp_if * i);
20 extern mpls_return_enum _ldp_if_add_entity(ldp_if * i, ldp_entity * e);
21 extern ldp_entity *ldp_if_get_entity(ldp_if * i);
22 extern mpls_return_enum _ldp_if_del_entity(ldp_if * i);
23 extern uint32_t _ldp_if_get_next_index();
25 #endif