DlpResetRecordIndex(3)

NAME
DlpResetRecordIndex - reset a Palm database's “next modified record” index

LIBRARY
libpconn

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

DESCRIPTION
DlpResetRecordIndex resets a database's “next modified record” index to the beginning, so that the next call to DlpReadNextModifiedRec will return the first modified record in the database.

handle is the database handle, as returned by DlpOpenDB(3).

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

SEE ALSO
libpconn(3), DlpOpenDB(3), DlpReadNextModifiedRec(3), DlpReadNextModifiedRecInCategory(3).