summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2000-06-12 05:32:28 +0000
committerAndrew Tridgell <tridge@samba.org>2000-06-12 05:32:28 +0000
commit6db12f718007592cf971b22f376fde796e637727 (patch)
treea5a032a9a261009aaa5f5a9046d01f8f1f8a2cc2 /source3/include
parenta4ba9bb939ff066c8844273da312209a1d1100d2 (diff)
downloadsamba-6db12f718007592cf971b22f376fde796e637727.tar.gz
samba-6db12f718007592cf971b22f376fde796e637727.tar.bz2
samba-6db12f718007592cf971b22f376fde796e637727.zip
split all the change notify code out into a separate module
smbd/notify.c. All the data structures are now private to that module. this is in preparation for Linux kernel support for change notify (coming soon to a CVS tree near you) (This used to be commit 1bb0aad4f66dbfa2d0f767ea90f926affff20b17)
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/proto.h27
1 files changed, 11 insertions, 16 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h
index f874f0e1a1..4f5f3d42d3 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -3245,6 +3245,17 @@ int reply_negprot(connection_struct *conn,
BOOL disk_quotas(char *path,SMB_BIG_UINT *bsize,SMB_BIG_UINT *dfree,SMB_BIG_UINT *dsize);
+/*The following definitions come from smbd/notify.c */
+
+#if OLD_NTDOMAIN
+void remove_pending_change_notify_requests_by_fid(files_struct *fsp);
+void remove_pending_change_notify_requests_by_mid(int mid);
+void remove_pending_change_notify_requests_by_filename(files_struct *fsp);
+BOOL process_pending_change_notify_queue(time_t t);
+BOOL change_notifies_pending(void);
+BOOL change_notify_set(char *inbuf, files_struct *fsp, connection_struct *conn, uint32 flags);
+#endif
+
/*The following definitions come from smbd/nttrans.c */
#if OLD_NTDOMAIN
@@ -3256,10 +3267,6 @@ int reply_ntcancel(connection_struct *conn,
char *inbuf,char *outbuf,int length,int bufsize);
int reply_nttranss(connection_struct *conn,
char *inbuf,char *outbuf,int length,int bufsize);
-void remove_pending_change_notify_requests_by_fid(files_struct *fsp);
-void remove_pending_change_notify_requests_by_filename(files_struct *fsp);
-BOOL process_pending_change_notify_queue(time_t t);
-BOOL change_notifies_pending(void);
int reply_nttrans(connection_struct *conn,
char *inbuf,char *outbuf,int length,int bufsize);
#endif
@@ -3294,18 +3301,6 @@ BOOL attempt_close_oplocked_file(files_struct *fsp);
BOOL init_oplocks(void);
#endif
-/*The following definitions come from smbd/oplock_irix.c */
-
-#if OLD_NTDOMAIN
-struct kernel_oplocks *irix_init_kernel_oplocks(void) ;
-#endif
-
-/*The following definitions come from smbd/oplock_linux.c */
-
-#if OLD_NTDOMAIN
-struct kernel_oplocks *linux_init_kernel_oplocks(void) ;
-#endif
-
/*The following definitions come from smbd/password.c */
#if OLD_NTDOMAIN