Remove get/foreach restriction list 70/199470/2
authorhyunuktak <hyunuk.tak@samsung.com>
Tue, 12 Feb 2019 01:29:53 +0000 (10:29 +0900)
committerhyunuktak <hyunuk.tak@samsung.com>
Tue, 12 Feb 2019 01:32:35 +0000 (10:32 +0900)
Change-Id: I07e5c3f01e857d961c99550e7922b482b9ff561b
Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
include/stc_mgr_internal.h

index 57d4209597e9df58f834e90ed7df4cfa397598cd..e3c88285d3e1f7b7fc0c1c8861a8c048c8691bbb 100755 (executable)
@@ -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);