summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/include/proto.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h
index eabacd4d21..e801f779f6 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -880,7 +880,7 @@ BOOL is_posix_locked(files_struct *fsp, SMB_BIG_UINT u_offset, SMB_BIG_UINT u_co
BOOL set_posix_lock(files_struct *fsp, SMB_BIG_UINT u_offset, SMB_BIG_UINT u_count, enum brl_type lock_type);
BOOL release_posix_lock(files_struct *fsp, SMB_BIG_UINT u_offset, SMB_BIG_UINT u_count);
void posix_locking_close_file(files_struct *fsp);
-BOOL posix_locking_init(void);
+BOOL posix_locking_init(int read_only);
BOOL posix_locking_end(void);
/*The following definitions come from msdfs/msdfs.c */
@@ -3266,6 +3266,12 @@ BOOL init_change_notify(void);
struct cnotify_fns *hash_notify_init(void) ;
#endif
+/*The following definitions come from smbd/notify_kernel.c */
+
+#if OLD_NTDOMAIN
+struct cnotify_fns *kernel_notify_init(void) ;
+#endif
+
/*The following definitions come from smbd/nttrans.c */
#if OLD_NTDOMAIN