defs-netdb 1.4 KB

123456789101112131415161718192021222324252627
  1. (*
  2. NETDB_INTERNAL* = -1; (* See errno. *)
  3. NETDB_SUCCESS* = 0; (* No problem. *)
  4. HOST_NOT_FOUND* = 1; (* Authoritative Answer Host not found. *)
  5. TRY_AGAIN* = 2; (* Non-Authoritative Host not found, or SERVERFAIL. *)
  6. NO_RECOVERY* = 3; (* Non recoverable errors, FORMERR, REFUSED, NOTIMP. *)
  7. NO_DATA* = 4; (* Valid name, no data record of requested type. *)
  8. *)
  9. EAI_BADFLAGS* = -1; (* Invalid value for `ai_flags' field *)
  10. EAI_NONAME* = -2; (* NAME or SERVICE is unknown *)
  11. EAI_AGAIN* = -3; (* Temporary failure in name resolution *)
  12. EAI_FAIL* = -4; (* Non-recoverable failure in name res *)
  13. EAI_FAMILY* = -6; (* `ai_family' not supported *)
  14. EAI_SOCKTYPE* = -7; (* `ai_socktype' not supported *)
  15. EAI_SERVICE* = -8; (* SERVICE not supported for `ai_socktype' *)
  16. EAI_MEMORY* = -10; (* Memory allocation failure *)
  17. EAI_SYSTEM* = -11; (* System error returned in `errno' *)
  18. EAI_OVERFLOW* = -12; (* Argument buffer overflow *)
  19. EAI_NODATA* = -5; (* No address associated with NAME *)
  20. EAI_ADDRFAMILY* = -9; (* Address family for NAME not supported *)
  21. EAI_INPROGRESS* = -100; (* Processing request in progress *)
  22. EAI_CANCELED* = -101; (* Request canceled *)
  23. EAI_NOTCANCELED* = -102; (* Request not canceled *)
  24. EAI_ALLDONE* = -103; (* All requests done *)
  25. EAI_INTR* = -104; (* Interrupted by a signal *)
  26. EAI_IDN_ENCODE* = -105; (* IDN encoding failed *)