*
* @pre stc_get_stats() will invoke this callback.
* @pre stc_foreach_stats() will invoke this callback.
- * @pre stc_get_total_stats() will invoke this callback.
* @see stc_stats_info_get_app_id()
* @see stc_stats_info_get_iface_name()
* @see stc_stats_info_get_time_interval()
* @see stc_stats_info_get_protocol_type()
* @see stc_stats_info_get_process_state()
* @see stc_get_stats()
- * @see stc_get_total_stats()
*/
typedef stc_callback_ret_e (*stc_stats_info_cb)(
stc_error_e result, stc_stats_info_h info, void *user_data);
* @see stc_stats_rule_get_iface_type()
* @see stc_stats_rule_get_time_period()
* @see stc_stats_info_cb()
- * @see stc_get_total_stats()
*/
int stc_get_stats(stc_h stc, stc_stats_rule_h rule,
stc_stats_info_cb info_cb, void *user_data);
* @see stc_stats_rule_get_time_period()
* @see stc_stats_info_cb()
* @see stc_get_stats()
- * @see stc_get_total_stats()
*/
int stc_foreach_stats(stc_h stc, stc_stats_rule_h rule,
stc_stats_info_cb info_cb, void *user_data) TIZEN_DEPRECATED_API;
stc_stats_info_cb info_cb, void *user_data);
/**
+ * @deprecated Deprecated since 5.5. Use stc_get_all_stats() and stc_foreach_all_stats() instead.
* @brief Gets the total statistics information by interface type asynchronously.
* @since_tizen 4.0
* @privlevel public
* @see stc_get_stats()
*/
int stc_get_total_stats(stc_h stc, stc_stats_rule_h rule,
- stc_stats_info_cb info_cb, void *user_data);
+ stc_stats_info_cb info_cb, void *user_data) TIZEN_DEPRECATED_API;
/**
* @}