Assertting on session is not valid. A route addition that is
[mpls-ldp-portable.git] / rsvpte / rsvpte_global.h
blobe184a26db67cf4fe6c381960d92dc278303997fb
1 /*
2 * Copyright (C) James R. Leu 2002
3 * jleu@mindspring.com
5 * This software is covered under the LGPL, for more
6 * info check out http://www.gnu.org/copyleft/lgpl.html
7 */
9 #ifndef _RSVPTE_GLOBAL_H_
10 #define _RSVPTE_GLOBAL_H_
12 #include "rsvpte_struct.h"
14 extern rsvpte_global *rsvpte_global_create(mpls_instance_handle data);
15 extern mpls_return_enum rsvpte_global_delete(rsvpte_global * g);
16 extern mpls_return_enum rsvpte_global_startup(rsvpte_global * g);
17 extern mpls_return_enum rsvpte_global_shutdown(rsvpte_global * g);
19 extern rsvpte_if *rsvpte_global_find_if_handle(rsvpte_global * g,
20 mpls_if_handle handle);
22 extern mpls_return_enum rsvpte_global_find_if_index(rsvpte_global * g,
23 uint32_t index, rsvpte_if **);
25 extern void _rsvpte_global_add_if(rsvpte_global * g, rsvpte_if * i);
26 extern void _rsvpte_global_del_if(rsvpte_global * g, rsvpte_if * i);
28 #endif