diff options
author | Gregor Beck <gbeck@sernet.de> | 2012-08-23 14:47:33 +0200 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2012-10-19 12:14:59 +0200 |
commit | 4878769f8e6763fbb8347f2ea674c7a861d95564 (patch) | |
tree | 4561d7c93c74a0c06bb0221f835538a4cd681ebe /source3/smbd/proto.h | |
parent | 77f99ece482a11aad50219e64d231b27dbbccbba (diff) | |
download | samba-4878769f8e6763fbb8347f2ea674c7a861d95564.tar.gz samba-4878769f8e6763fbb8347f2ea674c7a861d95564.tar.bz2 samba-4878769f8e6763fbb8347f2ea674c7a861d95564.zip |
s3:smbd: pass smbXsrv_session instead of user_struct to session_claim() and session_yield()
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Signed-off-by: Michael Adam <obnox@samba.org>
Diffstat (limited to 'source3/smbd/proto.h')
-rw-r--r-- | source3/smbd/proto.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/source3/smbd/proto.h b/source3/smbd/proto.h index a71547678f..5f41957fc4 100644 --- a/source3/smbd/proto.h +++ b/source3/smbd/proto.h @@ -993,9 +993,10 @@ void close_cnum(connection_struct *conn, uint64_t vuid); /* The following definitions come from smbd/session.c */ struct sessionid; +struct smbXsrv_session; bool session_init(void); -bool session_claim(struct smbd_server_connection *sconn, struct user_struct *vuser); -void session_yield(struct user_struct *vuser); +bool session_claim(struct smbd_server_connection *sconn, struct smbXsrv_session *session); +void session_yield(struct smbXsrv_session *session); int list_sessions(TALLOC_CTX *mem_ctx, struct sessionid **session_list); /* The following definitions come from smbd/sesssetup.c */ |