INT_32_T snmpSubEncode ( VBL_T * pVblist, /* varbindlist to be encoded */ SA_HEADER_T * pHdr, /* header block structure */ SA_DEMUX_T * pDemuxer, /* demuxer structure */ EBUFFER_T * pBuf /* buffer to place result in */ )
This routine encodes a memory-resident varbind list. The result is a buffer containing a message ready for transmission. Most of the arguments are values to be encoded into the buffer.