network.h

Go to the documentation of this file.
00001 
00025 #ifndef _GAIM_NETWORK_H_
00026 #define _GAIM_NETWORK_H_
00027 
00028 #ifdef __cplusplus
00029 extern "C" {
00030 #endif
00031 
00032 /**************************************************************************/
00034 /**************************************************************************/
00049 const unsigned char *gaim_network_ip_atoi(const char *ip);
00050 
00059 void gaim_network_set_public_ip(const char *ip);
00060 
00069 const char *gaim_network_get_public_ip(void);
00070 
00083 const char *gaim_network_get_local_system_ip(int fd);
00084 
00102 const char *gaim_network_get_my_ip(int fd);
00103 
00122 int gaim_network_listen(unsigned short port);
00123 
00147 int gaim_network_listen_range(unsigned short start, unsigned short end);
00148 
00157 unsigned short gaim_network_get_port_from_fd(int fd);
00158 
00162 void gaim_network_init(void);
00163 
00166 #ifdef __cplusplus
00167 }
00168 #endif
00169 
00170 #endif /* _GAIM_NETWORK_H_ */

Generated on Sun Feb 18 07:50:47 2007 for gaim by  doxygen 1.5.1