summaryrefslogtreecommitdiffstats
path: root/source3/include/client.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/include/client.h
parent3c4af39aa506a25fc6d6753dbe34e4e1c0dd0b43 (diff)
downloadsamba-af76d2588c9aab9ed0eb71ab216ea55faaa40cf2.tar.gz
samba-af76d2588c9aab9ed0eb71ab216ea55faaa40cf2.tar.xz
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/include/client.h')
-rw-r--r--source3/include/client.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/include/client.h b/source3/include/client.h
index 0fc9f43e62..18bf26eed3 100644
--- a/source3/include/client.h
+++ b/source3/include/client.h
@@ -75,6 +75,7 @@ struct cli_state {
/* What the client requested. */
uint32_t requested_posix_capabilities;
bool dfsroot;
+ bool backup_intent;
/* the session key for this CLI, outside
any per-pipe authenticaion */