From 5d9a9ef137029f6f3e2ac2568a7ae28b42a27a12 Mon Sep 17 00:00:00 2001 From: hyunuktak Date: Tue, 12 Feb 2019 10:29:53 +0900 Subject: [PATCH] Remove get/foreach restriction list Change-Id: I07e5c3f01e857d961c99550e7922b482b9ff561b Signed-off-by: hyunuktak --- include/stc_mgr_internal.h | 107 ------------------------------------- 1 file changed, 107 deletions(-) diff --git a/include/stc_mgr_internal.h b/include/stc_mgr_internal.h index 57d4209..e3c8828 100755 --- a/include/stc_mgr_internal.h +++ b/include/stc_mgr_internal.h @@ -436,8 +436,6 @@ int stc_get_restriction_type(stc_h stc, stc_restriction_rule_h rule, * @see stc_restriction_rule_get_subscriber_id() * @see stc_restriction_rule_get_process_state() * @see stc_restriction_list_create() - * @see stc_get_restriction_from_list() - * @see stc_foreach_restriction_list() * @see stc_remove_restriction_rule_from_list() * @see stc_set_restriction_list() * @see stc_unset_restriction_list() @@ -484,8 +482,6 @@ int stc_add_restriction_rule_to_list(stc_restriction_list_h list_h, * @see stc_restriction_rule_get_subscriber_id() * @see stc_restriction_rule_get_process_state() * @see stc_restriction_list_create() - * @see stc_get_restriction_from_list() - * @see stc_foreach_restriction_list() * @see stc_add_restriction_rule_to_list() * @see stc_set_restriction_list() * @see stc_unset_restriction_list() @@ -493,105 +489,6 @@ int stc_add_restriction_rule_to_list(stc_restriction_list_h list_h, int stc_remove_restriction_rule_from_list(stc_restriction_list_h list_h, stc_restriction_rule_h rule_h); -/** - * @brief Gets the restriction from list. - * @since_tizen 5.5 - * @privlevel platform - * @privilege %http://tizen.org/privilege/network.get - * - * @param[in] stc The stc handle - * @param[in] list The restriction list handle - * @param[in] rule_cb The callback is called for each application - * that applied restriction in interface specified - * @param[in] user_data User data will be passed to the callback function - * - * @return 0 on success, otherwise a negative error value - * @retval #STC_ERROR_NONE Successful - * @retval #STC_ERROR_OPERATION_FAILED General error - * @retval #STC_ERROR_OUT_OF_MEMORY Out of memory - * @retval #STC_ERROR_INVALID_PARAMETER Invalid parameter - * @retval #STC_ERROR_INVALID_OPERATION Invalid operation - * @retval #STC_ERROR_NOT_INITIALIZED Not initialized - * @retval #STC_ERROR_NOT_SUPPORTED Not supported - * @retval #STC_ERROR_PERMISSION_DENIED Permission denied - * - * @see #stc_restriction_list_h - * @see #stc_restriction_rule_h - * @see stc_initialize() - * @see stc_restriction_rule_create() - * @see stc_restriction_rule_destroy() - * @see stc_restriction_rule_set_app_id() - * @see stc_restriction_rule_set_iface_name() - * @see stc_restriction_rule_set_iface_type() - * @see stc_restriction_rule_set_limit() - * @see stc_restriction_rule_set_warning_limit() - * @see stc_restriction_rule_set_roaming_type() - * @see stc_restriction_rule_set_subscriber_id() - * @see stc_restriction_rule_get_app_id() - * @see stc_restriction_rule_get_iface_type() - * @see stc_restriction_rule_get_limit() - * @see stc_restriction_rule_get_warning_limit() - * @see stc_restriction_rule_get_roaming_type() - * @see stc_restriction_rule_get_subscriber_id() - * @see stc_restriction_rule_get_process_state() - * @see stc_restriction_list_create() - * @see stc_add_restriction_rule_to_list() - * @see stc_foreach_restriction_list() - * @see stc_remove_restriction_rule_from_list() - * @see stc_set_restriction_list() - * @see stc_unset_restriction_list() - */ -int stc_get_restriction_from_list(stc_h stc, stc_restriction_list_h list, - stc_restriction_rule_cb rule_cb, void *user_data); - -/** - * @brief Gets the restriction list. - * @since_tizen 5.5 - * @privlevel platform - * @privilege %http://tizen.org/privilege/network.get - * - * @param[in] stc The stc handle - * @param[in] list_cb The callback is called for each restriction list - * @param[in] user_data User data will be passed to the callback function - * - * @return 0 on success, otherwise a negative error value - * @retval #STC_ERROR_NONE Successful - * @retval #STC_ERROR_OPERATION_FAILED General error - * @retval #STC_ERROR_OUT_OF_MEMORY Out of memory - * @retval #STC_ERROR_INVALID_PARAMETER Invalid parameter - * @retval #STC_ERROR_INVALID_OPERATION Invalid operation - * @retval #STC_ERROR_NOT_INITIALIZED Not initialized - * @retval #STC_ERROR_NOT_SUPPORTED Not supported - * @retval #STC_ERROR_PERMISSION_DENIED Permission denied - * - * @see #stc_restriction_list_h - * @see #stc_restriction_rule_h - * @see stc_initialize() - * @see stc_restriction_rule_create() - * @see stc_restriction_rule_destroy() - * @see stc_restriction_rule_set_app_id() - * @see stc_restriction_rule_set_iface_name() - * @see stc_restriction_rule_set_iface_type() - * @see stc_restriction_rule_set_limit() - * @see stc_restriction_rule_set_warning_limit() - * @see stc_restriction_rule_set_roaming_type() - * @see stc_restriction_rule_set_subscriber_id() - * @see stc_restriction_rule_get_app_id() - * @see stc_restriction_rule_get_iface_type() - * @see stc_restriction_rule_get_limit() - * @see stc_restriction_rule_get_warning_limit() - * @see stc_restriction_rule_get_roaming_type() - * @see stc_restriction_rule_get_subscriber_id() - * @see stc_restriction_rule_get_process_state() - * @see stc_restriction_list_create() - * @see stc_get_restriction_list() - * @see stc_add_restriction_rule_to_list() - * @see stc_remove_restriction_rule_from_list() - * @see stc_set_restriction_list() - * @see stc_unset_restriction_list() - */ -int stc_foreach_restriction_list(stc_h stc, stc_restriction_list_cb list_cb, void *user_data); - /** * @brief Sets the restriction list. * @since_tizen 5.5 @@ -631,10 +528,8 @@ int stc_foreach_restriction_list(stc_h stc, stc_restriction_list_cb list_cb, voi * @see stc_restriction_rule_get_subscriber_id() * @see stc_restriction_rule_get_process_state() * @see stc_restriction_list_create() - * @see stc_get_restriction_list() * @see stc_add_restriction_rule_to_list() * @see stc_remove_restriction_rule_from_list() - * @see stc_foreach_restriction_list() * @see stc_unset_restriction_list() */ int stc_set_restriction_list(stc_h stc, stc_restriction_list_h list_h); @@ -678,10 +573,8 @@ int stc_set_restriction_list(stc_h stc, stc_restriction_list_h list_h); * @see stc_restriction_rule_get_subscriber_id() * @see stc_restriction_rule_get_process_state() * @see stc_restriction_list_create() - * @see stc_get_restriction_list() * @see stc_add_restriction_rule_to_list() * @see stc_remove_restriction_rule_from_list() - * @see stc_foreach_restriction_list() * @see stc_set_restriction_list() */ int stc_unset_restriction_list(stc_h stc, stc_restriction_list_h list_h); -- 2.34.1