aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGravatar Denis Vlasenko <vda.linux@googlemail.com>2007-02-04 02:39:55 +0000
committerGravatar Denis Vlasenko <vda.linux@googlemail.com>2007-02-04 02:39:55 +0000
commit5870ad9672ac09e366f1bfd4086e98cd019ed8f2 (patch)
treed7657a18e022900fdc6e0df24b59af9042e84109 /include
parent42823d597a9029ac497edda9102f61283630635b (diff)
downloadbusybox-5870ad9672ac09e366f1bfd4086e98cd019ed8f2.tar.gz
busybox-5870ad9672ac09e366f1bfd4086e98cd019ed8f2.tar.bz2
mount: (try to) support cifs with IPv6
Diffstat (limited to 'include')
-rw-r--r--include/libbb.h5
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);
/* Return malloc'ed len_and_sockaddr with socket address of host:port
* Currently will return IPv4 or IPv6 sockaddrs only
* (depending on host), but in theory nothing prevents e.g.
- * UNIX socket address being returned, IPX sockaddr etc... */
+ * UNIX socket address being returned, IPX sockaddr etc...
+ * On error does bb_error_msg and returns NULL */
+len_and_sockaddr* host2sockaddr(const char *host, int port);
+/* Versions which die on error */
len_and_sockaddr* xhost2sockaddr(const char *host, int port);
#if ENABLE_FEATURE_IPV6
/* Same, useful if you want to force family (e.g. IPv6) */