There was a possibility for a memory leak, if the adding of the FTN
[mpls-ldp-portable.git] / ldp / ldp_notif.h
blob9470ef89b43fff6a11a4659f674a8f7f60dc7379
2 /*
3 * Copyright (C) James R. Leu 2000
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 _LDP_NOTIF_H_
11 #define _LDP_NOTIF_H_
13 #include "ldp_struct.h"
15 extern mpls_return_enum ldp_notif_send(ldp_global *, ldp_session *, ldp_attr *,
17 ldp_notif_status);
19 extern mpls_return_enum ldp_notif_process(ldp_global * g, ldp_session * s,
20 ldp_adj * a, ldp_entity * e, ldp_attr * r_attr);
22 extern void not2attr(mplsLdpNotifMsg_t * not, ldp_attr * attr, uint32_t flag);
24 extern mpls_return_enum ldp_notif_no_route(ldp_global * g, ldp_session * s,
25 ldp_entity * e, ldp_attr * attr);
27 extern mpls_return_enum ldp_notif_no_label_resources(ldp_global * g,
28 ldp_session * s, ldp_attr * s_attr);
30 extern mpls_return_enum ldp_notif_label_request_aborted(ldp_global * g,
31 ldp_session * s, ldp_attr * s_attr);
33 extern mpls_return_enum ldp_notif_label_resources_available(ldp_global * g,
34 ldp_session * s, ldp_attr * s_attr);
36 #endif