mirror of
https://github.com/samba-team/samba.git
synced 2025-03-10 12:58:35 +03:00
r20856: Make "struct notify_mid_map" private to notify.c
(This used to be commit beecef0c70521d28dd88552d661281d9c585eb22)
This commit is contained in:
parent
940192ddcc
commit
90f59d4412
@ -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,
|
||||
|
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user