summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2012-06-05 09:38:05 +0200
committerStefan Metzmacher <metze@samba.org>2012-06-06 10:18:37 +0200
commit659f3e681ee089be529f36cc6ba13f0e8e8fc649 (patch)
tree7862565e87ec18ccd1c8f5c726f31f7a06fa502c /source3
parentb5b943dbada86c839e6c575aed6842acd13e5446 (diff)
downloadsamba-659f3e681ee089be529f36cc6ba13f0e8e8fc649.tar.gz
samba-659f3e681ee089be529f36cc6ba13f0e8e8fc649.tar.bz2
samba-659f3e681ee089be529f36cc6ba13f0e8e8fc649.zip
s3:smbd: make struct notify_change_buf private to notify.c
metze
Diffstat (limited to 'source3')
-rw-r--r--source3/include/smb.h20
-rw-r--r--source3/smbd/notify.c20
2 files changed, 20 insertions, 20 deletions
diff --git a/source3/include/smb.h b/source3/include/smb.h
index fc44219ed7..e5a8c0102c 100644
--- a/source3/include/smb.h
+++ b/source3/include/smb.h
@@ -169,26 +169,6 @@ struct sys_notify_context {
void *private_data; /* For use by the system backend */
};
-struct notify_change_buf {
- /*
- * If no requests are pending, changes are queued here. Simple array,
- * we only append.
- */
-
- /*
- * num_changes == -1 means that we have got a catch-all change, when
- * asked we just return NT_STATUS_OK without specific changes.
- */
- int num_changes;
- struct notify_change *changes;
-
- /*
- * If no changes are around requests are queued here. Using a linked
- * list, because we have to append at the end and delete from the top.
- */
- struct notify_change_request *requests;
-};
-
typedef struct files_struct {
struct files_struct *next, *prev;
int fnum;
diff --git a/source3/smbd/notify.c b/source3/smbd/notify.c
index a55be9b938..73e25b7c92 100644
--- a/source3/smbd/notify.c
+++ b/source3/smbd/notify.c
@@ -24,6 +24,26 @@
#include "smbd/globals.h"
#include "../librpc/gen_ndr/ndr_notify.h"
+struct notify_change_buf {
+ /*
+ * If no requests are pending, changes are queued here. Simple array,
+ * we only append.
+ */
+
+ /*
+ * num_changes == -1 means that we have got a catch-all change, when
+ * asked we just return NT_STATUS_OK without specific changes.
+ */
+ int num_changes;
+ struct notify_change *changes;
+
+ /*
+ * If no changes are around requests are queued here. Using a linked
+ * list, because we have to append at the end and delete from the top.
+ */
+ struct notify_change_request *requests;
+};
+
struct notify_change_request {
struct notify_change_request *prev, *next;
struct files_struct *fsp; /* backpointer for cancel by mid */