132 const gboolean merge_iop_order,
const gboolean used_source_order,
void dt_hm_set_merge_report_handler(dt_hm_merge_report_handler_t handler)
dt_hm_constraint_choice_t(* dt_hm_constraints_choice_handler_t)(GHashTable *id_ht, const char *faulty_id, const char *src_prev, const char *src_next, const char *dst_prev, const char *dst_next)
void dt_hm_set_constraints_choice_handler(dt_hm_constraints_choice_handler_t handler)
void _hm_id_to_op_name(const char *id, char *op, char *name)
char * _hm_make_node_id(const char *op, const char *multi_name)
void(* dt_hm_toposort_cycle_handler_t)(GList *cycle_nodes, GHashTable *id_ht)
int dt_history_merge(struct dt_develop_t *dev_dest, struct dt_develop_t *dev_src, const int32_t dest_imgid, const GList *mod_list, const gboolean merge_iop_order, const dt_history_merge_strategy_t strategy, const gboolean force_new_modules, const char *source_label, dt_hm_batch_state_t *batch)
Merge a list of modules into a destination image, solving pipeline topologies for proper insertion of...
dt_hm_constraint_choice_t
@ DT_HM_CONSTRAINTS_PREFER_DEST
@ DT_HM_CONSTRAINTS_PREFER_SRC
int _hm_build_last_history_by_id(const struct dt_develop_t *dev, GHashTable **out_map)
gboolean(* dt_hm_merge_report_handler_t)(struct dt_develop_t *dev_dest, struct dt_develop_t *dev_src, const gboolean merge_iop_order, const gboolean used_source_order, const dt_history_merge_strategy_t strategy, GHashTable *src_last_by_id, GHashTable *dst_last_before_by_id, const GHashTable *orig_ids, const GHashTable *mod_list_ids, const char *source_label, dt_hm_batch_state_t *batch)
void dt_hm_batch_state_cleanup(dt_hm_batch_state_t *batch)
Release resources held by a batch state (the cached order). Safe to call on a zeroed state.
void dt_hm_set_missing_raster_handler(dt_hm_missing_raster_handler_t handler)
void dt_hm_set_toposort_cycle_handler(dt_hm_toposort_cycle_handler_t handler)
dt_history_merge_strategy_t
@ DT_HISTORY_MERGE_REPLACE
@ DT_HISTORY_MERGE_PREPEND
@ DT_HISTORY_MERGE_APPEND
gboolean(* dt_hm_missing_raster_handler_t)(const GList *mod_list)