comparison libgaim/plugins/perl/common/Network.xs @ 14267:645598a4ec04

[gaim-migrate @ 16949] Change gaim_network_listen() and gaim_network_listen_range() to be cancelable. This doesn't actually help anything yet, since the gaim_upnp_functions() are not yet cancelable. But the framework is there, and the PRPLs shouldn't need any additional changes. Still to go: gaim_upnp_everything() gaim_url_fetch() gaim_srv_resolve() Let me know if there are others committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Mon, 21 Aug 2006 07:47:03 +0000
parents 60b1bc8dbf37
children d5c22258df09
comparison
equal deleted inserted replaced
14266:63ef6342db05 14267:645598a4ec04
23 23
24 const unsigned char * 24 const unsigned char *
25 gaim_network_ip_atoi(ip) 25 gaim_network_ip_atoi(ip)
26 const char *ip 26 const char *ip
27 27
28 int 28 Gaim::NetworkListenData *
29 gaim_network_listen(port, socket_type, cb, cb_data) 29 gaim_network_listen(port, socket_type, cb, cb_data)
30 unsigned short port 30 unsigned short port
31 int socket_type 31 int socket_type
32 Gaim::NetworkListenCallback cb 32 Gaim::NetworkListenCallback cb
33 gpointer cb_data 33 gpointer cb_data
34 34
35 int 35 Gaim::NetworkListenData *
36 gaim_network_listen_range(start, end, socket_type, cb, cb_data) 36 gaim_network_listen_range(start, end, socket_type, cb, cb_data)
37 unsigned short start 37 unsigned short start
38 unsigned short end 38 unsigned short end
39 int socket_type 39 int socket_type
40 Gaim::NetworkListenCallback cb 40 Gaim::NetworkListenCallback cb