tfDeleteCommunityTableEntry

Jump to: navigation, search

Table of Contents >> SNMP Programmer's Reference


#include <trapi.h>


int tfDeleteCommunityTableEntry (
ttUser32Bit flags,
ttCharPtr comIndex
);


Function Description

This function lets the user remove a community from the community table. The community table (RFC 2576) is part of the SNMPv3 framework and provides a way to define a v1/v2x community and map it to an SNMPv3 USM user. The same access rights that apply to the SNMPv3 USM user also apply to the community. The user can call this function any time prior to starting the agent, or during runtime.


Parameters

  • flags
    Not used.
  • comIndex
    Index of the community to remove.


Returns

  • TM_ENOERROR
    Success.
  • TM_RECORD_NOTFOUND
    Failure, index of the community to remove is not found.


Table of Contents >> SNMP Programmer's Reference