File: resolver.h

package info (click to toggle)
iftop 1.0~pre4-7
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 1,064 kB
  • sloc: ansic: 5,782; sh: 4,262; makefile: 38
file content (19 lines) | stat: -rw-r--r-- 326 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/*
 * 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_ */