| Return Type | Method Summary |
| U_CHAR* | AgentAuthTableProcessReadReq(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* | AgentAuthTableProcessWriteReq(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. |
| U_CHAR | CheckAccessForManager(CHAR *aclManagers, TransportDomainInfo *tdInfo)
If the given manager matches any one of the managers of the gv_authVector, then it returns TRUE otherwise FALSE. |
| CHAR | CreateAndAddAuthenticationEntry(OID *instance, INT32 instanceLen, CHAR *aclCommunity, INT32 aclAccess, CHAR *aclManagers, INT32 aclStatus)
It will take all columns value and its instance value as input and add create an Entry then add it to the Vector. |
| void* | CreateAuthTableRowWithDefaultValues(U_CHAR **indexList, INT32 *indexListLen, INT32 len)
It will create a new row and assign default value for each table column. |
| CHAR | CreateAuthenticationEntry(CHAR *aclCommunity, INT32 aclAccess, CHAR *aclManagers, INT32 aclStatus)
It will take all columns value as input and create an instance then add it to the Vector. |
| void | CreateAuthenticationList()
Creates an authentication list. |
| CHAR | DeleteAuthenticationEntry(CHAR *aclCommunity, U_INT16 aclAccess, CHAR *aclManagers)
Delete an object from the authentication list. |
| void | FreeAgentAuthTableEntryMemory(Entry *entryPtr)
It will free the reserved memeory for an Entry of manager table. |
| CHAR | IsValidAuthentication(CHAR *aclCommunity, U_CHAR pduType, TransportDomainInfo *tdInfo)
If the given community is matches with any one of the community of the gv_authVector, then it check for access. |
| void | MapAccessToInteger(CHAR *aclAcc, INT32 *aclAccess)
After reading from text file corresponding macro will be mapped. |
| void | MapAccessToString(INT32 aclAcc, CHAR *aclAccess)
Before writing to the text file corresponding string will be mapped. |
| U_CHAR* | ReadAclAccess(void *tableEntryPtr, INT32 *varValLen, U_CHAR *status)
Read method for (table) column aclAccess. |
| U_CHAR* | ReadAclCommunity(void *tableEntryPtr, INT32 *varValLen, U_CHAR *status)
Read method for (table) column aclCommunity. |
| U_CHAR* | ReadAclManagers(void *tableEntryPtr, INT32 *varValLen, U_CHAR *status)
Read method for (table) column aclManagers. |
| U_CHAR* | ReadAclStatus(void *tableEntryPtr, INT32 *varValLen, U_CHAR *status)
Read method for (table) column aclStatus. |
| U_CHAR | ReadAclTableEntry(U_CHAR ***cols, INT32 index)
|
| Vector* | ReadAuthTableInfo(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. |
| CHAR | ReadFromAgentAuthTableFile()
Reads from the text file and updates the authentication Vector. |
| CHAR | UpdateAgentAuthTableFile(U_CHAR command)
Update the changes of UpdateAgentAuthTableFile. |
| U_CHAR* | WriteAclAccess(void *tableEntryPtr, U_CHAR *varVal, INT32 *varValLen, U_CHAR *status)
Write method for (table) column access. |
| U_CHAR* | WriteAclManagers(void *tableEntryPtr, U_CHAR *varVal, INT32 *varValLen, U_CHAR *status)
Write method for (table) column aclManagers. |
| U_CHAR* | WriteAclStatus(void *tableEntryPtr, U_CHAR *varVal, INT32 *varValLen, U_CHAR *status)
Write method for (table) column aclStatus. |
| CHAR | WriteToAgentAuthTableFile()
It will write the table enteries from the Vector into the file. |
| Method Details |