* \param[in] contractd descriptor of the contract to negotiate
* \param[out] vresd Id of vres after the contract was accepted
*
- * \return It returns FWP_CONTNEGT_ACCEPT when the contract was accepted and
- * the descriptor of created vres is returned in vresd parameter.
- * It returns FWP_CONTNEGT_REJECT when the contract was rejected.
- *
- * If an error occured it returns negative error code.
+ * \return
+ * If successful, the function returns zero and vres descriptor is
+ * stored in vresdp parameter, otherwise, an error number shall be
+ * returned to indicate the error. If the contract is not negotiated EAGAIN
+ * error is returned.
*/
int fwp_contract_negotiate(fwp_contract_d_t contractd, fwp_vres_d_t *vresdp)
{