tfDisplayContextEntry
Table of Contents >> SNMP Programmer's Reference
| #include <trapi.h> |
| int tfDisplayContextEntry | ( |
| ttSnmpVacmContextTablePtr entryPtr, | |
| unsigned int i | |
| ); |
Function Description
This function lets the user access the entry from ttSnmpVacmContextTable by returning the pointer to the corresponding structure. It might be convenient to inspect an existing entry prior to deleting one, or adding one, or for any other purpose. The user must specify the entry number, i.
Parameters
- entryPtr
- Pointer to found ttSnmpVacmContextTable, memory allocated by the caller and populated by this function.
- i
- Sequential entry number of the member to be displayed.
Returns
- TM_ENOERROR
- Success.
- TM_ALLOCATION_ERROR
- Failure to allocate memory for the agent global variables.
- TM_RECORD_NOTFOUND
- Failure, no such row is found.