summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2011-02-08 15:05:00 -0800
committerJeremy Allison <jra@samba.org>2011-02-08 15:06:00 -0800
commit224fc03cb56b0d76f6ad7f18dd0528d6b0e57fb1 (patch)
treec7729d94124f674ce87419a8ff6b758b00cde445 /source3/include
parentad3d1adea3cdf42aee644dd853193b53a142c2f1 (diff)
downloadsamba-224fc03cb56b0d76f6ad7f18dd0528d6b0e57fb1.tar.gz
samba-224fc03cb56b0d76f6ad7f18dd0528d6b0e57fb1.tar.bz2
samba-224fc03cb56b0d76f6ad7f18dd0528d6b0e57fb1.zip
Pass fsp to dptr_CloseDir(). Cope with setting the fd if we're closing an fd that opendir knows about.
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/proto.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h
index 77a7a4055a..00e9de4c13 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -4548,7 +4548,7 @@ void dptr_closepath(struct smbd_server_connection *sconn,
char *path,uint16 spid);
NTSTATUS dptr_create(connection_struct *conn, const char *path, bool old_handle, bool expect_close,uint16 spid,
const char *wcard, bool wcard_has_wild, uint32 attr, struct dptr_struct **dptr_ret);
-int dptr_CloseDir(struct dptr_struct *dptr);
+void dptr_CloseDir(files_struct *fsp);
void dptr_SeekDir(struct dptr_struct *dptr, long offset);
long dptr_TellDir(struct dptr_struct *dptr);
bool dptr_has_wild(struct dptr_struct *dptr);