diff options
author | Holger Hetterich <hhetter@novell.com> | 2009-09-22 20:01:35 +0200 |
---|---|---|
committer | Jim McDonough <jmcd@samba.org> | 2010-03-16 09:52:08 -0400 |
commit | e959bdcca4c6c879520f7f2734550c472f99836a (patch) | |
tree | 972f51cca84a45932a4fb5c2563913b04c149aec /examples/pcap2nbench/ntcreateandxrequest.hpp | |
parent | dcff7d367248ec7ecf59c4f423a81b8816799ec5 (diff) | |
download | samba-e959bdcca4c6c879520f7f2734550c472f99836a.tar.gz samba-e959bdcca4c6c879520f7f2734550c472f99836a.tar.bz2 samba-e959bdcca4c6c879520f7f2734550c472f99836a.zip |
The format of data we are sending over the network will be flexible when sending over the network in protocol v2. To be able to do this, we create a new va-list function that is creating the buffer to send. Also it makes it easier for the receiver to parse the data; it sends an initial header containing the full length of the buffer to be send. For the individual strings, it sends sub headers containing the length of the upcoming substring to be send. With the header-data-header-data [..] structure we don't need to quote the sub strings finally enabling having all possible character sets in filenames etc..
In the sending function, implement mkdir to actually send it's data
for testing.
Diffstat (limited to 'examples/pcap2nbench/ntcreateandxrequest.hpp')
0 files changed, 0 insertions, 0 deletions