DlpCleanUpDatabase(3)

NAME
DlpCleanUpDatabase - purge deleted and archived records in a Palm database

LIBRARY
libpconn

SYNOPSIS
#include <palm.h>
#include <pconn/pconn.h>
int
DlpCleanUpDatabase(PConnection *pconn, const ubyte handle);

DESCRIPTION
DlpCleanUpDatabase deletes any records in a database that were marked “deleted” or “expunged”.

handle specifies the database to clean up, as returned by DlpOpenDB. The database must be open for writing.

RETURN VALUE
DlpCleanUpDatabase returns 0 if successful, or a negative value otherwise.

SEE ALSO
libpconn(3), DlpOpenDB(3), DlpResetSyncFlags(3).