How it Works?
Library LIBDF consists of Functions and data Structures which can be divided into 2 main categories.
- First category ("Comparing and Diff") contains functions and corresponding structures used to compare files and build difference files (df-files).
- Second category ("Difference Applying") contains functions used for df-files applying (i.e. reconstruction of a new (revised) file using an old file and df-file). LIBDFP library contains functions only from this category and has the smaller size comparing to LIBDF library.
- Shared Structures, used by functions from both categories above.
It is necessary to mark that almost all function of LIBDF library return an value of the type int, which encodes the output of function execution. "0" value (EDF_SUCCESS) means that function is executed successfully. Otherwise the returned value is a specific error code. The full list of error codes is provided in the "Error codes" section of this manual.
Comparing and Diff
Functions
- dfOpenCmpByNames
- dfOpenCmpByHandles
- dfCompare
- dsTestCmpResult
- dfBuildN
- dfBuildH
- dfCloseCmp
Structures
- TDfCmp
- TDfCmpOptions
- TDfCmpResult
- TDfBldOptions
Difference Applying
Functions
- dfOpenDfFile
- dfCloseDfFile
- dfGetDfInfo
- dfApplyN
- dfApplyH
- dfTouch
- dfGetExtraDataSize
- dfGetExtraData
Shared Structures
- TDfInteract
- TDfChangePhase
- TDfProgress
|