Deprecate stc_get_total_stats API 60/203960/2 accepted/tizen/unified/20190508.111048 submit/tizen/20190507.064136 submit/tizen/20190507.081855
authorhyunuktak <hyunuk.tak@samsung.com>
Thu, 18 Apr 2019 08:19:48 +0000 (17:19 +0900)
committerhyunuktak <hyunuk.tak@samsung.com>
Mon, 22 Apr 2019 07:32:03 +0000 (16:32 +0900)
Change-Id: I7ebf6a5cf19200ff40006ccc7cbfb7133469afa0
Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
include/stc.h

index ccb52aa3b89ae6144a303b55c8cee09c26befe84..cc01b6abcddf3ab95323c47463f66d873757ae48 100755 (executable)
@@ -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;
 
 /**
  * @}