net_getservbyport() - Get name of TCP service

git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1134 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Timo Sirainen 2001-01-18 02:23:35 +00:00 committed by cras
commit babf7c77ac
2 changed files with 12 additions and 0 deletions

View file

@ -73,6 +73,9 @@ int net_host2ip(const char *host, IPADDR *ip);
/* Get socket error */
int net_geterror(GIOChannel *handle);
/* Get name of TCP service */
char *net_getservbyport(int port);
int is_ipv4_address(const char *host);
int is_ipv6_address(const char *host);