tfModifySysDescr
Table of Contents >> SNMP Programmer's Reference
| #include <trapi.h> |
| int tfModifySysDescr | (ttCharPtr sysDescr); |
Function Description
This function lets the user modify MIB-II sysDescr object instance. By definition, sysDescr is "A textual description of the entity. This value should include the full name and version identification of the system's hardware type, software operating-system, and networking software. It is mandatory that this only contain printable ASCII characters." Its length must not exceed 255 bytes.
Parameters
- sysDescr
- New sysDescr string to take the place of tvSnmpSysDescription .
Returns
- TM_ENOERROR
- Success.
- TM_ALLOCATION_ERROR
- Failure to allocate memory for the agent global variables.
- TM_SYSDESCR_TOOLONG
- sysDescr is longer then 255 bytes.
- TM_SYSDESCR_NOT_PRINTABLE
- sysDescr contains non-ASCII characters.