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
13 #include "ldp_struct.h"
15 extern ldp_adj
*ldp_adj_create(mpls_inet_addr
* source
,
16 mpls_inet_addr
* lsraddr
, int labelspace
, int remote_hellotime
,
17 mpls_inet_addr
* remote_transport_address
, uint32_t remote_csn
);
19 extern void ldp_adj_delete(ldp_adj
* a
);
20 extern mpls_return_enum
ldp_adj_startup(ldp_global
* g
, ldp_adj
* a
,
22 extern mpls_return_enum
ldp_adj_restart(ldp_global
* g
, ldp_adj
* a
);
23 extern mpls_return_enum
ldp_adj_shutdown(ldp_global
* g
, ldp_adj
* a
);
24 extern mpls_return_enum
ldp_adj_maintain_timer(ldp_global
* g
, ldp_adj
* a
);
25 extern mpls_return_enum
ldp_adj_recv_stop(ldp_global
* g
, ldp_adj
* a
);
27 extern void _ldp_adj_add_entity(ldp_adj
* a
, ldp_entity
* e
);
28 extern void _ldp_adj_del_entity(ldp_adj
* a
, ldp_entity
* e
);
29 extern void ldp_adj_add_session(ldp_adj
* a
, ldp_session
* s
);
30 extern void ldp_adj_del_session(ldp_adj
* a
, ldp_session
* s
);
31 extern uint32_t _ldp_adj_get_next_index();