summaryrefslogtreecommitdiff
path: root/source3/include/proto.h
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2011-02-09 15:05:58 -0800
committerJeremy Allison <jra@samba.org>2011-02-09 15:13:40 -0800
commit1607ebfe8632fa13c5ffb466b8c9f416d7ab20aa (patch)
tree8abea25027bd719eb7eb8e1fdb89371e7f72d49a /source3/include/proto.h
parent61c1f312d2665197d34245537a8f5b641bda1243 (diff)
downloadsamba-1607ebfe8632fa13c5ffb466b8c9f416d7ab20aa.tar.gz
samba-1607ebfe8632fa13c5ffb466b8c9f416d7ab20aa.tar.bz2
samba-1607ebfe8632fa13c5ffb466b8c9f416d7ab20aa.zip
Allow SMB2_FIND to actually use the open fd handle if we support fdopendir. Fallback to pathname opendir if not.
Diffstat (limited to 'source3/include/proto.h')
-rw-r--r--source3/include/proto.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h
index 0cca013143..969d12fb52 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -4547,7 +4547,8 @@ void dptr_closecnum(connection_struct *conn);
void dptr_idlecnum(connection_struct *conn);
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,
+NTSTATUS dptr_create(connection_struct *conn, files_struct *fsp,
+ 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);
void dptr_CloseDir(files_struct *fsp);
void dptr_SeekDir(struct dptr_struct *dptr, long offset);
@@ -4580,6 +4581,7 @@ bool get_dir_entry(TALLOC_CTX *ctx,
bool ask_sharemode);
bool is_visible_file(connection_struct *conn, const char *dir_path, const char *name, SMB_STRUCT_STAT *pst, bool use_veto);
struct smb_Dir *OpenDir(TALLOC_CTX *mem_ctx, connection_struct *conn,
+ files_struct *fsp,
const char *name, const char *mask, uint32 attr);
const char *ReadDirName(struct smb_Dir *dirp, long *poffset,
SMB_STRUCT_STAT *sbuf, char **talloced);