summaryrefslogtreecommitdiff
path: root/source3/smbd/globals.h
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2009-08-06 12:15:51 +0200
committerStefan Metzmacher <metze@samba.org>2009-08-07 14:18:17 +0200
commit59c3f5e3ca8885266fef65261ecae3f51ce78729 (patch)
tree2972ced82e7a8bcb607cedb25cd4827ba29063e4 /source3/smbd/globals.h
parentc50a03e4e2c47b828f81f2e4dc214ec84d9cae63 (diff)
downloadsamba-59c3f5e3ca8885266fef65261ecae3f51ce78729.tar.gz
samba-59c3f5e3ca8885266fef65261ecae3f51ce78729.tar.bz2
samba-59c3f5e3ca8885266fef65261ecae3f51ce78729.zip
s3:smbd: move dptr globals into struct smbd_server_connection
metze
Diffstat (limited to 'source3/smbd/globals.h')
-rw-r--r--source3/smbd/globals.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/source3/smbd/globals.h b/source3/smbd/globals.h
index 6a62cf6a21..338398968a 100644
--- a/source3/smbd/globals.h
+++ b/source3/smbd/globals.h
@@ -44,11 +44,6 @@ extern struct smbd_dmapi_context *dmapi_ctx;
extern bool dfree_broken;
-extern struct bitmap *dptr_bmap;
-//struct dptr_struct;
-extern struct dptr_struct *dirptrs;
-extern int dirhandles_open;
-
/* how many write cache buffers have been allocated */
extern unsigned int allocated_write_caches;
@@ -453,6 +448,12 @@ struct smbd_server_connection {
struct pending_auth_data *pd_list;
struct notify_mid_map *notify_mid_maps;
+
+ struct {
+ struct bitmap *dptr_bmap;
+ struct dptr_struct *dirptrs;
+ int dirhandles_open;
+ } searches;
} smb1;
struct {
struct tevent_context *event_ctx;