diff -r 3d68bb0047a1 -r ec403cf308eb master/fsm_foe.c --- a/master/fsm_foe.c Tue Feb 12 15:30:34 2013 +0100 +++ b/master/fsm_foe.c Tue Feb 12 15:46:43 2013 +0100 @@ -230,9 +230,11 @@ /*****************************************************************************/ /** Sends a file or the next fragment. + * + * \return Zero on success, otherwise a negative error code. */ int ec_foe_prepare_data_send( - ec_fsm_foe_t *fsm, + ec_fsm_foe_t *fsm, /**< Finite state machine. */ ec_datagram_t *datagram /**< Datagram to use. */ ) { @@ -270,6 +272,8 @@ /*****************************************************************************/ /** Prepare a write request (WRQ) with filename + * + * \return Zero on success, otherwise a negative error code. */ int ec_foe_prepare_wrq_send( ec_fsm_foe_t *fsm, /**< Finite state machine. */ @@ -545,6 +549,8 @@ /*****************************************************************************/ /** Prepare a read request (RRQ) with filename + * + * \return Zero on success, otherwise a negative error code. */ int ec_foe_prepare_rrq_send( ec_fsm_foe_t *fsm, /**< Finite state machine. */ @@ -577,6 +583,8 @@ /*****************************************************************************/ /** Prepare to send an acknowledge. + * + * \return Zero on success, otherwise a negative error code. */ int ec_foe_prepare_send_ack( ec_fsm_foe_t *fsm, /**< FoE statemachine. */