LIBDF Structures: TDfBldOptions

Summary:

 

TDfBldOptions structure is assigned to transfer parameters of df-file building to functions dfBuildN and dfBuildH.

 

Syntax:

 

struct TDfBldOptions

{

};

 

Fields:

 

iCompression – sets method of df-file data compression. Only data which describes difference between compared files content is compressed.

 

Possible values:

 

-1

do not compress.

0

Compression method(s) selected automatically so that minimize the result total size of df-file (currently only bzip2 available).

1

bzip2

 

iForceOldMD5 – flag setting of which ensures that as a result of successful call of dfBuildN (or dfBuildH) an MD5 will be calculated for an old file and saved in the field md5Old of the comparing context (see TDfCmp structure description).

 

iForceNewMD5 – flag setting of which ensures that as a result of successful call of dfBuildN (or dfBuildH) an MD5 will be calculated for a new file and saved in the field md5New of the comparing context (see TDfCmp structure description).

 

lpExtraData – pointer on optional data (memory area with the size of nExtraDataSize bytes), which will be saved in a separate section of df-file (at the end of file).

Necessity of saving of additional data in df-file and data itself is determined by application.

May be set NULL value (no additional data).

 

nExtraDataSize – number of bytes of additional data.

 

Converted from CHM to HTML with chm2web Standard 2.75 (unicode)