summaryrefslogtreecommitdiff
path: root/source3/client/client_proto.h
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2015-09-17 15:54:40 -0700
committerRalph Böhme <slow@samba.org>2015-09-18 07:58:15 +0200
commita47012d5429044c9a3616718bac21360f281aa81 (patch)
tree19e683e223b68cd2e410d93dcfb38dff6894b7bb /source3/client/client_proto.h
parentea53e86c256bec08373dbe86e190a7f5a06eff9d (diff)
downloadsamba-a47012d5429044c9a3616718bac21360f281aa81.tar.gz
s3: smbclient: Move cmd_setmode out of clitar.c and back into client.c
setmode <file> attribute is a valid smbclient command even if libarchive isn't on the system and tarmode isn't compiled in. Signed-off-by: Jeremy Allison <jra@samba.org> Reviewed-by: Ralph Boehme <slow@samba.org>
Diffstat (limited to 'source3/client/client_proto.h')
-rw-r--r--source3/client/client_proto.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/source3/client/client_proto.h b/source3/client/client_proto.h
index 86f1d186492..d3d40363f20 100644
--- a/source3/client/client_proto.h
+++ b/source3/client/client_proto.h
@@ -26,6 +26,11 @@
struct cli_state;
struct file_info;
+enum {
+ ATTR_UNSET,
+ ATTR_SET,
+};
+
/* The following definitions come from client/client.c */
const char *client_get_cur_dir(void);
@@ -36,6 +41,7 @@ NTSTATUS do_list(const char *mask,
const char *dir),
bool rec,
bool dirs);
+int set_remote_attr(const char *filename, uint16_t new_attr, int mode);
int cmd_iosize(void);
/* The following definitions come from client/dnsbrowse.c */