Blame view

resolver.h 326 Bytes
pdw committed
1 2 3 4 5 6 7 8
/*
 * resolver.h:
 *
 */

#ifndef __RESOLVER_H_ /* include guard */
#define __RESOLVER_H_

pdw committed
9 10 11
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in_systm.h>
pdw committed
12 13
#include <netinet/in.h>

pdw committed
14

chris committed
15
void resolver_initialise(void);
pdw committed
16

17
void resolve(int af, struct in6_addr* addr, char* result, int buflen);
pdw committed
18 19

#endif /* __RESOLVER_H_ */