tfModifySysName

Jump to: navigation, search

Table of Contents >> SNMP Programmer's Reference


#include <trapi.h>


int tfModifySysObjId (ttCharPtr sysName);


Function Description

This function modifies the sysName object.


Parameters

  • sysName
    The new sysName string.


Returns

  • TM_ENOERROR
    No error.
  • TM_ALLOCATION_ERROR
    Failure to allocate memory for the agent global variables.
  • TM_SYSNAME_TOOLONG
    sysObjectId is too long.
  • TM_SYSNAME_NOT_PRINTABLE
    sysName contains invalid non printable characters.


Table of Contents >> SNMP Programmer's Reference