void EBufferSetup ( unsigned int flags, /* storage type flags */ EBUFFER_T * ebuffp, /* extended buffer */ OCTET_T * datap, /* data pointer */ ALENGTH_T datal /* data length */ );
This routine attaches an empty memory buffer to a buffer-control block.
flags should be set to the manifest constant BFL_IS_DYNAMIC if the buffer has been allocated from the dynamic pool. Otherwise, flags should be set to BFL_IS_STATIC. The location and length of the buffer are described by datap and datal, respectively.