]> rtime.felk.cvut.cz Git - frescor/fwp.git/commitdiff
small comentary change
authorMartin Molnar <molnam1@fel.cvut.cz>
Sat, 7 Jun 2008 16:17:28 +0000 (18:17 +0200)
committerMartin Molnar <molnam1@fel.cvut.cz>
Sat, 7 Jun 2008 16:17:28 +0000 (18:17 +0200)
fwp/lib/mngt/fwp_contract.c

index f98808554516abd5a4bbaaeb8a359c3892a54284..75a91c520f003dc476791e1c5d99d096d11b5d86 100644 (file)
  * \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)
 {