Snmpv3BufferPut Function

Microchip TCP/IP Stack

Microchip TCP/IP Stack Help
Snmpv3BufferPut Function
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.

Microchip TCP/IP Stack 5.42.08 - June 15, 2013
Copyright © 2012 Microchip Technology, Inc.  All rights reserved.