diff options
author | vda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2007-02-04 02:39:55 +0000 |
---|---|---|
committer | vda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2007-02-04 02:39:55 +0000 |
commit | 95ca6446d62fe0e521ae05b5b8f24cf7f27a0c4f (patch) | |
tree | d7657a18e022900fdc6e0df24b59af9042e84109 /include | |
parent | 344b3a5ca5ea57a89cdcb014778b554139be997c (diff) | |
download | busybox-w32-95ca6446d62fe0e521ae05b5b8f24cf7f27a0c4f.tar.gz busybox-w32-95ca6446d62fe0e521ae05b5b8f24cf7f27a0c4f.tar.bz2 busybox-w32-95ca6446d62fe0e521ae05b5b8f24cf7f27a0c4f.zip |
mount: (try to) support cifs with IPv6
git-svn-id: svn://busybox.net/trunk/busybox@17750 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'include')
-rw-r--r-- | include/libbb.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/libbb.h b/include/libbb.h index dd23c704d..742d04031 100644 --- a/include/libbb.h +++ b/include/libbb.h | |||
@@ -316,7 +316,10 @@ int xconnect_stream(const len_and_sockaddr *lsa); | |||
316 | /* Return malloc'ed len_and_sockaddr with socket address of host:port | 316 | /* Return malloc'ed len_and_sockaddr with socket address of host:port |
317 | * Currently will return IPv4 or IPv6 sockaddrs only | 317 | * Currently will return IPv4 or IPv6 sockaddrs only |
318 | * (depending on host), but in theory nothing prevents e.g. | 318 | * (depending on host), but in theory nothing prevents e.g. |
319 | * UNIX socket address being returned, IPX sockaddr etc... */ | 319 | * UNIX socket address being returned, IPX sockaddr etc... |
320 | * On error does bb_error_msg and returns NULL */ | ||
321 | len_and_sockaddr* host2sockaddr(const char *host, int port); | ||
322 | /* Versions which die on error */ | ||
320 | len_and_sockaddr* xhost2sockaddr(const char *host, int port); | 323 | len_and_sockaddr* xhost2sockaddr(const char *host, int port); |
321 | #if ENABLE_FEATURE_IPV6 | 324 | #if ENABLE_FEATURE_IPV6 |
322 | /* Same, useful if you want to force family (e.g. IPv6) */ | 325 | /* Same, useful if you want to force family (e.g. IPv6) */ |