diff options
author | Jeremy Allison <jra@samba.org> | 2004-02-13 19:05:27 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2004-02-13 19:05:27 +0000 |
commit | 8b9cdc96b4886e415eccf0a8aa57adff637570fe (patch) | |
tree | 0ca71358b84d12f4e406a3253a7f1927bf07f353 /source3/include | |
parent | 608c737cdf45ff2b6e61de97f6f19dde8fea21d2 (diff) | |
download | samba-8b9cdc96b4886e415eccf0a8aa57adff637570fe.tar.gz samba-8b9cdc96b4886e415eccf0a8aa57adff637570fe.tar.bz2 samba-8b9cdc96b4886e415eccf0a8aa57adff637570fe.zip |
Fixup the 'multiple-vuids' bugs.
Jeremy.
(This used to be commit a7d4a6d1167f7657113148cdf68ea3c491b51b14)
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 7ffbe8f720..342c010124 100644 --- a/source3/include/smb.h +++ b/source3/include/smb.h @@ -423,7 +423,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); @@ -436,19 +437,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 */ @@ -468,8 +477,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; |