summaryrefslogtreecommitdiffstats
path: root/src/include/resolv.h
blob: 714d39ef8466c3f3c53385e723fa5e2f706b5af5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#ifndef RESOLV_H
#define RESOLV_H

#include <gpxe/in.h>
#include <gpxe/tables.h>

struct resolver {
	const char *name;
	int ( * resolv ) ( struct in_addr *address, const char *name );
};

#define __resolver __table ( struct resolver, resolver, 01 )

extern int resolv ( struct in_addr *address, const char *name );

#endif /* RESOLV_H */