summaryrefslogtreecommitdiff
path: root/source4/smb_server/smb_server.h
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2006-06-21 21:28:07 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:09:16 -0500
commit2a3bcdb530cbf48a99d046abe3068a700afeb336 (patch)
tree397ead3626bad3c335bd05ce049cb6b2e015635e /source4/smb_server/smb_server.h
parent23803094e54c30c3c94d2fbca1d6077947867ace (diff)
downloadsamba-2a3bcdb530cbf48a99d046abe3068a700afeb336.tar.gz
samba-2a3bcdb530cbf48a99d046abe3068a700afeb336.tar.bz2
samba-2a3bcdb530cbf48a99d046abe3068a700afeb336.zip
r16450: fix the build...
metze (This used to be commit 316f3312d228a8c29185bf38c93c7f3aa1c6333e)
Diffstat (limited to 'source4/smb_server/smb_server.h')
-rw-r--r--source4/smb_server/smb_server.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/smb_server/smb_server.h b/source4/smb_server/smb_server.h
index 39f26c3bba..d38543bb67 100644
--- a/source4/smb_server/smb_server.h
+++ b/source4/smb_server/smb_server.h
@@ -209,6 +209,8 @@ struct smbsrv_handle {
/* a set of flags to control handling of request structures */
#define SMBSRV_REQ_CONTROL_LARGE (1<<1) /* allow replies larger than max_xmit */
+#define SMBSRV_REQ_DEFAULT_STR_FLAGS(req) (((req)->flags2 & FLAGS2_UNICODE_STRINGS) ? STR_UNICODE : STR_ASCII)
+
/* the context for a single SMB request. This is passed to any request-context
functions */
struct smbsrv_request {