diff options
author | Jeremy Allison <jra@samba.org> | 2010-10-29 11:56:51 -0700 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2010-10-29 19:40:16 +0000 |
commit | 14ff2e8de9bd8d0064762234555260f5eea643fe (patch) | |
tree | abd73a321e4f9855c9fcaf729d7a9ef7f91112ab /source3/client/client_proto.h | |
parent | 606a447503defdeddc84ae03e06b392517c840c5 (diff) | |
download | samba-14ff2e8de9bd8d0064762234555260f5eea643fe.tar.gz samba-14ff2e8de9bd8d0064762234555260f5eea643fe.tar.bz2 samba-14ff2e8de9bd8d0064762234555260f5eea643fe.zip |
Fix bug #7700 - Improvement of return code of smbclient
Based on an initial patch from H Hasegawa <hasegawa.hiroyuki@fujixerox.co.jp>.
Convert cli_list and associated functions to take calls that return NTSTATUS.
Jeremy.
Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Fri Oct 29 19:40:16 UTC 2010 on sn-devel-104
Diffstat (limited to 'source3/client/client_proto.h')
-rw-r--r-- | source3/client/client_proto.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/client/client_proto.h b/source3/client/client_proto.h index 8623435e24..fa3ca40d6b 100644 --- a/source3/client/client_proto.h +++ b/source3/client/client_proto.h @@ -28,9 +28,9 @@ const char *client_get_cur_dir(void); const char *client_set_cur_dir(const char *newdir); -void do_list(const char *mask, +NTSTATUS do_list(const char *mask, uint16 attribute, - void (*fn)(struct cli_state *cli_state, struct file_info *, + NTSTATUS (*fn)(struct cli_state *cli_state, struct file_info *, const char *dir), bool rec, bool dirs); |