3 * Copyright (C) James R. Leu 2000
6 * This software is covered under the LGPL, for more
7 * info check out http://www.gnu.org/copyleft/lgpl.html
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();