* @retval #ODE_ERROR_NONE Successful
* @retval #ODE_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #ODE_ERROR_CONNECTION_REFUSED Connection to the server failed
- * @retval #ODE_ERROR_OUT_OF_MEMORY Out of memory
- * @retval #ODE_ERROR_NO_SUCH_FILE Wrong device
- * @retval #ODE_ERROR_RESOURCE_BUSY Device is busy
- * @retval #ODE_ERROR_UNKNOWN Unknown error
+ *
+ * @note The following return codes can be passed to the callback
+ * function as a result of this function call:
+ * #ODE_ERROR_NONE Successful
+ * #ODE_ERROR_INVALID_PARAMETER Invalid parameter
+ * #ODE_ERROR_OUT_OF_MEMORY Out of memory
+ * #ODE_ERROR_NO_SUCH_FILE Wrong device
+ * #ODE_ERROR_RESOURCE_BUSY Device is busy
+ * #ODE_ERROR_UNKNOWN Unknown error
*
* @pre The @a device must be present and neither mapped nor mounted.
*
* @retval #ODE_ERROR_NONE Successful
* @retval #ODE_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #ODE_ERROR_CONNECTION_REFUSED Connection to the server failed
- * @retval #ODE_ERROR_KEY_REJECTED Wrong password
- * @retval #ODE_ERROR_OUT_OF_MEMORY Out of memory
- * @retval #ODE_ERROR_NO_SUCH_FILE Wrong device or mapping
- * @retval #ODE_ERROR_RESOURCE_BUSY Device is busy
- * @retval #ODE_ERROR_UNKNOWN Unknown error
+ *
+ * @note The following return codes can be passed to the callback
+ * function as a result of this function call:
+ * #ODE_ERROR_NONE Successful
+ * #ODE_ERROR_INVALID_PARAMETER Invalid parameter
+ * #ODE_ERROR_KEY_REJECTED Wrong password
+ * #ODE_ERROR_OUT_OF_MEMORY Out of memory
+ * #ODE_ERROR_NO_SUCH_FILE Wrong device or mapping
+ * #ODE_ERROR_RESOURCE_BUSY Device is busy
+ * #ODE_ERROR_UNKNOWN Unknown error
*
* @pre The @a device must be a LUKS device formatted with
* ode_luks_format(). The mapping must not exist.
* @retval #ODE_ERROR_NONE Successful
* @retval #ODE_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #ODE_ERROR_CONNECTION_REFUSED Connection to the server failed
- * @retval #ODE_ERROR_OUT_OF_MEMORY Out of memory
- * @retval #ODE_ERROR_NO_SUCH_FILE Wrong mapping
- * @retval #ODE_ERROR_RESOURCE_BUSY Device is busy
- * @retval #ODE_ERROR_UNKNOWN Unknown error
+ *
+ * @note The following return codes can be passed to the callback
+ * function as a result of this function call:
+ * #ODE_ERROR_NONE Successful
+ * #ODE_ERROR_INVALID_PARAMETER Invalid parameter
+ * #ODE_ERROR_OUT_OF_MEMORY Out of memory
+ * #ODE_ERROR_NO_SUCH_FILE Wrong mapping
+ * #ODE_ERROR_RESOURCE_BUSY Device is busy
+ * #ODE_ERROR_UNKNOWN Unknown error
*
* @pre The mapping must be created by a call to ode_luks_open().
* The mapping must not be mounted.