an address can only be advertised by one session. Thus
[mpls-ldp-portable.git] / lsr / lsr_xconnect.h
blob81fac6f07afab0b1d617e2d41adc5233684ca125
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_XCONNECT_H_
11 #define _LSR_XCONNECT_H_
13 #include "lsr_struct.h"
15 extern lsr_xconnect *lsr_xconnect_create();
16 extern void lsr_xconnect_delete(lsr_xconnect * i);
17 extern uint32_t _lsr_xconnect_get_next_index();
18 extern mpls_return_enum _lsr_xconnect_add_outsegment(lsr_xconnect * x, lsr_outsegment * o);
19 extern mpls_return_enum _lsr_xconnect_del_outsegment(lsr_xconnect * x);
20 extern mpls_return_enum _lsr_xconnect_add_insegment(lsr_xconnect * x, lsr_insegment * i);
21 extern mpls_return_enum _lsr_xconnect_del_insegment(lsr_xconnect * x);
23 #endif