Go to the source code of this file.
◆ RZ_DIFF_DEFAULT_N_GROUPS
#define RZ_DIFF_DEFAULT_N_GROUPS 3 |
◆ RZ_DIFF_OP_SIZE_A
#define RZ_DIFF_OP_SIZE_A |
( |
|
op | ) |
(((op)->a_end) - ((op)->a_beg)) |
◆ RZ_DIFF_OP_SIZE_B
#define RZ_DIFF_OP_SIZE_B |
( |
|
op | ) |
(((op)->b_end) - ((op)->b_beg)) |
◆ RzDiff
◆ RzDiffIgnoreByte
◆ RzDiffIgnoreLine
◆ RzDiffMatch
◆ RzDiffMethodCompare
◆ RzDiffMethodElemAt
This interface allows to analyze any data using the same algorithm elem_at(array, index) [required] must return the an element of the array at position 'index' elem_hash(elem) [required] must return the hash value of the element (use rz_diff_hash_data) compare(a_elem, b_elem) [required] must return true if the two elements are the same stringify(elem, sb) [required] appends into sb the stringified element of the array ignore(elem) [optional] must return true if the element matches the user define rule (if set to NULL, it will be considered as always false)
Definition at line 36 of file rz_diff.h.
◆ RzDiffMethodElemHash
◆ RzDiffMethodIgnore
◆ RzDiffMethods
◆ RzDiffMethodStringify
◆ RzDiffOp
◆ RzDiffOpType
◆ rz_diff_op_type_t
Enumerator |
---|
RZ_DIFF_OP_INVALID | |
RZ_DIFF_OP_DELETE | |
RZ_DIFF_OP_EQUAL | |
RZ_DIFF_OP_INSERT | |
RZ_DIFF_OP_REPLACE | |
Definition at line 19 of file rz_diff.h.
enum rz_diff_op_type_t RzDiffOpType
◆ RZ_LIB_VERSION_HEADER()
RZ_LIB_VERSION_HEADER |
( |
rz_diff |
| ) |
|