From: Martin Molnar Date: Sat, 7 Jun 2008 16:17:28 +0000 (+0200) Subject: small comentary change X-Git-Url: http://rtime.felk.cvut.cz/gitweb/frescor/fwp.git/commitdiff_plain/4680cb343f405500d86538babb249b035c0039e7 small comentary change --- diff --git a/fwp/lib/mngt/fwp_contract.c b/fwp/lib/mngt/fwp_contract.c index f988085..75a91c5 100644 --- a/fwp/lib/mngt/fwp_contract.c +++ b/fwp/lib/mngt/fwp_contract.c @@ -10,11 +10,11 @@ * \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) {