|
RDK Documentation (Open Sourced RDK Components)
|
Go to the documentation of this file.
78 #ifndef SNMP_ADAPTER_H_
79 #define SNMP_ADAPTER_H_
85 #include "hostIf_tr69ReqHandler.h"
86 #include "hostIf_utils.h"
87 #include "hostIf_updateHandler.h"
96 static GHashTable *ifHash;
98 static GMutex *m_mutex;
100 static GHashTable *m_notifyHash;
103 static map<string, vector<pair <string, string>>> tr181Map;
110 static void init(
void);
116 static GList* getAllInstances();
118 static void closeAllInstances();
120 static void getLock();
122 static void releaseLock();
124 GHashTable* getNotifyHash();
This class provides the interface for getting device information.
int get_ValueFromSNMPAdapter(HOSTIF_MsgData_t *)
This function fetch the SNMP OID for the corresponding TR181 param, and run the snmpget command with ...
static void init(void)
This function opens the RF_DocsIf_tr181_snmp map file, parse the TR181 parameter and its correspoindi...
int set_ValueToSNMPAdapter(HOSTIF_MsgData_t *)
This function fetch the SNMP OID for the corresponding TR181 param, and run the snmpset command with ...
hostIf_snmpAdapter(int dev_id)
Class Constructor of the class hostIf_snmpAdapter.
static void unInit(void)
This function clear the TR181 OID map container.
~hostIf_snmpAdapter()
Class Destructor of the class hostIf_snmpAdapter.