41 #define _IARM_XDEVICE_NAME "XDEVICE"
42 #define MAX_DEBUG_MESSAGE 50
46 gchar *bcastIf, *streamIf, *trmIf, *gwIf, *cvpIf, *ruiPath, *uriOverride, *hostMacIf;
47 gchar *oemFile, *dnsFile, *dsgFile, *diagFile, *hostsFile, *devXmlPath, *devXmlFile, *cvpXmlFile, *logFile, *devPropertyFile,*ipv6FileLocation,*ipv6PrefixFile,*deviceNameFile;
48 gboolean enableCVP2, useIARM, allowGwy, enableTRM, useGliDiag, disableTuneReady,enableHostMacPblsh,rmfCrshSupp,wareHouseMode;
49 gint bcastPort, cvpPort;
53 GString *url, *trmurl, *playbackurl, *gwyip, *gwyipv6, *dnsconfig, *systemids, *serial_num, *lan_ip, *recv_id,*partner_id,*hostmacaddress,*devicetype,*recvdevtype,*buildversion,*ipv6prefix,*gwystbip,*bcastmacaddress,*devicename,*mocaIface,*wifiIface,*dataGatewayIPaddress;
54 GString *trmurlCVP2, *playbackurlCVP2, *gwyipCVP2;
55 unsigned long channelmap_id, dac_id, plant_id, vodserver_id;
56 GString *dsgtimezone, *etchosts;
57 GUPnPRootDevice *dev, *cvpdev;
58 GUPnPServiceInfo *service, *cvpservice;
59 GUPnPContext *context, *cvpcontext;
61 gboolean isgateway, tune_ready, service_ready, requirestrm, usesDaylightTime;
62 gint dstOffset, rawOffset, dstSavings;
63 GString *ruiurl, *inDevProfile, *uiFilter;
69 int set_content(xmlDoc* doc,
const char * node_name,
const char * new_value);
70 char *
get_content(xmlDoc* doc,
const char * node_name);
72 unsigned long getidfromdiagfile(
const gchar *diagparam,
const gchar *diagfilecontents);
77 gboolean readconfile(
const char*);
78 gboolean updateuuid(
const char*,
const char*,
const char*);
85 GString*
getID(
const gchar* );
86 int getipaddress(
const char* ifname,
char* ipAddressBuffer, gboolean ipv6Enabled);
91 gboolean getFogStatus(
void);
92 void getRouteData(
void);
101 char tsbEndpoint[33];
104 #define IARM_BUS_FOG_NAME "FOG"
105 #define IARM_BUS_FOG_getCurrentState "getCurrentState"
109 IARM_BUS_FOG_EVENT_STATUS,
110 IARM_BUS_FOG_EVENT_MAX
116 #define IARM_BUS_NM_SRV_MGR_NAME "NET_SRV_MGR"
117 #define IARM_BUS_NETSRVMGR_Route_Event "sendCurrentRouteData"
118 #define IARM_BUS_ROUTE_MGR_API_getCurrentRouteData "getCurrentRouteData"
132 typedef enum _NetworkManager_Route_EventId_t {
133 IARM_BUS_NETWORK_MANAGER_EVENT_ROUTE_DATA=10,
134 IARM_BUS_NETWORK_MANAGER_EVENT_ROUTE_MAX,
135 } IARM_Bus_NetworkManager_Route_EventId_t;