tfInsertContextEntry

Jump to: navigation, search

Table of Contents >> SNMP Programmer's Reference


#include <trapi.h>


int tfInsertContextEntry (ttSnmpVacmContextTablePtr contextTablePtr);


Function Description

This function inserts the new entry from the linked list of ttSnmpVacmContextTable's. The struct ttSnmpVacmContextTable is defined in trsnmpv3.h.


Parameters

  • contextTablePtr
    Input parameter, pointer to the ttSnmpVacmContextTable entry to be inserted.


Returns

  • TM_ENOERROR
    Success.
  • TM_ALLOCATION_ERROR
    Failure to allocate memory for the agent global variables.
  • TM_WRONG_CONTEXTNAME_LENGTH
    Failure, svctNameLen is not between 0 and 32.
  • TM_CONTEXTNAME_NOT_PRINTABLE
    Failure, svctName contains unprintable characters.


Table of Contents >> SNMP Programmer's Reference