* @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()
* @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()
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
* @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);
* @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);