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