summaryrefslogtreecommitdiff
path: root/source3/libsmb/cli_np_tstream.h
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2010-09-04 11:01:55 +0200
committerStefan Metzmacher <metze@samba.org>2010-12-15 15:26:05 +0100
commit0df669e14111de741ded8445a2acc00a51a50413 (patch)
tree155c516345e09af9ef4632de11bd5cb535bd1f28 /source3/libsmb/cli_np_tstream.h
parente08c324fc5ed9d7d4970fc7a7b6b13bff38ace59 (diff)
downloadsamba-0df669e14111de741ded8445a2acc00a51a50413.tar.gz
samba-0df669e14111de741ded8445a2acc00a51a50413.tar.bz2
samba-0df669e14111de741ded8445a2acc00a51a50413.zip
s3:libsmb: add tstream_cli_np_use_trans() and the needed logic
tstream_cli_np_use_trans() defers the next tstream_writev to the next tstream_readv and send both as an SMBtrans request. metze
Diffstat (limited to 'source3/libsmb/cli_np_tstream.h')
-rw-r--r--source3/libsmb/cli_np_tstream.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/libsmb/cli_np_tstream.h b/source3/libsmb/cli_np_tstream.h
index c6f5231f81..647a4abb37 100644
--- a/source3/libsmb/cli_np_tstream.h
+++ b/source3/libsmb/cli_np_tstream.h
@@ -46,4 +46,6 @@ NTSTATUS _tstream_cli_np_existing(TALLOC_CTX *mem_ctx,
bool tstream_is_cli_np(struct tstream_context *stream);
+NTSTATUS tstream_cli_np_use_trans(struct tstream_context *stream);
+
#endif /* _CLI_NP_TSTREAM_H_ */