snmpEbufLib

NAME

snmpEbufLib - extended-buffer manipulation routines

SYNOPSIS

EBufferClone( ) - make a copy of an extended buffer

EBufferClean( ) - release dynamic memory in an extended buffer

EBufferInitialize( ) - place an extended buffer in a known state

EBufferSetup( ) - attach an empty memory buffer to an extended buffer

EBufferPreLoad( ) - attach a full memory buffer to an extended buffer

EBufferNext( ) - return a pointer to the next unused byte of the buffer memory

EBufferStart( ) - return a pointer to the first byte in the buffer memory

EBufferUsed( ) - return the number of used bytes in the buffer memory

EBufferReset( ) - reset the extended buffer

EBufferRemaining( ) - return the number of unused bytes remaining in buffer memory

int EBufferClone  
(EBUFFER_T * srcp, EBUFFER_T * dstp); 
void EBufferClean (EBUFFER_T * ebuffp);
void EBufferInitialize (EBUFFER_T * ebuffp);
void EBufferSetup (unsigned int flags, EBUFFER_T * ebuffp, OCTET_T * datap, ALENGTH_T datal);
void EBufferPreLoad (unsigned int flags, EBUFFER_T * ebuffp, OCTET_T * datap, ALENGTH_T datal);
OCTET_T * EBufferNext (EBUFFER_T * ebuffp);
OCTET_T * EBufferStart (EBUFFER_T * ebuffp);
ALENGTH_T EBufferUsed (EBUFFER_T * ebuffp);
void EBufferReset (EBUFFER_T * ebuffp);
void EBufferRemaining (EBUFFER_T * ebuffp);

DESCRIPTION

This module defines the routines used to manipulate extended buffers.

INCLUDE FILES

buffer.h