summaryrefslogtreecommitdiffstats
path: root/source/include
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>1999-01-08 20:16:54 +0000
committerJeremy Allison <jra@samba.org>1999-01-08 20:16:54 +0000
commitdc42a59473f000d97390e027c0ab616c7a6468cf (patch)
tree157487f6555554249842dd741c2375584cd6469e /source/include
parentf46172c75eaf9da1a32d95f4d51d36d2b9ca01b6 (diff)
downloadsamba-dc42a59473f000d97390e027c0ab616c7a6468cf.tar.gz
samba-dc42a59473f000d97390e027c0ab616c7a6468cf.tar.xz
samba-dc42a59473f000d97390e027c0ab616c7a6468cf.zip
Fixed the 16-bit app directory handle problem (this took *way* longer
than it should :-). SMBsearch now gets directory handles that are 8 bit in the range 1-255 and will close the oldest non-expect-close handle if the table gets full. findfirst gets 16 bit directory handles starting at 256 and above. Jeremy.
Diffstat (limited to 'source/include')
-rw-r--r--source/include/proto.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/include/proto.h b/source/include/proto.h
index f357a5b1926..bc9ea6b69e9 100644
--- a/source/include/proto.h
+++ b/source/include/proto.h
@@ -2314,11 +2314,11 @@ char *dptr_wcard(int key);
BOOL dptr_set_wcard(int key, char *wcard);
BOOL dptr_set_attr(int key, uint16 attr);
uint16 dptr_attr(int key);
-void dptr_close(int key);
+void dptr_close(int *key);
void dptr_closecnum(connection_struct *conn);
void dptr_idlecnum(connection_struct *conn);
void dptr_closepath(char *path,int pid);
-int dptr_create(connection_struct *conn,char *path, BOOL expect_close,int pid);
+int dptr_create(connection_struct *conn,char *path, BOOL old_handle, BOOL expect_close,int pid);
BOOL dptr_fill(char *buf1,unsigned int key);
BOOL dptr_zero(char *buf);
void *dptr_fetch(char *buf,int *num);