summaryrefslogtreecommitdiff
path: root/source3/smbd/globals.h
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2012-03-21 12:18:09 +0100
committerVolker Lendecke <vl@samba.org>2012-03-21 14:26:06 +0100
commitf3fe53668f5f42123ab4d91de23ac4f16bf12733 (patch)
tree4a8d95b4c44e5424f20558669895ea1745e69f26 /source3/smbd/globals.h
parent7dcc2bf7af10c6bf5f714b43ca81083fa1bea0b9 (diff)
downloadsamba-f3fe53668f5f42123ab4d91de23ac4f16bf12733.tar.gz
samba-f3fe53668f5f42123ab4d91de23ac4f16bf12733.tar.bz2
samba-f3fe53668f5f42123ab4d91de23ac4f16bf12733.zip
s3: Move the notify_ctx to the smbd_server_connection
We only need one notify_ctx per smbd. The notify_array can become quite large. It's based on absolute paths, so there's no point in having a copy of the complete array in memory multiple times. Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Wed Mar 21 14:26:07 CET 2012 on sn-devel-104
Diffstat (limited to 'source3/smbd/globals.h')
-rw-r--r--source3/smbd/globals.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/smbd/globals.h b/source3/smbd/globals.h
index caf7357df4..3973855b7e 100644
--- a/source3/smbd/globals.h
+++ b/source3/smbd/globals.h
@@ -449,6 +449,7 @@ struct smbd_server_connection {
const char *remote_hostname;
struct tevent_context *ev_ctx;
struct messaging_context *msg_ctx;
+ struct notify_context *notify_ctx;
struct {
bool got_session;
} nbt;