master/foe_request.c
branchstable-1.5
changeset 2522 ec403cf308eb
parent 2464 e6cc33cac6a2
--- a/master/foe_request.c	Tue Feb 12 15:30:34 2013 +0100
+++ b/master/foe_request.c	Tue Feb 12 15:46:43 2013 +0100
@@ -103,7 +103,10 @@
 
 /** Pre-allocates the data memory.
  *
- * If the \a buffer_size is already bigger than \a size, nothing is done.
+ * If the internal \a buffer_size is already bigger than \a size, nothing is
+ * done.
+ *
+ * \return Zero on success, otherwise a negative error code.
  */
 int ec_foe_request_alloc(
         ec_foe_request_t *req, /**< FoE request. */
@@ -131,6 +134,8 @@
 /** Copies FoE data from an external source.
  *
  * If the \a buffer_size is to small, new memory is allocated.
+ *
+ * \return Zero on success, otherwise a negative error code.
  */
 int ec_foe_request_copy_data(
         ec_foe_request_t *req, /**< FoE request. */