resolver.h 326 Bytes
Newer Older
pdw's avatar
iftop  
pdw committed
1
2
3
4
5
6
7
8
/*
 * resolver.h:
 *
 */

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

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

pdw's avatar
pdw committed
14

chris's avatar
""    
chris committed
15
void resolver_initialise(void);
pdw's avatar
iftop  
pdw committed
16

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

#endif /* __RESOLVER_H_ */