X-Git-Url: https://rtime.felk.cvut.cz/gitweb/frescor/fna.git/blobdiff_plain/fd32cdde4a2c823af49b94bf2568193bf0569014..7ebdd8b62d5f50250007c4eeab9659266cb53590:/src_frescan/frescan_bwres_analysis.h diff --git a/src_frescan/frescan_bwres_analysis.h b/src_frescan/frescan_bwres_analysis.h index ad9fca6..9058f56 100644 --- a/src_frescan/frescan_bwres_analysis.h +++ b/src_frescan/frescan_bwres_analysis.h @@ -107,14 +107,16 @@ extern int frescan_sa_add_contract(frescan_sa_scenario_t *scenario, * * @scenario: the scenario (in out) * @ss: the ss identificator (in) - * @contract: the values to update the contract (in) * @node: the node this contract belongs to (in) + * @contract: the values to update the contract (in) + * @old_contract: the values of the previous contract. Can be NULL (out) */ -extern int frescan_sa_update_contract(frescan_sa_scenario_t *scenario, - frescan_ss_t ss, +extern int frescan_sa_update_contract(frescan_sa_scenario_t *scenario, + frescan_ss_t ss, + frescan_node_t node, const frescan_contract_t *contract, - frescan_node_t node); + frescan_contract_t *old_contract); /** * frescan_sa_remove_contract() - remove a contract from the scenario