"Temporary error in nameserver" shouldn't remove server reconnections.

git-svn-id: http://svn.irssi.org/repos/irssi/trunk@412 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Timo Sirainen 2000-07-02 11:56:38 +00:00 committed by cras
commit 2f97b822fb
3 changed files with 24 additions and 8 deletions

View file

@ -58,6 +58,9 @@ int net_gethostbyname(const char *addr, IPADDR *ip);
int net_gethostbyaddr(IPADDR *ip, char **name);
/* get error of net_gethostname() */
const char *net_gethosterror(int error);
/* return TRUE if host lookup failed because it didn't exist (ie. not
some error with name server) */
int net_hosterror_notfound(int error);
/* Get socket address/port */
int net_getsockname(int handle, IPADDR *addr, int *port);