X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2Fmonitor%2Finclude%2Fstc-monitor.h;h=187035f27c0732966629e03ec6260d597728fc4f;hb=d2205ccba648312e633c66043f443796cf725919;hp=0977ebae5d32ead1104f7bf6de78fb04a4ee64b3;hpb=04a1c9f8b5f508f6b408475a357c4cb96abe407d;p=platform%2Fcore%2Fconnectivity%2Fstc-manager.git diff --git a/src/monitor/include/stc-monitor.h b/src/monitor/include/stc-monitor.h index 0977eba..187035f 100755 --- a/src/monitor/include/stc-monitor.h +++ b/src/monitor/include/stc-monitor.h @@ -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,