Fix examples/VFS to use correct prototypes for is_offline() and set_offline().
[kai/samba.git] / examples / VFS / skel_opaque.c
index da126e3c0aca2c87c6061f25f42cb5ebe1f64d26..c7350e2810e108baaf96d903d16388b6eded7ed9 100644 (file)
@@ -760,13 +760,13 @@ static bool skel_aio_force(struct vfs_handle_struct *handle, struct files_struct
        return false;
 }
 
-static bool skel_is_offline(struct vfs_handle_struct *handle, const char *path, SMB_STRUCT_STAT *sbuf)
+static bool skel_is_offline(struct vfs_handle_struct *handle, const struct smb_filename *fname, SMB_STRUCT_STAT *sbuf)
 {
        errno = ENOSYS;
        return false;
 }
 
-static int skel_set_offline(struct vfs_handle_struct *handle, const char *path)
+static int skel_set_offline(struct vfs_handle_struct *handle, const struct smb_filename *fname)
 {
        errno = ENOSYS;
        return -1;