Skip to content

Commit

Permalink
s3:include: move struct smb_filename to vfs.h
Browse files Browse the repository at this point in the history
metze
  • Loading branch information
metze-samba committed Jun 6, 2012
1 parent 22cfc8e commit 4a22dd6
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
10 changes: 0 additions & 10 deletions source3/include/smb.h
Original file line number Diff line number Diff line change
Expand Up @@ -1041,16 +1041,6 @@ struct smb_extended_info {
#define UCF_POSIX_PATHNAMES 0x00000008
#define UCF_UNIX_NAME_LOOKUP 0x00000010

/*
* smb_filename
*/
struct smb_filename {
char *base_name;
char *stream_name;
char *original_lcomp;
SMB_STRUCT_STAT st;
};

/* Used to keep track of deferred opens. */
struct deferred_open_record;

Expand Down
10 changes: 10 additions & 0 deletions source3/include/vfs.h
Original file line number Diff line number Diff line change
Expand Up @@ -358,6 +358,16 @@ struct smb_file_time {
struct timespec create_time;
};

/*
* smb_filename
*/
struct smb_filename {
char *base_name;
char *stream_name;
char *original_lcomp;
SMB_STRUCT_STAT st;
};

#define VFS_FIND(__fn__) while (handle->fns->__fn__##_fn==NULL) { \
handle = handle->next; \
}
Expand Down

0 comments on commit 4a22dd6

Please sign in to comment.