s3:smbd: fix max_buffer handling of initial notify requests
[nivanova/samba-autobuild/.git] / source3 / smbd / proto.h
index 3662a925dd6ca1eeab7c0e301362ab16e4fdcc22..fdb0ffabf752ca2550ac6e0f1de5c891fd462760 100644 (file)
@@ -542,7 +542,9 @@ void change_notify_reply(struct smb_request *req,
 void notify_callback(struct smbd_server_connection *sconn,
                     void *private_data, struct timespec when,
                     const struct notify_event *e);
-NTSTATUS change_notify_create(struct files_struct *fsp, uint32_t filter,
+NTSTATUS change_notify_create(struct files_struct *fsp,
+                             uint32_t max_buffer_size,
+                             uint32_t filter,
                              bool recursive);
 NTSTATUS change_notify_add_request(struct smb_request *req,
                                uint32_t max_param,