Deprecated stc_foreach_stats API 58/200458/3
authorhyunuktak <hyunuk.tak@samsung.com>
Wed, 20 Feb 2019 08:52:44 +0000 (17:52 +0900)
committerJaehyun Kim <jeik01.kim@samsung.com>
Mon, 4 Mar 2019 13:16:25 +0000 (13:16 +0000)
Change-Id: I65a70831120f2e81fafb195e59138683919e70d3
Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
include/stc.h

index c9208df..ad1ea5a 100755 (executable)
@@ -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.