summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2011-02-25 06:43:52 -0700
committerVolker Lendecke <vlendec@samba.org>2011-03-02 18:39:21 +0100
commitcf7dac6fbccca6667e5ed20b199e80701b8a6bd4 (patch)
tree611f063cb14b4ba77be8a574dc2cd46101dfb150 /source3/include
parentc9d1e16c2c6ab5ffebbab4bd82a4cda0bb860046 (diff)
downloadsamba-cf7dac6fbccca6667e5ed20b199e80701b8a6bd4.tar.gz
samba-cf7dac6fbccca6667e5ed20b199e80701b8a6bd4.tar.bz2
samba-cf7dac6fbccca6667e5ed20b199e80701b8a6bd4.zip
s3: Pass smb_filename through the set_offline vfs op
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/vfs.h5
-rw-r--r--source3/include/vfs_macros.h8
2 files changed, 7 insertions, 6 deletions
diff --git a/source3/include/vfs.h b/source3/include/vfs.h
index 304f04356c..64820afedf 100644
--- a/source3/include/vfs.h
+++ b/source3/include/vfs.h
@@ -404,7 +404,8 @@ struct vfs_fn_pointers {
bool (*is_offline)(struct vfs_handle_struct *handle,
const struct smb_filename *fname,
SMB_STRUCT_STAT *sbuf);
- int (*set_offline)(struct vfs_handle_struct *handle, const char *path);
+ int (*set_offline)(struct vfs_handle_struct *handle,
+ const struct smb_filename *fname);
};
/*
@@ -820,6 +821,6 @@ bool smb_vfs_call_is_offline(struct vfs_handle_struct *handle,
const struct smb_filename *fname,
SMB_STRUCT_STAT *sbuf);
int smb_vfs_call_set_offline(struct vfs_handle_struct *handle,
- const char *path);
+ const struct smb_filename *fname);
#endif /* _VFS_H */
diff --git a/source3/include/vfs_macros.h b/source3/include/vfs_macros.h
index 029806d335..d04be9b5aa 100644
--- a/source3/include/vfs_macros.h
+++ b/source3/include/vfs_macros.h
@@ -607,9 +607,9 @@
#define SMB_VFS_NEXT_IS_OFFLINE(handle,fname,sbuf) \
smb_vfs_call_is_offline((handle)->next,(fname),(sbuf))
-#define SMB_VFS_SET_OFFLINE(conn,path) \
- smb_vfs_call_set_offline((conn)->vfs_handles,(path))
-#define SMB_VFS_NEXT_SET_OFFLINE(handle,path) \
- smb_vfs_call_set_offline((handle)->next, (path))
+#define SMB_VFS_SET_OFFLINE(conn,fname) \
+ smb_vfs_call_set_offline((conn)->vfs_handles,(fname))
+#define SMB_VFS_NEXT_SET_OFFLINE(handle,fname) \
+ smb_vfs_call_set_offline((handle)->next, (fname))
#endif /* _VFS_MACROS_H */