INT_32_T snmpSaHandlerFinish ( PTR_T pPkt, /* pointer to the packet */ SA_HEADER_T * pHdr, /* header block */ EBUFFER_T * pBuf /* buffer to place the result in */ )
This routine encodes the packet at pPkt and the header block at pHdr. If pBuf is empty, this routine tries to allocate space. If it cannot or if the space provided is too small, an error is returned.
0 on success, or a non-zero value on failure.
subagentLib