|
RDK Documentation (Open Sourced RDK Components)
|
Go to the documentation of this file.
75 #ifndef DEVICE_TIME_H_
76 #define DEVICE_TIME_H_
82 #include "hostIf_tr69ReqHandler.h"
83 #include "hostIf_utils.h"
84 #include "hostIf_updateHandler.h"
85 #include "XrdkCentralComBSStore.h"
136 static GHashTable *ifHash;
138 static GMutex *m_mutex;
140 static GHashTable *m_notifyHash;
146 bool bCalledLocalTimeZone;
147 bool bCalledCurrentLocalTime;
148 char backupLocalTimeZone[_BUF_LEN_64];
149 char backupCurrentLocalTime[_BUF_LEN_64];
159 static GList* getAllInstances();
161 static void closeAllInstances();
163 static void getLock();
165 static void releaseLock();
167 static GHashTable* getNotifyHash();
int set_Device_Time_NTPServer5(HOSTIF_MsgData_t *)
Set the fifth NTP timeserver.
int get_Device_Time_Status(HOSTIF_MsgData_t *, bool *pChanged=NULL)
Get the status of time support on the CPE.
int get_Device_Time_NTPServer5(HOSTIF_MsgData_t *, bool *pChanged=NULL)
Get the fifth NTP timeserver.
int get_Device_Time_LocalTimeZone(HOSTIF_MsgData_t *, bool *pChanged=NULL)
Get the local time zone definition.
int set_Device_Time_NTPServer1(HOSTIF_MsgData_t *)
Set the first NTP timeserver.
int set_Device_Time_NTPServer3(HOSTIF_MsgData_t *)
Set the third NTP timeserver.
int get_Device_Time_NTPServer4(HOSTIF_MsgData_t *, bool *pChanged=NULL)
Get the fourth NTP timeserver.
int get_xRDKCentralComBootstrap(HOSTIF_MsgData_t *)
Get the bootstrap parameters.
int set_Device_Time_NTPServer2(HOSTIF_MsgData_t *)
Set the second NTP timeserver.
int get_Device_Time_NTPServer1(HOSTIF_MsgData_t *, bool *pChanged=NULL)
Get the first NTP timeserver.
int get_Device_Time_NTPServer2(HOSTIF_MsgData_t *, bool *pChanged=NULL)
Get the second NTP timeserver.
int set_Device_Time_Enable(HOSTIF_MsgData_t *)
Set the status of the time client.
int get_Device_Time_CurrentLocalTime(HOSTIF_MsgData_t *, bool *pChanged=NULL)
Get the current dates & time.
int get_Device_Time_NTPServer3(HOSTIF_MsgData_t *, bool *pChanged=NULL)
Get the third NTP timeserver.
Get the status of the time client.
int set_Device_Time_LocalTimeZone(HOSTIF_MsgData_t *)
Set the local time zone definition.
int set_Device_Time_NTPServer4(HOSTIF_MsgData_t *)
Set the fourth NTP timeserver.
int set_xRDKCentralComBootstrap(HOSTIF_MsgData_t *)
Set the bootstrap parameters.