summaryrefslogtreecommitdiff
path: root/source4/lib/socket/socket.h
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2006-07-21 01:34:56 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:10:15 -0500
commita1a842eb44b5bbb59af445af7a2c4a00e8c0188a (patch)
tree038faa4a98f386f2fd571799842deedefdbf6746 /source4/lib/socket/socket.h
parentdc2715b49c477adb4ba95149a3bfdf79457fa6c0 (diff)
downloadsamba-a1a842eb44b5bbb59af445af7a2c4a00e8c0188a.tar.gz
samba-a1a842eb44b5bbb59af445af7a2c4a00e8c0188a.tar.bz2
samba-a1a842eb44b5bbb59af445af7a2c4a00e8c0188a.zip
r17168: Now that TLS (and soon SASL) is below the socket layer, we need to
make the testnonblock skip some things. The socket *under* the tls socket is still tested. Andrew Bartlett (This used to be commit 9c33c6a20a77e3f15eac3d62488117517afad940)
Diffstat (limited to 'source4/lib/socket/socket.h')
-rw-r--r--source4/lib/socket/socket.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/lib/socket/socket.h b/source4/lib/socket/socket.h
index fefa999e08..c0cf429887 100644
--- a/source4/lib/socket/socket.h
+++ b/source4/lib/socket/socket.h
@@ -102,6 +102,7 @@ enum socket_state {
#define SOCKET_FLAG_BLOCK 0x00000001
#define SOCKET_FLAG_PEEK 0x00000002
#define SOCKET_FLAG_TESTNONBLOCK 0x00000004
+#define SOCKET_FLAG_FAKE 0x00000008 /* This is an implementation not directly on top of a real socket */
struct socket_context {
enum socket_type type;