File: resolver.h

package info (click to toggle)
iftop 1.0~pre4-4
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 1,044 kB
  • ctags: 917
  • sloc: ansic: 5,780; 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_ */