tfAddTargetParamsTableEntry
Table of Contents >> SNMP Programmer's Reference
| #include <trapi.h> |
| int tfAddTargetParamsTableEntry | ( |
| tt32Bit flags, | |
| ttSnmpTargetParamsTableEntryPtr tptEntryPtr | |
| ); |
Function Description
This function adds a target paramt entry to the list.
Parameters
- flags
- Not used.
- ntEntryPtr
- Pointer to a ttSnmpTargetAddrTableEntry, will be inserted in target params table after validation. The user must allocate and fill this struct before use.
Returns
- TM_ENOERROR
- Success.
- TM_NULL_ENTRY
- Failure, the entry was not initialized properly.
- TM_DUPLICATE_ENTRY
- Failure, cannot have two of the same entries.