summaryrefslogtreecommitdiff
path: root/source4/smb_server/smb_server.h
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2004-07-16 02:54:57 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:57:39 -0500
commitb3c46674a670ea51607d5c2a73271dff531ae7d6 (patch)
treec09e07ce443ab9521ff1b0f57e55c8945d7df513 /source4/smb_server/smb_server.h
parent526d687cbbdf323dc883bb1298dfd2dc952fecc6 (diff)
downloadsamba-b3c46674a670ea51607d5c2a73271dff531ae7d6.tar.gz
samba-b3c46674a670ea51607d5c2a73271dff531ae7d6.tar.bz2
samba-b3c46674a670ea51607d5c2a73271dff531ae7d6.zip
r1521: Updates to our SMB signing code.
- This causes our client and server code to use the same core code, with the same debugs etc. - In turn, this will allow the 'mandetory/fallback' signing algorithms to be shared, and only written once. Updates to the SPNEGO code - Don't wrap an empty token to the server, if we are actually already finished. Andrew Bartlett (This used to be commit 35b83eb329482ac1b3bc67285854cc47844ff353)
Diffstat (limited to 'source4/smb_server/smb_server.h')
-rw-r--r--source4/smb_server/smb_server.h33
1 files changed, 2 insertions, 31 deletions
diff --git a/source4/smb_server/smb_server.h b/source4/smb_server/smb_server.h
index 2eb87f09a3..ae72bb5da4 100644
--- a/source4/smb_server/smb_server.h
+++ b/source4/smb_server/smb_server.h
@@ -141,37 +141,8 @@ struct smbsrv_request {
NTSTATUS status;
} async;
- struct {
- /* the raw SMB buffer, including the 4 byte length header */
- char *buffer;
-
- /* the size of the raw buffer, including 4 byte header */
- unsigned size;
-
- /* how much has been allocated - on reply the buffer is over-allocated to
- prevent too many realloc() calls
- */
- unsigned allocated;
-
- /* the start of the SMB header - this is always buffer+4 */
- char *hdr;
-
- /* the command words and command word count. vwv points
- into the raw buffer */
- char *vwv;
- unsigned wct;
-
- /* the data buffer and size. data points into the raw buffer */
- char *data;
- unsigned data_size;
-
- /* ptr is used as a moving pointer into the data area
- * of the packet. The reason its here and not a local
- * variable in each function is that when a realloc of
- * a reply packet is done we need to move this
- * pointer */
- char *ptr;
- } in, out;
+ struct request_buffer in;
+ struct request_buffer out;
};
/* this contains variables that should be used in % substitutions for