34 #ifdef USE_WIFI_PROFILE
38 #include "Device_WiFi_EndPoint_Profile.h"
40 GHashTable* hostIf_WiFi_EndPoint_Profile::ifHash = NULL;
52 ifHash = g_hash_table_new(NULL,NULL);
61 RDK_LOG(RDK_LOG_WARN,LOG_TR69HOSTIF,
"Caught exception, not able create hostIf_WiFi_EndPoint_Profile instance..\n");
63 g_hash_table_insert(ifHash, (gpointer)dev_id, pRet);
68 GList* hostIf_WiFi_EndPoint_Profile::getAllInstances()
71 return g_hash_table_get_keys(ifHash);
79 g_hash_table_remove(ifHash, (gconstpointer)pDev->dev_id);
84 void hostIf_WiFi_EndPoint_Profile::closeAllInstances()
88 GList* tmp_list = g_hash_table_get_values (ifHash);
93 tmp_list = tmp_list->next;
116 hostIf_WiFi_EndPoint_Profile::hostIf_WiFi_EndPoint_Profile(
int dev_id):
119 memset(Status, 0, 64);
120 memset(Alias, 0, 64);
122 memset(Location, 0, 256);
123 memset(Priority, 0, 256);