tfDisplaySysObjectId

Jump to: navigation, search

Table of Contents >> SNMP Programmer's Reference


#include <trapi.h>


int tfDisplaySysObjectId (
ttOidPtr sysObjectId,
ttIntPtr sysObjectIdLen
);


Function Description

This function lets the user access the sysObjectId MIB-II object.


Parameters

  • sysObjectId
    Pointer to the system contact, memory allocated by the caller and populated by this function.
  • sysObjectidLen
    Length of SysObjectId, the number of elements of the OID.


Returns

  • TM_ENOERROR
    Success.
  • TM_ALLOCATION_ERROR
    Failure to allocate memory for the agent global variables.


Table of Contents >> SNMP Programmer's Reference