tfDeleteVtfEntry

Jump to: navigation, search

Table of Contents >> SNMP Programmer's Reference


#include <trapi.h>


int tfDeleteVtfEntry (ttSnmpVacmViewTreeFamilyTablePtr vtfTablePtr);


Function Description

This function deletes the entry from the linked list of ttSnmpVacmTreeFamilyTable's. The struct ttSnmpVacmTreeFamilyTable is defined in trsnmpv3.h The table index consists of svvtName and svvtSubtree.


Parameters

  • vtfTablePtr
    Pointer to the ttSnmpVacmTreeFamilyTable entry to be deleted.


Returns

  • TM_ENOERROR
    Success.
  • TM_ALLOCATION_ERROR
    Failure to allocate memory for the agent global variables.
  • TM_WRONG_VTFNAME_LENGTH
    Failure, svvtNameLen is not between 0 and 32.
  • TM_VTFNAME_NOT_PRINTABLE
    Failure, svvtName contains unprintable characters.
  • TM_WRONG_TYPE
    Failure, svvtType is not 0, or 1, or 2
  • TM_WRONG_STATUS
    Failure, svvtStatuss is not 1, or 2, or 3


Table of Contents >> SNMP Programmer's Reference