summaryrefslogtreecommitdiffstats
path: root/source3/client/client_proto.h
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2011-12-02 10:11:17 -0800
committerJeremy Allison <jra@samba.org>2011-12-02 20:41:02 +0100
commit010566215b4d76ae5348652e1f8f175b1895849a (patch)
tree3e32e0040a19ddc106bf9999a36961e880a5a418 /source3/client/client_proto.h
parenta47780af229d433c75d810a4f345f996811caa65 (diff)
downloadsamba-010566215b4d76ae5348652e1f8f175b1895849a.tar.gz
samba-010566215b4d76ae5348652e1f8f175b1895849a.tar.xz
samba-010566215b4d76ae5348652e1f8f175b1895849a.zip
Convert smbclient to using NtCreateX by preference, fall back to openX on
'not implemented' or similar error.
Diffstat (limited to 'source3/client/client_proto.h')
-rw-r--r--source3/client/client_proto.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/client/client_proto.h b/source3/client/client_proto.h
index d119014abdc..3032e5b7aef 100644
--- a/source3/client/client_proto.h
+++ b/source3/client/client_proto.h
@@ -30,6 +30,8 @@ struct file_info;
const char *client_get_cur_dir(void);
const char *client_set_cur_dir(const char *newdir);
+NTSTATUS smbclient_cli_open(struct cli_state *cli, const char *fname, int flags,
+ int share_mode_in, uint16_t *pfnum);
NTSTATUS do_list(const char *mask,
uint16 attribute,
NTSTATUS (*fn)(struct cli_state *cli_state, struct file_info *,