aineth.inc 1.7 KB

123456789101112131415161718192021222324
  1. function inet_addr(__cp:Pchar):in_addr_t;cdecl;external clib name 'inet_addr';
  2. function inet_lnaof(__in:in_addr):in_addr_t;cdecl;external clib name 'inet_lnaof';
  3. function inet_makeaddr(__net:in_addr_t; __host:in_addr_t): in_addr_t;cdecl;external clib name 'inet_makeaddr';
  4. function inet_netof(__in:in_addr):in_addr_t;cdecl;external clib name 'inet_netof';
  5. function inet_network(__cp:Pchar):in_addr_t;cdecl;external clib name 'inet_network';
  6. function inet_ntoa(__in:in_addr):Pchar;cdecl;external clib name 'inet_ntoa';
  7. function inet_pton(__af:longint; __cp:Pchar; __buf:pointer):longint;cdecl;external clib name 'inet_pton';
  8. function inet_ntop(__af:longint; __cp:pointer; __buf:Pchar; __len:socklen_t):Pchar;cdecl;external clib name 'inet_ntop';
  9. function inet_aton(__cp:Pchar; __inp:Pin_addr):in_addr_t;cdecl;external clib name 'inet_aton';
  10. function inet_neta(__net:in_addr_t; __buf:Pchar; __len:size_t):Pchar;cdecl;external clib name 'inet_neta';
  11. function inet_net_ntop(__af:longint; __cp:pointer; __bits:longint; __buf:Pchar; __len:size_t):Pchar;cdecl;external clib name 'inet_net_ntop';
  12. function inet_net_pton(__af:longint; __cp:Pchar; __buf:pointer; __len:size_t):longint;cdecl;external clib name 'inet_net_pton';
  13. function inet_nsap_addr(__cp:Pchar; __buf:Pbyte; __len:longint):dword;cdecl;external clib name 'inet_nsap_addr';
  14. function inet_nsap_ntoa(__len:longint; __cp:Pbyte; __buf:Pchar):Pchar;cdecl;external clib name 'inet_nsap_ntoa';
  15. { ---------------------------------------------------------------------
  16. Borland compatibility types
  17. ---------------------------------------------------------------------}
  18. // Type
  19. function inet_aton(__cp:Pchar; var __inp:in_addr):in_addr_t;cdecl;external clib name 'inet_aton';