smbd: Cancel pending notifies if the directory goes away
[samba.git] / source3 / smbd / proto.h
index f01bbbdfedc9c1c4208f16b76e57603dc20c92cd..a5144d5e0781c753eafea23681fb314a4e83fd9f 100644 (file)
@@ -517,6 +517,9 @@ NTSTATUS change_notify_add_request(struct smb_request *req,
                                void (*reply_fn)(struct smb_request *req,
                                        NTSTATUS error_code,
                                        uint8_t *buf, size_t len));
+void smbd_notify_cancel_deleted(struct messaging_context *msg,
+                               void *private_data, uint32_t msg_type,
+                               struct server_id server_id, DATA_BLOB *data);
 void remove_pending_change_notify_requests_by_mid(
        struct smbd_server_connection *sconn, uint64_t mid);
 void remove_pending_change_notify_requests_by_fid(files_struct *fsp,