connect works with both SSL and TCP connections YAZ-825
[yaz-moved-to-github.git] / include / yaz / tcpip.h
index d744009..7d808a5 100644 (file)
@@ -44,7 +44,14 @@ YAZ_EXPORT COMSTACK yaz_tcpip_create(int s, int flags, int protocol,
 YAZ_EXPORT COMSTACK yaz_tcpip_create2(int s, int flags, int protocol,
                                       const char *connect_host,
                                       const char *bind_host);
-
+YAZ_EXPORT COMSTACK yaz_tcpip_create3(int s, int flags, int protocol,
+                                      const char *connect_host,
+                                      const char *connect_auth,
+                                      const char *bind_host);
+YAZ_EXPORT COMSTACK yaz_ssl_create(int s, int flags, int protocol,
+                                   const char *connect_host,
+                                   const char *connect_auth,
+                                   const char *bind_host);
 YAZ_END_CDECL
 
 #endif