42#define DIFF_UNCHANGED 1
46#define DIFF_CONFLICT 16
95 const struct bn_tol *diff_tol,
96 int (*add_func)(
const char *attr_name,
const char *attr_val,
void *data),
97 int (*del_func)(
const char *attr_name,
const char *attr_val,
void *data),
98 int (*chgd_func)(
const char *attr_name,
const char *attr_val_left,
const char *attr_val_right,
void *data),
99 int (*unchgd_func)(
const char *attr_name,
const char *attr_val,
void *data),
109 const struct bn_tol *diff_tol,
110 int (*add_func)(
const char *attr_name,
111 const char *attr_val_left,
112 const char *attr_val_right,
114 int (*del_func)(
const char *attr_name,
115 const char *attr_val_left,
116 const char *attr_val_ancestor,
117 const char *attr_val_right,
119 int (*chgd_func)(
const char *attr_name,
120 const char *attr_val_left,
121 const char *attr_val_ancestor,
122 const char *attr_val_right,
124 int (*conflict_func)(
const char *attr_name,
125 const char *attr_val_left,
126 const char *attr_val_ancestor,
127 const char *attr_val_right,
129 int (*unchgd_func)(
const char *attr_name,
130 const char *attr_val_ancestor,
159 const struct db_i *right_dbip,
162 const struct bn_tol *diff_tol,
187 const struct db_i *ancestor,
188 const struct db_i *right,
192 const struct bn_tol *diff_tol,
216 const struct db_i *dbip_right,
217 const struct bn_tol *diff_tol,
236 const struct db_i *dbip_ancestor,
237 const struct db_i *dbip_right,
238 const struct bn_tol *diff_tol,
240 struct bu_ptbl *diff3_results);
Header file for the BRL-CAD common definitions.
int db_avs_diff(const struct bu_attribute_value_set *left_set, const struct bu_attribute_value_set *right_set, const struct bn_tol *diff_tol, int(*add_func)(const char *attr_name, const char *attr_val, void *data), int(*del_func)(const char *attr_name, const char *attr_val, void *data), int(*chgd_func)(const char *attr_name, const char *attr_val_left, const char *attr_val_right, void *data), int(*unchgd_func)(const char *attr_name, const char *attr_val, void *data), void *client_data)
void diff_init_avp(struct diff_avp *attr_result)
void diff_free_avp(struct diff_avp *attr_result)
int db_diff3(const struct db_i *dbip_left, const struct db_i *dbip_ancestor, const struct db_i *dbip_right, const struct bn_tol *diff_tol, db_compare_criteria_t flags, struct bu_ptbl *diff3_results)
void diff_free_result(struct diff_result *result)
int db_diff(const struct db_i *dbip_left, const struct db_i *dbip_right, const struct bn_tol *diff_tol, db_compare_criteria_t flags, struct bu_ptbl *diff_results)
void diff_init_result(struct diff_result *result, const struct bn_tol *curr_diff_tol, const char *object_name)
int db_avs_diff3(const struct bu_attribute_value_set *left_set, const struct bu_attribute_value_set *ancestor_set, const struct bu_attribute_value_set *right_set, const struct bn_tol *diff_tol, int(*add_func)(const char *attr_name, const char *attr_val_left, const char *attr_val_right, void *data), int(*del_func)(const char *attr_name, const char *attr_val_left, const char *attr_val_ancestor, const char *attr_val_right, void *data), int(*chgd_func)(const char *attr_name, const char *attr_val_left, const char *attr_val_ancestor, const char *attr_val_right, void *data), int(*conflict_func)(const char *attr_name, const char *attr_val_left, const char *attr_val_ancestor, const char *attr_val_right, void *data), int(*unchgd_func)(const char *attr_name, const char *attr_val_ancestor, void *data), void *client_data)
int db_diff3_dp(const struct db_i *left, const struct db_i *ancestor, const struct db_i *right, const struct directory *left_dp, const struct directory *ancestor_dp, const struct directory *right_dp, const struct bn_tol *diff_tol, db_compare_criteria_t flags, struct diff_result *result)
int db_diff_dp(const struct db_i *left_dbip, const struct db_i *right_dbip, const struct directory *left_dp, const struct directory *right_dp, const struct bn_tol *diff_tol, db_compare_criteria_t flags, struct diff_result *result)
const struct directory * dp_ancestor
struct bu_ptbl * param_diffs
const struct directory * dp_left
struct bu_ptbl * attr_diffs
const struct directory * dp_right