tfDisplayTrapEntry

Jump to: navigation, search

Table of Contents >> SNMP Programmer's Reference


Note Note: The content on this page has been deprecated.
For the new content, please see tfNgDisplayTrapEntry().


#include <trapi.h>


int tfDisplayTrapEntry (
ttSnmpParmsPtr entryPtr,
unsigned int i
);


Function Description

This function allows the user to display an entry from the list of trap sinks.


Parameters

  • entryPtr
    Pointer to found ttSnmpTrapParms, memory allocated by the caller and populated by this function.
  • i
    index of ttSnmpTrapParms to be displayed


Returns

  • TM_ENOERROR
    Success.
  • TM_ALLOCATION_ERROR
    Failure to allocate memory for the agent global variables.
  • TM_RECORD_NOTFOUND
    Failure, trap entry was not found.


Table of Contents >> SNMP Programmer's Reference