BELLE_SIP_INSTANCIATE_CUSTOM_VPTR_END static void belle_sip_tunnel_listening_point_init(belle_sip_tunnel_listening_point_t *lp, belle_sip_stack_t *s, void *tunnelclient) { belle_sip_listening_point_init((belle_sip_listening_point_t*)lp,s,"0.0.0.0",5060); lp->tunnelclient = tunnelclient; }
void belle_sip_stream_listening_point_init(belle_sip_stream_listening_point_t *obj, belle_sip_stack_t *s, const char *ipaddress, int port ){ belle_sip_listening_point_init((belle_sip_listening_point_t*)obj,s,ipaddress,port); }
static void belle_sip_udp_listening_point_init(belle_sip_udp_listening_point_t *lp, belle_sip_stack_t *s, const char *ipaddress, int port) { belle_sip_listening_point_init((belle_sip_listening_point_t*)lp,s,ipaddress,port); belle_sip_udp_listening_point_init_socket(lp); }
void belle_sip_stream_listening_point_init(belle_sip_stream_listening_point_t *obj, belle_sip_stack_t *s, const char *ipaddress, int port, belle_sip_source_func_t on_new_connection_cb ){ belle_sip_listening_point_init((belle_sip_listening_point_t*)obj,s,ipaddress,port); belle_sip_stream_listening_point_setup_server_socket(obj, on_new_connection_cb); }