From f6e053202481631b12d75f6a552ee1aa8b355064 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Wed, 28 Mar 2012 13:22:03 +1100 Subject: build: Remove SMB_STRUCT_DIR define --- source3/modules/onefs.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'source3/modules/onefs.h') diff --git a/source3/modules/onefs.h b/source3/modules/onefs.h index 926138bdab..1f72a9f207 100644 --- a/source3/modules/onefs.h +++ b/source3/modules/onefs.h @@ -24,24 +24,24 @@ /* * vfs interface handlers */ -SMB_STRUCT_DIR *onefs_opendir(struct vfs_handle_struct *handle, +DIR *onefs_opendir(struct vfs_handle_struct *handle, const char *fname, const char *mask, uint32 attributes); struct dirent *onefs_readdir(struct vfs_handle_struct *handle, - SMB_STRUCT_DIR *dirp, SMB_STRUCT_STAT *sbuf); + DIR *dirp, SMB_STRUCT_STAT *sbuf); -void onefs_seekdir(struct vfs_handle_struct *handle, SMB_STRUCT_DIR *dirp, +void onefs_seekdir(struct vfs_handle_struct *handle, DIR *dirp, long offset); -long onefs_telldir(struct vfs_handle_struct *handle, SMB_STRUCT_DIR *dirp); +long onefs_telldir(struct vfs_handle_struct *handle, DIR *dirp); -void onefs_rewinddir(struct vfs_handle_struct *handle, SMB_STRUCT_DIR *dirp); +void onefs_rewinddir(struct vfs_handle_struct *handle, DIR *dirp); -int onefs_closedir(struct vfs_handle_struct *handle, SMB_STRUCT_DIR *dir); +int onefs_closedir(struct vfs_handle_struct *handle, DIR *dir); void onefs_init_search_op(struct vfs_handle_struct *handle, - SMB_STRUCT_DIR *dirp); + DIR *dirp); NTSTATUS onefs_create_file(vfs_handle_struct *handle, struct smb_request *req, @@ -142,7 +142,7 @@ NTSTATUS onefs_stream_prep_smb_fname(TALLOC_CTX *ctx, const struct smb_filename *smb_fname_in, struct smb_filename **smb_fname_out); -int onefs_rdp_add_dir_state(connection_struct *conn, SMB_STRUCT_DIR *dirp); +int onefs_rdp_add_dir_state(connection_struct *conn, DIR *dirp); /* * System Interfaces -- cgit