From 6e9deed9ed4c07996b6152715d8866cbae4a8a9d Mon Sep 17 00:00:00 2001 From: Seonah Moon Date: Tue, 10 Apr 2018 16:57:53 +0900 Subject: [PATCH] Update doxygen Change-Id: I5bbbf9e000aab1d2e789aeb0b64e3a21c5d1ad34 --- include/download.h | 25 ++++++++++++++++--------- packaging/capi-web-url-download.spec | 2 +- 2 files changed, 17 insertions(+), 10 deletions(-) diff --git a/include/download.h b/include/download.h index 4e98544..b821a45 100755 --- a/include/download.h +++ b/include/download.h @@ -346,7 +346,9 @@ int download_get_network_type(int download_id, download_network_type_e *net_type * @privlevel public * @privilege %http://tizen.org/privilege/download * - * @remarks This function should be called before downloading (see download_start()). + * @remarks This function should be called before downloading (see download_start()). \n + * The mediastorage privilege http://tizen.org/privilege/mediastorage is needed if @a path is relevant to media storage.\n + * The externalstorage privilege http://tizen.org/privilege/externalstorage is needed if @a path is relevant to external storage. * * @param[in] download_id The download ID * @param[in] path The absolute path to the downloaded file \n @@ -355,13 +357,14 @@ int download_get_network_type(int download_id, download_network_type_e *net_type * @return @c 0 on success, * otherwise a negative error value * - * @retval #DOWNLOAD_ERROR_NONE Successful - * @retval #DOWNLOAD_ERROR_INVALID_PARAMETER Invalid parameter - * @retval #DOWNLOAD_ERROR_OUT_OF_MEMORY Out of memory - * @retval #DOWNLOAD_ERROR_INVALID_STATE Invalid state - * @retval #DOWNLOAD_ERROR_ID_NOT_FOUND No download ID - * @retval #DOWNLOAD_ERROR_PERMISSION_DENIED Permission denied - * @retval #DOWNLOAD_ERROR_NOT_SUPPORTED Not supported + * @retval #DOWNLOAD_ERROR_NONE Successful + * @retval #DOWNLOAD_ERROR_INVALID_PARAMETER Invalid parameter + * @retval #DOWNLOAD_ERROR_OUT_OF_MEMORY Out of memory + * @retval #DOWNLOAD_ERROR_INVALID_STATE Invalid state + * @retval #DOWNLOAD_ERROR_INVALID_DESTINATION Invalid destination + * @retval #DOWNLOAD_ERROR_ID_NOT_FOUND No download ID + * @retval #DOWNLOAD_ERROR_PERMISSION_DENIED Permission denied + * @retval #DOWNLOAD_ERROR_NOT_SUPPORTED Not supported * * @pre The state must be #DOWNLOAD_STATE_READY, #DOWNLOAD_STATE_FAILED, or #DOWNLOAD_STATE_CANCELED. * @@ -995,7 +998,10 @@ int download_get_temp_path(int download_id, char **temp_path); * @privilege %http://tizen.org/privilege/download * * @remarks If the etag value is not present in the download database, it is useless to set the temporary path. \n - * When resuming download, the data is attached at the end of this temporary file. + * When resuming download, the data is attached at the end of this temporary file. \n + * The mediastorage privilege http://tizen.org/privilege/mediastorage is needed if @a path is relevant to media storage.\n + * The externalstorage privilege http://tizen.org/privilege/externalstorage is needed if @a path is relevant to external storage. + * * @param[in] download_id The download ID * @param[out] path The full path of temporary file @@ -1005,6 +1011,7 @@ int download_get_temp_path(int download_id, char **temp_path); * * @retval #DOWNLOAD_ERROR_NONE Successful * @retval #DOWNLOAD_ERROR_INVALID_PARAMETER Invalid parameter + * @retval #DOWNLOAD_ERROR_INVALID_DESTINATION Invalid destination * @retval #DOWNLOAD_ERROR_ID_NOT_FOUND No download ID * @retval #DOWNLOAD_ERROR_PERMISSION_DENIED Permission denied * @retval #DOWNLOAD_ERROR_NOT_SUPPORTED Not supported diff --git a/packaging/capi-web-url-download.spec b/packaging/capi-web-url-download.spec index b4dbfe6..0787b11 100755 --- a/packaging/capi-web-url-download.spec +++ b/packaging/capi-web-url-download.spec @@ -1,7 +1,7 @@ Name: capi-web-url-download Summary: CAPI for content download with web url -Version: 1.2.10 +Version: 1.2.11 Release: 0 Group: Development/Libraries License: Apache-2.0 -- 2.7.4