Sophie

Sophie

distrib > Fedora > 14 > x86_64 > by-pkgid > 3095f992e1a73e84e792972eeaf9b647 > files > 11

Judy-1.0.5-1.fc14.x86_64.rpm

/* @(#) $Revision: 4.2 $ $Source: /judy/src/funcs/Judy1Dup.H $ */

#include <Judy.h>

/* ******************************************************************
 * Name: Judy1Dup
 *
 * Description:
 *       Clone (duplicate) a Judy Array.
 *
 * Parameters:
 *       PPvoid_t PPDest (OUT)
 *            Pointer to a new Judy array with the same
 *            index/value pairs as PSource.
 *            Any initial value pointed to by PPDest is ignored.
 *
 *       Pvoid_t PSource (IN)
 *            Ptr to source Judy array being duplicated.
 *            If PSource is NULL, TRUE is returned since this
 *            is simply a valid Null Judy array.
 *
 *       JError_t *PJError (OUT)
 *            Judy error structure pointer.
 *
 * Returns:
 *       JERR - error, see PJError
 *      !JERR - success
 */

int
Judy1Dup(PPvoid_t PPDest, Pvoid_t PSource, JError_t * PJError);