eSNMP API Routines
esnmp_term
esnmp_term
Sends a close message to the master agent and shuts down the subagent.
Format
void esnmp_term (void) ;
Description
Subagents must call this routine when terminating so that the master agent can
update its MIB registry quickly and so that resources used by eSNMP on behalf
of the subagent can be released.
Return Values
ESNMP_LIB_OK The
esnmp_term
routine always returns ESNMP_
LIB_OK, even if the packet could not be sent.
eSNMP API Routines 5–17