summaryrefslogtreecommitdiff
path: root/source4/lib/socket/socket.h
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-11-02 01:15:42 +0100
committerJelmer Vernooij <jelmer@samba.org>2008-11-02 01:15:42 +0100
commit9265cb02d00843f43ba07d28093f959adf0738fe (patch)
tree9e6b268da3ac1cf2860a00e7473c308388e7a036 /source4/lib/socket/socket.h
parenta76adc539788337a4a3aa77f7e6ef8f4defd3141 (diff)
downloadsamba-9265cb02d00843f43ba07d28093f959adf0738fe.tar.gz
samba-9265cb02d00843f43ba07d28093f959adf0738fe.tar.bz2
samba-9265cb02d00843f43ba07d28093f959adf0738fe.zip
Use a separate global for nonblocking socket testing rather than global_loadparm.
Diffstat (limited to 'source4/lib/socket/socket.h')
-rw-r--r--source4/lib/socket/socket.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/lib/socket/socket.h b/source4/lib/socket/socket.h
index 4baa0cfbb1..ec3afe8f7f 100644
--- a/source4/lib/socket/socket.h
+++ b/source4/lib/socket/socket.h
@@ -208,4 +208,6 @@ NTSTATUS socket_connect_multi(TALLOC_CTX *mem_ctx, const char *server_address,
void set_socket_options(int fd, const char *options);
void socket_set_flags(struct socket_context *socket, unsigned flags);
+extern bool testnonblock;
+
#endif /* _SAMBA_SOCKET_H */