summaryrefslogtreecommitdiff
path: root/source3/modules/vfs_smb_traffic_analyzer.h
AgeCommit message (Collapse)AuthorFilesLines
2010-03-16s3: vfs_smb_traffic_analyzer.c: add VFS functions for file open and closeHolger Hetterich1-1/+14
2010-03-16smb_traffic_analyzer.c: optimize marshalling function and documentHolger Hetterich1-1/+1
Collect all data that is needed, and use only one talloc_asprintf operation to create the string of common data. This simplifies the code a bit and is most probably faster than the old method. Also, #define SMBTA_COMMON_DATA_COUNT as a complete string, speeding things up because we know the value at compile time.
2010-03-16Add the number of common data blocks to the protocol.Holger Hetterich1-6/+10
Always send the number of common data blocks first. This way, we can make the protocol backwards compatible. A receiver running with an older subprotocol can just ignore if a newer sender sends more common data. Add a few remarks to the marshalling function. Add two #define lines defining the protocol subrelease number and the number of common data blocks to the header file.
2010-03-16Put all the protocol stuff into a separate header file.Holger Hetterich1-0/+140
All the structures and the vfs function identifier list is required by the receiver. It's therefore very handy to have this in an extra header file.