3 * Copyright (C) James R. Leu 2001
6 * This software is covered under the LGPL, for more
7 * info check out http://www.gnu.org/copyleft/lgpl.html
10 #ifndef _LDP_RESOURCE_H_
11 #define _LDP_RESOURCE_H_
13 #include "ldp_struct.h"
15 extern ldp_resource
*ldp_resource_create();
16 extern void ldp_resource_delete(ldp_resource
* r
);
17 extern uint32_t _ldp_resource_get_next_index();
19 extern mpls_return_enum
_ldp_resource_add_tunnel(ldp_resource
* r
,
22 extern mpls_return_enum
_ldp_resource_del_tunnel(ldp_resource
* r
);
24 extern mpls_bool
ldp_resource_in_use(ldp_resource
* r
);