diff options
author | Jeremy Allison <jra@samba.org> | 2005-02-01 00:28:20 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 10:55:29 -0500 |
commit | 784adfbcbb7f3e85b81b3df5a5c8823663bac8d5 (patch) | |
tree | 3c083a392d79976b9972be87d8f1b07ef6e43059 /source3/include/smb.h | |
parent | f35a9c5af6226b2292dbb49b9c20bf6b4d5f3bdc (diff) | |
download | samba-784adfbcbb7f3e85b81b3df5a5c8823663bac8d5.tar.gz samba-784adfbcbb7f3e85b81b3df5a5c8823663bac8d5.tar.bz2 samba-784adfbcbb7f3e85b81b3df5a5c8823663bac8d5.zip |
r5152: Restructure the directory handling code, stop using void * pointers
that just allow the wrong pointer to be assigned :-) and make the
interface more consistent. Fix the FreeBSD directory problem. Last
thing to do is to add the "singleton" directory concept from James
Peach's code.
Jeremy.
(This used to be commit cfa8150fd9932470cb8f3b5e14c0156dda67125d)
Diffstat (limited to 'source3/include/smb.h')
-rw-r--r-- | source3/include/smb.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source3/include/smb.h b/source3/include/smb.h index c894695378..b8891fe90b 100644 --- a/source3/include/smb.h +++ b/source3/include/smb.h @@ -466,6 +466,8 @@ typedef struct #include "smb_acls.h" #include "vfs.h" +struct dptr_struct; + typedef struct connection_struct { struct connection_struct *next, *prev; @@ -475,7 +477,7 @@ typedef struct connection_struct BOOL force_user; BOOL force_group; struct vuid_cache vuid_cache; - void *dirptr; + struct dptr_struct *dirptr; BOOL printer; BOOL ipc; BOOL read_only; /* Attributes for the current user of the share. */ |