http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=427852#30 Adds support for IPv6 Also fixes: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=477928 (minor typo) http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=595169 (performance problem with address hashing) http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=598367 (failing link address detection for GNU/kfreebsd)
20 lines
326 B
C
20 lines
326 B
C
/*
|
|
* resolver.h:
|
|
*
|
|
*/
|
|
|
|
#ifndef __RESOLVER_H_ /* include guard */
|
|
#define __RESOLVER_H_
|
|
|
|
#include <sys/types.h>
|
|
#include <sys/socket.h>
|
|
#include <netinet/in_systm.h>
|
|
#include <netinet/in.h>
|
|
|
|
|
|
void resolver_initialise(void);
|
|
|
|
void resolve(int af, struct in6_addr* addr, char* result, int buflen);
|
|
|
|
#endif /* __RESOLVER_H_ */
|