resolver.h 326 B

12345678910111213141516171819
  1. /*
  2. * resolver.h:
  3. *
  4. */
  5. #ifndef __RESOLVER_H_ /* include guard */
  6. #define __RESOLVER_H_
  7. #include <sys/types.h>
  8. #include <sys/socket.h>
  9. #include <netinet/in_systm.h>
  10. #include <netinet/in.h>
  11. void resolver_initialise(void);
  12. void resolve(int af, struct in6_addr* addr, char* result, int buflen);
  13. #endif /* __RESOLVER_H_ */