summaryrefslogblamecommitdiffstats
path: root/src/include/resolv.h
blob: e97fd1e51472f3dabbe9e64bdd28dde926d97f5a (plain) (tree)
1
2
3
4
5
6
7
8


                
                    
                        

                 
                         







                                                                       
#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(resolver,01)

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

#endif /* RESOLV_H */