When working with interfaces we should use interface defines ...
[mpls-ldp-portable.git] / lsr / lsr_if.h
blobff3224105e8899fd3f643c1907d50fd05014bb62
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_IF_H_
11 #define _LSR_IF_H_
13 #include "lsr_struct.h"
15 extern lsr_if *lsr_if_create();
16 extern void lsr_if_delete(lsr_if * i);
17 extern uint32_t _lsr_if_get_next_index();
18 extern mpls_return_enum lsr_if_add_outsegment(lsr_if *iff, lsr_outsegment *out);
19 extern mpls_return_enum lsr_if_del_outsegment(lsr_if *iff, lsr_outsegment *out);
21 #endif