From: hyunuktak Date: Thu, 18 Apr 2019 08:19:48 +0000 (+0900) Subject: Deprecate stc_get_total_stats API X-Git-Tag: submit/tizen/20190507.064136^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=12a82c0d327a5c3ae08587ea2fd8249fb215914e;p=platform%2Fcore%2Fapi%2Fsmart-traffic-control.git Deprecate stc_get_total_stats API Change-Id: I7ebf6a5cf19200ff40006ccc7cbfb7133469afa0 Signed-off-by: hyunuktak --- diff --git a/include/stc.h b/include/stc.h index ccb52aa..cc01b6a 100755 --- a/include/stc.h +++ b/include/stc.h @@ -233,7 +233,6 @@ typedef enum { * * @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() @@ -243,7 +242,6 @@ typedef enum { * @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); @@ -372,7 +370,6 @@ int stc_deinitialize(stc_h stc); * @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); @@ -420,7 +417,6 @@ int stc_get_stats(stc_h stc, stc_stats_rule_h rule, * @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; @@ -491,6 +487,7 @@ int stc_foreach_all_stats(stc_all_stats_info_h info, 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 @@ -529,7 +526,7 @@ int stc_foreach_all_stats(stc_all_stats_info_h info, * @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; /** * @}