*
* @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