You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

resolv.h 338B

12345678910111213141516
  1. #ifndef RESOLV_H
  2. #define RESOLV_H
  3. #include <gpxe/in.h>
  4. #include <gpxe/tables.h>
  5. struct resolver {
  6. const char *name;
  7. int ( * resolv ) ( struct in_addr *address, const char *name );
  8. };
  9. #define __resolver __table ( struct resolver, resolver, 01 )
  10. extern int resolv ( struct in_addr *address, const char *name );
  11. #endif /* RESOLV_H */