diff options
author | Jeremy Allison <jra@samba.org> | 2004-02-13 19:05:25 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2004-02-13 19:05:25 +0000 |
commit | b545a8de0a605edda11cab322dab0ad26b6cebd1 (patch) | |
tree | 62520aa7f6a7a92daceca612dd2e4cf9336c9d05 /source3/include | |
parent | 663f07d63b9dad6cff09dd8890c3c5974799b503 (diff) | |
download | samba-b545a8de0a605edda11cab322dab0ad26b6cebd1.tar.gz samba-b545a8de0a605edda11cab322dab0ad26b6cebd1.tar.bz2 samba-b545a8de0a605edda11cab322dab0ad26b6cebd1.zip |
Fixup the 'multiple-vuids' bugs.
Jeremy.
(This used to be commit f0f7a48327ba1808088bc8c4e5d48b5cbeaeb4e3)
Diffstat (limited to 'source3/include')
-rw-r--r-- | source3/include/smb.h | 29 |
1 files changed, 19 insertions, 10 deletions
diff --git a/source3/include/smb.h b/source3/include/smb.h index 24cdde30d1..37a2833d97 100644 --- a/source3/include/smb.h +++ b/source3/include/smb.h @@ -421,7 +421,8 @@ typedef struct files_struct #include "sysquotas.h" /* used to hold an arbitrary blob of data */ -typedef struct data_blob { +typedef struct data_blob +{ uint8 *data; size_t length; void (*free)(struct data_blob *data_blob); @@ -434,19 +435,27 @@ typedef struct data_blob { typedef struct { - time_t modify_time; - time_t status_time; + time_t modify_time; + time_t status_time; } dir_status_struct; -struct vuid_cache { - unsigned int entries; - uint16 list[VUID_CACHE_SIZE]; +struct vuid_cache_entry +{ + uint16 vuid; + BOOL read_only; + BOOL admin_user; +}; + +struct vuid_cache +{ + unsigned int entries; + struct vuid_cache_entry array[VUID_CACHE_SIZE]; }; typedef struct { - char *name; - BOOL is_wild; + char *name; + BOOL is_wild; } name_compare_entry; /* Include VFS stuff */ @@ -466,8 +475,8 @@ typedef struct connection_struct void *dirptr; BOOL printer; BOOL ipc; - BOOL read_only; - BOOL admin_user; + BOOL read_only; /* Attributes for the current user of the share. */ + BOOL admin_user; /* Attributes for the current user of the share. */ char *dirpath; char *connectpath; char *origpath; |