Merge "[Add] tethering client monitoring" into tizen
[platform/core/connectivity/stc-manager.git] / src / monitor / include / stc-monitor.h
index 0977eba..187035f 100755 (executable)
@@ -27,6 +27,7 @@
 
 /* 1 seconds */
 #define CONTR_TIMER_INTERVAL 1
+#define IPV4_IPADDRESS_LEN 16
 
 /**
  * @brief enumeration for data limit types
@@ -77,6 +78,7 @@ typedef struct {
        stc_data_counter_s data_usage;
        stc_data_counter_s counter;
        GTree *processes;  /**< applications instances */
+       char ipaddr[IPV4_IPADDRESS_LEN+1]; /**< application ip address */
 } stc_app_value_s;
 
 /**
@@ -144,6 +146,11 @@ stc_error_e stc_monitor_application_add(const stc_app_key_s app_key,
                                        const stc_app_value_s app_value);
 
 /**
+ * @brief deletes an application entry
+ */
+stc_error_e stc_monitor_application_remove(const stc_app_key_s app_key);
+
+/**
  * @brief associates process to an application
  */
 stc_error_e stc_monitor_process_add(const stc_app_key_s app_key,