* @ss: the local sporadic server ID
* @request_node: the node that performed the request
* @req: the request id of the SLAVE to identify the request in the reply
- * @return_value: the value returned in a Reply
+ * @return_value: the value returned in a Reply (accepted or not)
+ * @final_values: the values for the ss after the negotiation
* @net: the network instance where this request belongs to
* @robj: a reply object to wait until a negotiation is completed
*
typedef enum {
FRESCAN_REQ_ACCEPTED = 0, // the (re)negotiation is accepted
FRESCAN_REQ_NOT_ACCEPTED = 1, // the (re)negotiation is not accepted
- FRESCAN_REQ_ERROR = 2, // error during the (re)negotiation
} frescan_request_retval_t;
typedef struct {
- frescan_request_type_t type;
- frescan_contract_t *contract;
- frescan_ss_t ss;
- frescan_node_t request_node;
- frescan_request_id_t req;
- frescan_request_retval_t return_value;
- frescan_network_t net;
- frescan_robj_id_t robj;
+ frescan_request_type_t type;
+ frescan_contract_t *contract;
+ frescan_ss_t ss;
+ frescan_node_t request_node;
+ frescan_request_id_t req;
+ frescan_request_retval_t return_value;
+ frescan_sa_final_values_t final_values;
+ frescan_network_t net;
+ frescan_robj_id_t robj;
} frescan_request_data_t;
/**