beautypg.com

Esnmp_capabilities – Compaq AAR04BCTE User Manual

Page 70

background image

eSNMP API Routines
esnmp_capabilities

esnmp_capabilities

Adds a subagent’s capabilities to the master agent’s

sysORTable

. The

sysORTable

is a conceptual table that contains an agent’s object resources, and is described in
RFC 1907.

Format

void esnmp_capabilities ( OID *agent_cap_id,

char *agent_cap_descr ) ;

Arguments

agent_cap_id

A pointer to an object identifier that represents an authoritative agent capabilities
identifier. This value is used for the

sysORID

object in the

sysORTable

for the

managed node.

agent_cap_descr

A pointer to a null-terminated character string describing

agent_cap_id

. This

value is used for the

sysORDescr

object in the

sysORTable

for the managed node.

Description

This routine is called at any point after initializing eSNMP by a call to the

esnmp_init

routine.

5–12 eSNMP API Routines