Description: This patch fixes the issue when total data usage of a
particular interface is fetched using API, in this scenario iface_type
was packed in dictionary instead of iftype due to which iftype was
not used in fetch query.
Change-Id: Ib43b050ffc271e729c5b8b523df723cf4c0e3bb7
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
* @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);
+ stc_stats_info_cb info_cb, void *user_data);
/**
* @brief Gets the statistics information of each application asynchronously.
Name: capi-network-stc
Summary: A Smart Traffic Control (STC) libraries in Native API
-Version: 0.0.16
+Version: 0.0.17
Release: 1
Group: Network & Connectivity/API
License: Apache-2.0
#define STC_STATS_RULE_APP_ID "app_id"
#define STC_STATS_RULE_INTERVAL_FROM "from"
#define STC_STATS_RULE_INTERVAL_TO "to"
-#define STC_STATS_RULE_IFTYPE "iface_type"
+#define STC_STATS_RULE_IFTYPE "iftype"
#define STC_STATS_RULE_TIME_PERIOD "granularity"
typedef struct {