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_peer
*ldp_peer_create();
16 extern void ldp_peer_delete(ldp_peer
* p
);
17 extern mpls_return_enum
ldp_peer_startup(ldp_global
* g
, ldp_peer
* p
);
18 extern mpls_return_enum
ldp_peer_shutdown(ldp_global
* g
, ldp_peer
* p
);
19 extern mpls_bool
ldp_peer_is_active(ldp_peer
* p
);
20 extern mpls_return_enum
_ldp_peer_add_entity(ldp_peer
* p
, ldp_entity
* e
);
21 extern mpls_return_enum
_ldp_peer_del_entity(ldp_peer
* p
);
22 extern ldp_entity
*ldp_peer_get_entity(ldp_peer
* p
);
23 extern uint32_t _ldp_peer_get_next_index();
24 extern void ldp_peer_retry_stop(ldp_global
* g
, ldp_peer
* p
);
25 extern void ldp_peer_send_stop(ldp_global
* g
, ldp_peer
* p
);
26 extern void ldp_peer_retry_callback(mpls_timer_handle timer
, void *extra
,