diff options
author | Robert James Kaes <rjkaes@users.sourceforge.net> | 2004-02-18 20:17:18 +0000 |
---|---|---|
committer | Robert James Kaes <rjkaes@users.sourceforge.net> | 2004-02-18 20:17:18 +0000 |
commit | c21df1ea0f8e9e851e95c06481f093d5adb95f78 (patch) | |
tree | 54be865b5562f47146d7e82aa9eae92a7e7a9f5f /src/tinyproxy.h | |
parent | 02893c348985dc2086ae640ee2a14bca641ce0c1 (diff) | |
download | tinyproxy-c21df1ea0f8e9e851e95c06481f093d5adb95f78.tar.gz tinyproxy-c21df1ea0f8e9e851e95c06481f093d5adb95f78.zip |
Added two functions:
- get_ip_string() converts a binary network address into either a
dotted-decimal IPv4 address, or a IPv6 hex-string
- full_inet_pton() converts a numeric character string into an IPv6
network address (binary form). It's like the system inet_pton()
function, but it will work with bot IPv4 and IPv6 character
strings.
These functions are required for the conversion to Internet protocol
independence. (Or to put it more clearly: allow tinyproxy to work in
an IPv6 network.)
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions