EBufferClone( )

NAME

EBufferClone( ) - make a copy of an extended buffer

SYNOPSIS

int    EBufferClone 
    ( 
    EBUFFER_T *  srcp,  /* source buffer      */ 
    EBUFFER_T *  dstp   /* destination buffer */ 
    );

DESCRIPTION

This routine creates a copy of an extended buffer, allocating space from the dynamic pool. Parameter srcp is the old buffer, and dstp the new.

RETURNS

0 if successful, otherwise -1.

SEE ALSO

snmpEbufLib