diff options
author | Stefan Metzmacher <metze@samba.org> | 2009-05-26 15:21:16 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2009-06-03 17:54:37 +0200 |
commit | 356f0336e558465318450da8936ebfef3f1f4eb1 (patch) | |
tree | ccdbba254bf1ab69ac0463df2b5db675d5ee8a45 /source3/smbd/globals.h | |
parent | f554af187161a006c3f51edd129e53500acc9046 (diff) | |
download | samba-356f0336e558465318450da8936ebfef3f1f4eb1.tar.gz samba-356f0336e558465318450da8936ebfef3f1f4eb1.tar.bz2 samba-356f0336e558465318450da8936ebfef3f1f4eb1.zip |
s3:smbd: move some session specific globals to struct smbd_server_connection
metze
Diffstat (limited to 'source3/smbd/globals.h')
-rw-r--r-- | source3/smbd/globals.h | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/source3/smbd/globals.h b/source3/smbd/globals.h index 2b4dce7489..c538ecf64f 100644 --- a/source3/smbd/globals.h +++ b/source3/smbd/globals.h @@ -105,13 +105,6 @@ extern int num_validated_vuids; extern char *my_yp_domain; #endif -/* - * Size of data we can send to client. Set - * by the client for all protocols above CORE. - * Set by us for CORE protocol. - */ -extern int max_send; -extern uint16 last_session_tag; extern int trans_num; extern pid_t mypid; @@ -146,7 +139,6 @@ extern uint16_t last_flags; extern struct db_context *session_db_ctx_ptr; extern uint32_t global_client_caps; -extern bool done_sesssetup; extern uint16_t fnf_handle; @@ -333,6 +325,16 @@ struct smbd_server_connection { int max_recv; } negprot; + struct { + bool done_sesssetup; + /* + * Size of data we can send to client. Set + * by the client for all protocols above CORE. + * Set by us for CORE protocol. + */ + int max_send; + uint16_t last_session_tag; + } sessions; struct smb_signing_state *signing_state; /* List to store partial SPNEGO auth fragments. */ struct pending_auth_data *pd_list; |