diff options
Diffstat (limited to 'source3/include')
-rw-r--r-- | source3/include/smb.h | 10 | ||||
-rw-r--r-- | source3/include/smb_macros.h | 1 |
2 files changed, 11 insertions, 0 deletions
diff --git a/source3/include/smb.h b/source3/include/smb.h index 33a33037a8..1cf315c387 100644 --- a/source3/include/smb.h +++ b/source3/include/smb.h @@ -383,6 +383,16 @@ typedef struct write_cache char *data; } write_cache; +typedef struct +{ + smb_ucs2_t *path; + smb_ucs2_t *name; + smb_ucs2_t *unixname; + smb_ucs2_t *dosname; + SMB_STRUCT_STAT *statinfo; +} smb_filename; + + typedef struct files_struct { struct files_struct *next, *prev; diff --git a/source3/include/smb_macros.h b/source3/include/smb_macros.h index 05a358573d..9978a0faa0 100644 --- a/source3/include/smb_macros.h +++ b/source3/include/smb_macros.h @@ -216,6 +216,7 @@ copy an IP address from one buffer to another ****************************************************************************/ #define unix_format(fname) string_replace(fname,'\\','/') +#define unix_format_w(fname) string_replace_w(fname, UCS2_CHAR('\\'), UCS2_CHAR('/')) /**************************************************************************** Make a file into DOS format. |