summaryrefslogtreecommitdiff
path: root/source3/libsmb/proto.h
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2011-12-01 13:24:22 -0800
committerJeremy Allison <jra@samba.org>2011-12-01 13:24:22 -0800
commitaf76d2588c9aab9ed0eb71ab216ea55faaa40cf2 (patch)
treea9fd4a77c5ff76bfb6e166ce75291813272c12b9 /source3/libsmb/proto.h
parent3c4af39aa506a25fc6d6753dbe34e4e1c0dd0b43 (diff)
downloadsamba-af76d2588c9aab9ed0eb71ab216ea55faaa40cf2.tar.gz
samba-af76d2588c9aab9ed0eb71ab216ea55faaa40cf2.tar.bz2
samba-af76d2588c9aab9ed0eb71ab216ea55faaa40cf2.zip
After a discussion with Volker, sdd a backup_intent state to the client struct.
This causes the backup_intent flags to be added to findfirst/findnext and ntcreate/nttrans_create calls. cli_set_backup_intent() sets the flag and returns the old value of its state.
Diffstat (limited to 'source3/libsmb/proto.h')
-rw-r--r--source3/libsmb/proto.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/libsmb/proto.h b/source3/libsmb/proto.h
index e03d721ef2..182e8c8e4d 100644
--- a/source3/libsmb/proto.h
+++ b/source3/libsmb/proto.h
@@ -155,6 +155,7 @@ bool cli_check_msdfs_proxy(TALLOC_CTX *ctx,
int cli_set_message(char *buf,int num_words,int num_bytes,bool zero);
unsigned int cli_set_timeout(struct cli_state *cli, unsigned int timeout);
+bool cli_set_backup_intent(struct cli_state *cli, bool flag);
void cli_setup_packet_buf(struct cli_state *cli, char *buf);
NTSTATUS cli_set_domain(struct cli_state *cli, const char *domain);
NTSTATUS cli_set_username(struct cli_state *cli, const char *username);