/* * Copyright (C) James R. Leu 2000 * jleu@mindspring.com * * This software is covered under the LGPL, for more * info check out http://www.gnu.org/copyleft/lgpl.html */ #ifndef _LDP_HELLO_H_ #define _LDP_HELLO_H_ extern void ldp_hello_timeout_callback(ldp_timer_handle timer,void* extra, ldp_cfg_handle g); extern void ldp_hello_send_callback(ldp_timer_handle timer,void* extra, ldp_cfg_handle g); extern ldp_return_enum ldp_hello_send(ldp_global* g,ldp_entity* e); extern ldp_msg *ldp_hello_create(uint32_t msgid,int holdtime, ldp_inet_addr *traddr,uint32_t confnum,int targeted,int request); extern ldp_return_enum ldp_hello_process(ldp_global *g,ldp_adj *a, int hellotime,uint32_t csn,ldp_inet_addr *traddr,int target,int request); #endif