s3:smbd: make kernel oplocks event driven
[metze/samba/wip.git] / source3 / include / smb.h
index aa2db693a33eb3351b23afd2333a5b3ef26b31d5..3f71cde3955c30e975e50bbdd3ff6f981698ac78 100644 (file)
@@ -1680,12 +1680,10 @@ struct kernel_oplocks {
 /* if a kernel does support oplocks then a structure of the following
    typee is used to describe how to interact with the kernel */
 struct kernel_oplocks_ops {
-       files_struct * (*receive_message)(struct kernel_oplocks *ctx);
        bool (*set_oplock)(struct kernel_oplocks *ctx,
                           files_struct *fsp, int oplock_type);
        void (*release_oplock)(struct kernel_oplocks *ctx,
                               files_struct *fsp);
-       bool (*msg_waiting)(struct kernel_oplocks *ctx);
 };
 
 #include "smb_macros.h"