* @privlevel platform
* @privilege %http://tizen.org/privilege/packagemanager.admin
* @param[in] request The request handle
- * @param[in] paths The array of absolute paths to the package to be installed
- * @param[in] n_paths The number of paths in array
- * @param[out] id The ID of the request to the package manager
+ * @param[in] paths The array of absolute paths to the packages to be installed
+ * @param[in] paths_count The number of paths in array
+ * @param[out] id The ID of the request to the package manager
* @return @c 0 on success,
* otherwise a negative error value
* @retval #PACKAGE_MANAGER_ERROR_NONE Successful
*/
int package_manager_request_install_packages(package_manager_request_h request,
const char **paths,
- int n_paths,
+ int paths_count,
int *id);
/**
* @since_tizen 6.0
* @privlevel platform
* @privilege %http://tizen.org/privilege/packagemanager.admin
- * @param[in] request The request handle
- * @param[in] paths The array of absolute paths to the package to be installed
- * @param[in] n_paths The number of paths in array
- * @param[in] callback The callback function to be invoked
- * @param[in] user_data The user data to be passed to the callback function
- * @param[out] id The ID of the request to the package manager
+ * @param[in] request The request handle
+ * @param[in] paths The array of absolute paths to the packages to be installed
+ * @param[in] paths_count The number of paths in array
+ * @param[in] callback The callback function to be invoked
+ * @param[in] user_data The user data to be passed to the callback function
+ * @param[out] id The ID of the request to the package manager
* @return @c 0 on success,
* otherwise a negative error value
* @retval #PACKAGE_MANAGER_ERROR_NONE Successful
*/
int package_manager_request_install_packages_with_cb(package_manager_request_h request,
const char **paths,
- int n_paths,
+ int paths_count,
package_manager_request_event_cb callback,
void *user_data,
int *id);
* @since_tizen 6.0
* @privlevel platform
* @privilege %http://tizen.org/privilege/packagemanager.admin
- * @param[in] request The request handle
- * @param[in] paths The array of absolute paths to the package to be installed
- * @param[in] n_paths The number of paths in array
- * @param[out] id The ID of the request to the package manager
+ * @param[in] request The request handle
+ * @param[in] paths The array of absolute paths to the packages to be installed
+ * @param[in] paths_count The number of paths in array
+ * @param[out] id The ID of the request to the package manager
* @return @c 0 on success,
* otherwise a negative error value
* @retval #PACKAGE_MANAGER_ERROR_NONE Successful
*/
int package_manager_request_mount_install_packages(package_manager_request_h request,
const char **paths,
- int n_paths,
+ int paths_count,
int *id);
/**
* @since_tizen 6.0
* @privlevel platform
* @privilege %http://tizen.org/privilege/packagemanager.admin
- * @param[in] request The request handle
- * @param[in] paths The array of absolute paths to the package to be installed
- * @param[in] n_paths The number of paths in array
- * @param[in] callback The callback function to be invoked
- * @param[in] user_data The user data to be passed to the callback function
- * @param[out] id The ID of the request to the package manager
+ * @param[in] request The request handle
+ * @param[in] paths The array of absolute paths to the packages to be installed
+ * @param[in] paths_count The number of paths in array
+ * @param[in] callback The callback function to be invoked
+ * @param[in] user_data The user data to be passed to the callback function
+ * @param[out] id The ID of the request to the package manager
* @return @c 0 on success,
* otherwise a negative error value
* @retval #PACKAGE_MANAGER_ERROR_NONE Successful
*/
int package_manager_request_mount_install_packages_with_cb(package_manager_request_h request,
const char **paths,
- int n_paths,
+ int paths_count,
package_manager_request_event_cb callback,
void *user_data,
int *id);
API int package_manager_request_install_packages(
package_manager_request_h request, const char **paths,
- int n_paths, int *id)
+ int paths_count, int *id)
{
- return __request_install_packages(request, paths, n_paths, NULL, id);
+ return __request_install_packages(request, paths, paths_count, NULL, id);
}
API int package_manager_request_install_packages_with_cb(
package_manager_request_h request, const char **paths,
- int n_paths, package_manager_request_event_cb callback,
+ int paths_count, package_manager_request_event_cb callback,
void *user_data, int *id)
{
int ret;
if (request->request_cb_table == NULL)
__initialize_request_cb_table(request);
- ret = __request_install_packages(request, paths, n_paths,
+ ret = __request_install_packages(request, paths, paths_count,
internal_request_callback, &req_id);
if (req_id > 0) {
API int package_manager_request_mount_install_packages(
package_manager_request_h request, const char **paths,
- int n_paths, int *id)
+ int paths_count, int *id)
{
- return __request_mount_install_packages(request, paths, n_paths, NULL,
+ return __request_mount_install_packages(request, paths, paths_count, NULL,
id);
}
API int package_manager_request_mount_install_packages_with_cb(
package_manager_request_h request, const char **paths,
- int n_paths, package_manager_request_event_cb callback,
+ int paths_count, package_manager_request_event_cb callback,
void *user_data, int *id)
{
int ret;
if (request->request_cb_table == NULL)
__initialize_request_cb_table(request);
- ret = __request_mount_install_packages(request, paths, n_paths,
+ ret = __request_mount_install_packages(request, paths, paths_count,
internal_request_callback, &req_id);
if (req_id > 0) {