Site/SunNet/Domain Manager Reference Manual
  Искать только в названиях книг
Загрузить это руководство в формате PDF

NAME

netmgt_oid2string - convert an object identifier to a printable string

SYNOPSIS

char *
netmgt_oid2string(length, value)
  u_int   length;
  caddr_t value;

DESCRIPTION

netmgt_oid2string converts the SNMP object identifier in value, stored as an array of unsigned long integers, to a printable character string in dot notation.

INPUT ARGUMENTS

length
length of object identifier, in octets.
value
pointer to an array of unsigned long integers containing the object identifier value.

RETURN VALUE

Pointer to dot notation string, if successful. Otherwise NULL.

DIAGNOSTICS

If NULL is returned, global variable netmgt_error indicates the error. The caller can get the reason for the error with netmgt_fetch_error(3N).

SEE ALSO

netmgt_fetch_error(3N)
RFC 1157, A Simple Network Management Protocol