3 * Copyright (C) James R. Leu 2000
6 * This software is covered under the LGPL, for more
7 * info check out http://www.gnu.org/copyleft/lgpl.html
10 #ifndef _LDP_INLABEL_H_
11 #define _LDP_INLABEL_H_
13 #include "ldp_struct.h"
15 extern ldp_inlabel
*ldp_inlabel_create();
16 extern void ldp_inlabel_delete(ldp_inlabel
* i
);
18 extern ldp_inlabel
*ldp_inlabel_create_complete(ldp_global
* g
, ldp_session
* s
,
20 extern void ldp_inlabel_delete_complete(ldp_global
* g
, ldp_inlabel
* in
,
21 ldp_session
* s
, ldp_attr
* a
);
23 extern mpls_return_enum
ldp_inlabel_add_outlabel(ldp_global
*g
,
24 ldp_inlabel
*i
, ldp_outlabel
*o
);
25 extern mpls_return_enum
ldp_inlabel_del_outlabel(ldp_global
*g
,
28 extern mpls_return_enum
_ldp_inlabel_add_session(ldp_inlabel
* i
,
30 extern void _ldp_inlabel_del_session(ldp_inlabel
* i
, ldp_session
* s
);
32 extern uint32_t _ldp_inlabel_get_next_index();
34 extern mpls_return_enum
_ldp_inlabel_add_attr(ldp_inlabel
* i
, ldp_attr
* a
);
35 extern void _ldp_inlabel_del_attr(ldp_inlabel
* i
, ldp_attr
* a
);