Don't allow the user to delete a fec that still has nexthops
[mpls-ldp-portable.git] / lsr / lsr_ftn.h
blob34efd3dc193ef2e007a73816e0bd1b9bf3416175
2 /*
3 * Copyright (C) James R. Leu 2002
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 _LSR_FTN_H_
11 #define _LSR_FTN_H_
13 #include "lsr_struct.h"
15 extern lsr_ftn *lsr_ftn_create();
16 extern void lsr_ftn_delete(lsr_ftn * i);
17 extern uint32_t _lsr_ftn_get_next_index();
18 extern mpls_return_enum _lsr_ftn_add_outsegment(lsr_ftn * x, lsr_outsegment * o);
19 extern mpls_return_enum _lsr_ftn_del_outsegment(lsr_ftn * x);
21 #endif