| Return Type | Method Summary |
| CHAR | CreateAndAddNewSnmpVacmContextTableEntry(U_CHAR *snmpVacmContextName, INT32 snmpVacmContextNameLen)
It will take all columns value as input and create an instance then add it to the vector. |
| CHAR | CreateAndAddSnmpVacmContextTableEntry(OID *instance, INT32 instanceLen, U_CHAR *snmpVacmContextName, INT32 snmpVacmContextNameLen)
It will take all columns value and its instance value as input and add create an entry then add it to the vector. |
| void* | CreateSnmpVacmContextTableRowWithDefaultValues(U_CHAR **indexList, INT32 *indexListLen, INT32 len)
It will create a new row and assign default value for each table column. |
| void | FreeSnmpVacmContextTableEntryMemory(Entry *entryPtr)
It will free the reserved memeory for an entry. |
| Vector* | GetSnmpVacmContextTableInfo(INT32 startIdx, INT32 numOfRows, INT32 *flag)
It will return the table vector reference, before that it will verify the total size of the table and set flag value. |
| void | InitSnmpVacmContextTable()
It will register the TreeCell with agent and initialize all data structures related to the modulesnmpVacmContextTable. |
| CHAR | IsAccessAllowed(U_CHAR *contextName, INT32 contextNameLen, U_CHAR *secName, INT32 secNameLen, LONG secModel, U_CHAR secLevel, U_CHAR viewType, OID *oid, INT32 oidLen, U_CHAR *tempView, INT32 *tempViewLen)
This function will check for the access according to RFC 3415 with given Context Name, Security Model, Security Level, view Type and OID. |
| CHAR | IsValidContext(U_CHAR *contextName, INT32 contextNameLen)
Check for the Entry which matches the given context name. |
| CHAR | ReadFromSnmpVacmContextTableFile()
It will read the table enteries from the file and add it to the vector. |
| U_CHAR* | ReadSnmpVacmContextName(void *tableEntryPtr, INT32 *varValLen, U_CHAR *status)
Get method for (table) column snmpVacmContextName. |
| U_CHAR* | SnmpVacmContextTableProcessReadReq(U_CHAR pduType, OID *reqOid, INT32 *reqOidLen, INT32 *varValLen, U_CHAR *status)
It will process the GET & GET-NEXT requests and send back the appropriate result. |
| U_CHAR* | SnmpVacmContextTableProcessWriteReq(INT32 pduVersion, OID *reqOid, INT32 reqOidLen, U_CHAR *varVal, INT32 *varValLen, U_CHAR *status)
It will process the SET requests and send back the modified result. |
| CHAR | UpdateSnmpVacmContextTable(U_CHAR command)
Update the changes of SnmpVacmContextTable. |
| CHAR | WriteToSnmpVacmContextTableFile()
It will write the table enteries from the vector into the file. |
| Method Details |