summaryrefslogtreecommitdiffstats
path: root/source3/smbd/globals.h
diff options
context:
space:
mode:
authorGregor Beck <gbeck@sernet.de>2012-08-22 14:28:31 +0200
committerMichael Adam <obnox@samba.org>2012-10-19 12:15:00 +0200
commitc3a658f59578899215920a42f5cb568f9368ce13 (patch)
tree2b44c47b2443c7266e4d0b9fafbe8b7d81582cf6 /source3/smbd/globals.h
parentb288ddd5c0ee7524e30a4fce3ec4f03c19a1764a (diff)
downloadsamba-c3a658f59578899215920a42f5cb568f9368ce13.tar.gz
samba-c3a658f59578899215920a42f5cb568f9368ce13.tar.xz
samba-c3a658f59578899215920a42f5cb568f9368ce13.zip
s3:smbXsrv_session: add smbXsrv_session_global_traverse()
Signed-off-by: Stefan Metzmacher <metze@samba.org> Signed-off-by: Michael Adam <obnox@samba.org>
Diffstat (limited to 'source3/smbd/globals.h')
-rw-r--r--source3/smbd/globals.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/smbd/globals.h b/source3/smbd/globals.h
index 107d338337..6509dda37c 100644
--- a/source3/smbd/globals.h
+++ b/source3/smbd/globals.h
@@ -396,6 +396,10 @@ NTSTATUS smb2srv_session_table_init(struct smbXsrv_connection *conn);
NTSTATUS smb2srv_session_lookup(struct smbXsrv_connection *conn,
uint64_t session_id, NTTIME now,
struct smbXsrv_session **session);
+struct smbXsrv_session_global0;
+NTSTATUS smbXsrv_session_global_traverse(
+ int (*fn)(struct smbXsrv_session_global0 *, void *),
+ void *private_data);
struct tevent_req *smb2srv_session_close_previous_send(TALLOC_CTX *mem_ctx,
struct tevent_context *ev,
struct smbXsrv_connection *conn,