diff options
author | Volker Lendecke <vlendec@samba.org> | 2007-01-17 18:23:37 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:17:14 -0500 |
commit | 90f59d441223ba9b32b0d788901c9de5cf4b3bc7 (patch) | |
tree | 7e082533029be19f729ae8822f6dc67e4f3d0949 /source3 | |
parent | 940192ddcc9d23e3bec806b4419d5845eeac0fd0 (diff) | |
download | samba-90f59d441223ba9b32b0d788901c9de5cf4b3bc7.tar.gz samba-90f59d441223ba9b32b0d788901c9de5cf4b3bc7.tar.bz2 samba-90f59d441223ba9b32b0d788901c9de5cf4b3bc7.zip |
r20856: Make "struct notify_mid_map" private to notify.c
(This used to be commit beecef0c70521d28dd88552d661281d9c585eb22)
Diffstat (limited to 'source3')
-rw-r--r-- | source3/include/smb.h | 13 | ||||
-rw-r--r-- | source3/smbd/notify.c | 11 |
2 files changed, 13 insertions, 11 deletions
diff --git a/source3/include/smb.h b/source3/include/smb.h index fc3acf6d6c..cf754b5c1f 100644 --- a/source3/include/smb.h +++ b/source3/include/smb.h @@ -442,6 +442,8 @@ struct notify_change { char *name; }; +struct notify_mid_map; + struct notify_change_request { struct notify_change_request *prev, *next; struct files_struct *fsp; /* backpointer for cancel by mid */ @@ -451,17 +453,6 @@ struct notify_change_request { struct notify_mid_map *mid_map; }; -/* - * For NTCancel, we need to find the notify_change_request indexed by - * mid. Separate list here. - */ - -struct notify_mid_map { - struct notify_mid_map *prev, *next; - struct notify_change_request *req; - uint16 mid; -}; - struct notify_change_buf { /* * If no requests are pending, changes are queued here. Simple array, diff --git a/source3/smbd/notify.c b/source3/smbd/notify.c index 6bedb17261..3b01c2c786 100644 --- a/source3/smbd/notify.c +++ b/source3/smbd/notify.c @@ -40,6 +40,17 @@ struct change_notify { void *change_data; }; +/* + * For NTCancel, we need to find the notify_change_request indexed by + * mid. Separate list here. + */ + +struct notify_mid_map { + struct notify_mid_map *prev, *next; + struct notify_change_request *req; + uint16 mid; +}; + static struct change_notify *change_notify_list; static BOOL notify_marshall_changes(unsigned num_changes, |