Mercurial > pidgin.yaz
view libpurple/plugins/perl/common/Network.xs @ 18370:95a37af927ff
merge of '9c48f5af550f327eddd36eef116a426804115095'
and 'eb8418512910755aa12d5d497571f2d33bb1b9cf'
author | Richard Laager <rlaager@wiktel.com> |
---|---|
date | Sat, 30 Jun 2007 21:57:09 +0000 |
parents | 2f8274ce570a |
children | 907f5f41e32a |
line wrap: on
line source
#include "module.h" MODULE = Purple::Network PACKAGE = Purple::Network PREFIX = purple_network_ PROTOTYPES: ENABLE const char * purple_network_get_local_system_ip(fd) int fd const char * purple_network_get_my_ip(fd) int fd unsigned short purple_network_get_port_from_fd(fd) int fd const char * purple_network_get_public_ip() void purple_network_init() const unsigned char * purple_network_ip_atoi(ip) const char *ip Purple::NetworkListenData purple_network_listen(port, socket_type, cb, cb_data) unsigned short port int socket_type Purple::NetworkListenCallback cb gpointer cb_data Purple::NetworkListenData purple_network_listen_range(start, end, socket_type, cb, cb_data) unsigned short start unsigned short end int socket_type Purple::NetworkListenCallback cb gpointer cb_data void purple_network_set_public_ip(ip) const char *ip