The format of data we are sending over the network will be flexible when sending...
authorHolger Hetterich <hhetter@novell.com>
Tue, 22 Sep 2009 18:01:35 +0000 (20:01 +0200)
committerJim McDonough <jmcd@samba.org>
Tue, 16 Mar 2010 13:52:08 +0000 (09:52 -0400)
commite959bdcca4c6c879520f7f2734550c472f99836a
tree972f51cca84a45932a4fb5c2563913b04c149aec
parentdcff7d367248ec7ecf59c4f423a81b8816799ec5
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.
source3/modules/vfs_smb_traffic_analyzer.c