From 784adfbcbb7f3e85b81b3df5a5c8823663bac8d5 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Tue, 1 Feb 2005 00:28:20 +0000 Subject: 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) --- source3/include/smb.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'source3/include/smb.h') 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. */ -- cgit