tfAddNotifyTableEntry

Jump to: navigation, search

Table of Contents >> SNMP Programmer's Reference


#include <trapi.h>


int tfAddNotifyTableEntry (
tt32Bit flags,
ttSnmpNotifyTableEntryPtr ntEntryPtr
);


Function Description

Add a notify entry to the list.


Parameters

  • flags
    Not used.
  • ntEntryPtr
    Pointer to a ttSnmpNotifyTableEntry, will be inserted in notify 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.


Table of Contents >> SNMP Programmer's Reference