From: hyunuktak Date: Wed, 20 Feb 2019 08:52:44 +0000 (+0900) Subject: Deprecated stc_foreach_stats API X-Git-Tag: submit/tizen/20190311.084912~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=fdcd004e24851225d89e1ac28aacb2c665e041c3;p=platform%2Fcore%2Fapi%2Fsmart-traffic-control.git Deprecated stc_foreach_stats API Change-Id: I65a70831120f2e81fafb195e59138683919e70d3 Signed-off-by: hyunuktak --- diff --git a/include/stc.h b/include/stc.h index c9208df..ad1ea5a 100755 --- a/include/stc.h +++ b/include/stc.h @@ -380,6 +380,7 @@ int stc_get_stats(stc_h stc, stc_stats_rule_h rule, 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 statistics information of each application asynchronously. * @details The callback is called for each application that used network * in between timestamps specified. @@ -424,7 +425,7 @@ int stc_get_stats(stc_h stc, stc_stats_rule_h rule, * @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); + stc_stats_info_cb info_cb, void *user_data) TIZEN_DEPRECATED_API; /** * @brief Starts to get all statistics information from rule asynchronously.