Fix description of package updateinfo APIs 57/127857/1
authorJunghyun Yeon <jungh.yeon@samsung.com>
Tue, 2 May 2017 05:01:25 +0000 (14:01 +0900)
committerJunghyun Yeon <jungh.yeon@samsung.com>
Tue, 2 May 2017 05:01:25 +0000 (14:01 +0900)
Change-Id: I49e6a5af7defee58acc7df6c1a3e4f070cfd2138
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
include/package_info.h
include/package_manager.h

index 5709922..ebbe9ab 100644 (file)
@@ -480,9 +480,9 @@ int package_info_foreach_privilege_info(package_info_h package_info, package_inf
 /**
  * @brief Gets the package update information for the given package.
  * @since_tizen 4.0
- * @remarks You must release @a package_updateinfo using package_info_updateinfo_destroy().
- * @param[in] pkgid                The ID of the package
- * @param[out] package_updateinfo  The package update information for the given package ID
+ * @remarks You must release @a info using package_info_updateinfo_destroy().
+ * @param[in]  pkgid       The ID of the package
+ * @param[out] info        The package update information for the given package ID
  * @return @c 0 on success,
  *         otherwise a negative error value
  * @retval #PACKAGE_MANAGER_ERROR_NONE              Successful
@@ -498,8 +498,8 @@ int package_info_updateinfo_create(const char *pkgid, package_updateinfo_h *info
  * @brief Gets the package name.
  * @since_tizen 4.0
  * @remarks You must release @a package using free().
- * @param[in]  package_updateinfo The package update information
- * @param[out] package            The package name
+ * @param[in]  info        The package update information
+ * @param[out] package     The package name
  * @return @c 0 on success,
  *         otherwise a negative error value
  * @retval #PACKAGE_MANAGER_ERROR_NONE              Successful
@@ -513,8 +513,8 @@ int package_info_updateinfo_get_pkgid(package_updateinfo_h info, char **package)
  * @brief Gets the update version of package.
  * @since_tizen 4.0
  * @remarks You must release @a version using free().
- * @param[in]  package_updateinfo The package update information
- * @param[out] version            The package update version
+ * @param[in]  info        The package update information
+ * @param[out] version     The package update version
  * @return @c 0 on success,
  *         otherwise a negative error value
  * @retval #PACKAGE_MANAGER_ERROR_NONE              Successful
@@ -527,8 +527,8 @@ int package_info_updateinfo_get_version(package_updateinfo_h info, char **versio
 /**
  * @brief Gets the update type of package.
  * @since_tizen 4.0
- * @param[in]  package_updateinfo The package update information
- * @param[out] type               The package update type
+ * @param[in]  info        The package update information
+ * @param[out] type        The package update type
  * @return @c 0 on success,
  *         otherwise a negative error value
  * @retval #PACKAGE_MANAGER_ERROR_NONE              Successful
@@ -541,7 +541,7 @@ int package_info_updateinfo_get_type(package_updateinfo_h info,
 /**
  * @brief Destroys the package update information handle and releases all its resources.
  * @since_tizen 4.0
- * @param[in] package_updateinfo The package update information handle
+ * @param[in] info         The package update information handle
  * @return @c 0 on success,
  *         otherwise a negative error value
  * @retval #PACKAGE_MANAGER_ERROR_NONE              Successful
index 8b31301..5616963 100644 (file)
@@ -1165,7 +1165,6 @@ int package_manager_updateinfo_set_version(package_updateinfo_request_h pkg_upda
 int package_manager_updateinfo_set_type(package_updateinfo_request_h pkg_updateinfo_req, package_updateinfo_type_e type);
 
 /**
- * @platform
  * @brief Request to register package update info in platform.
  * @since_tizen 4.0
  * @param[in] pkg_updateinfo_req    The update info request handle
@@ -1193,7 +1192,6 @@ int package_manager_updateinfo_request_register(package_updateinfo_request_h pkg
 int package_manager_updateinfo_request_destroy(package_updateinfo_request_h pkg_updateinfo_req);
 
 /**
- * @platform
  * @brief Request to unregister update info in platform for given package id.
  * @since_tizen 4.0
  * @param[in] pkg_updateinfo_req   The update info request handle
@@ -1208,7 +1206,6 @@ int package_manager_updateinfo_request_destroy(package_updateinfo_request_h pkg_
 int package_manager_updateinfo_request_unregister(package_updateinfo_request_h pkg_updateinfo_req, const char *pkgid);
 
 /**
- * @platform
  * @brief Request to unregister update info of all packages in platform.
  * @since_tizen 4.0
  * @param[in] pkg_updateinfo_req    The update info request handle