r16450: fix the build...
authorStefan Metzmacher <metze@samba.org>
Wed, 21 Jun 2006 21:28:07 +0000 (21:28 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 19:09:16 +0000 (14:09 -0500)
metze
(This used to be commit 316f3312d228a8c29185bf38c93c7f3aa1c6333e)

source4/smb_server/smb_server.h

index 39f26c3bba347cf935feba829193176d914df1c0..d38543bb67ac1a5897f5c6902275829d645be13b 100644 (file)
@@ -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 {