Fixed next hop processing
[mpls-ldp-portable.git] / ldp / ldp_l2cc.h
blobe1f1b27a6ee011a237c84538cb7d18b47f250bb1
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_L2CC_H_
11 #define _LDP_L2CC_H_
13 #include "ldp_struct.h"
15 extern ldp_l2cc *ldp_l2cc_create();
16 extern void ldp_l2cc_delete(ldp_l2cc * l);
17 extern uint32_t _ldp_l2cc_get_next_index();
18 extern mpls_bool ldp_l2cc_is_active(ldp_l2cc * l);
19 extern mpls_bool ldp_l2cc_is_ready(ldp_l2cc * l);
20 extern mpls_return_enum ldp_l2cc_startup(ldp_global * g, ldp_l2cc * l);
21 extern mpls_return_enum ldp_l2cc_shutdown(ldp_global * g, ldp_l2cc * l);
23 #endif