mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-14 20:09:27 +02:00
* deprecated hostonet variants that have equivalent htons/l
git-svn-id: trunk@27778 -
This commit is contained in:
parent
ddf6de1b29
commit
ffaadb9d88
@ -224,12 +224,12 @@ function StrToHostAddr(IP : AnsiString) : in_addr ;
|
|||||||
function StrToNetAddr (IP : AnsiString) : in_addr;
|
function StrToNetAddr (IP : AnsiString) : in_addr;
|
||||||
|
|
||||||
{ these for are for netdb legacy compat}
|
{ these for are for netdb legacy compat}
|
||||||
Function HostToNet (Host : in_addr) : in_addr;
|
Function HostToNet (Host : in_addr) : in_addr; deprecated;
|
||||||
Function NetToHost (Net : in_addr) : in_addr;
|
Function NetToHost (Net : in_addr) : in_addr; deprecated;
|
||||||
Function HostToNet (Host : Longint) : Longint;
|
Function HostToNet (Host : Longint) : Longint; deprecated;
|
||||||
Function NetToHost (Net : Longint) : Longint;
|
Function NetToHost (Net : Longint) : Longint; deprecated;
|
||||||
Function ShortHostToNet(Host : Word) : Word;
|
Function ShortHostToNet(Host : Word) : Word; deprecated;
|
||||||
Function ShortNetToHost(Net : Word) : Word;
|
Function ShortNetToHost(Net : Word) : Word; deprecated;
|
||||||
|
|
||||||
// ipv6
|
// ipv6
|
||||||
function HostAddrToStr6(Entry : Tin6_addr) : AnsiString;
|
function HostAddrToStr6(Entry : Tin6_addr) : AnsiString;
|
||||||
|
Loading…
Reference in New Issue
Block a user