Move the TLS code behind the socket interface.
[samba-svnmirror.git] / source / lib / socket / socket.h
index 04ae53e464530e481438fd914665f777c923d758..fefa999e08195a0d9e6678db089724cde8ec8248 100644 (file)
@@ -117,6 +117,9 @@ struct socket_context {
 
 
 /* prototypes */
+NTSTATUS socket_create_with_ops(TALLOC_CTX *mem_ctx, const struct socket_ops *ops,
+                               struct socket_context **new_sock, 
+                               enum socket_type type, uint32_t flags);
 NTSTATUS socket_create(const char *name, enum socket_type type, 
                       struct socket_context **new_sock, uint32_t flags);
 NTSTATUS socket_connect(struct socket_context *sock,