Don't allow the user to delete a fec that still has nexthops
[mpls-ldp-portable.git] / ldp / ldp_hop.h
blob4d99ab949dfcf9d82fc6f834b1a61b8e384a25f8
2 /*
3 * Copyright (C) James R. Leu 2001
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_HOP_H_
11 #define _LDP_HOP_H_
13 #include "ldp_struct.h"
15 extern ldp_hop *ldp_hop_create();
16 extern void ldp_hop_delete(ldp_hop * h);
18 extern mpls_return_enum _ldp_hop_add_hop_list(ldp_hop * h, ldp_hop_list * hl);
19 extern mpls_return_enum _ldp_hop_del_hop_list(ldp_hop * h);
21 extern mpls_bool ldp_hop_in_use(ldp_hop * h);
23 #endif