C
BOOL Snmpv3BufferPut( BYTE val, SNMPV3MSGDATA * putbuf );
Description
The SNMPv3 stack implementation uses dynamically allocated memory buffer for processing of request and response packets. This routine copies the BYTE data to the allocated buffer and updates the offset length couter.
Preconditions
The SNMPv3 stack has sucessfully allocated dynamic memory buffer from the Heap
Parameters
Parameters |
Description |
val |
BYTE value to be written to the buffer |
putbuf |
pointer to the dynamically allocated buffer to which the 'val' to be written |
Return Values
Return Values |
Description |
TRUE |
if successfully write to the buffer |
FALSE |
failure in writing to the buffer |
Remarks
This routine is used by the SNMPv3 stack. If required to be used by the application code, valid pointers should be passed to this routine.