Reference

DlpResetSyncFlags(3)

clear sync flags on a PalmOS database

NAME

DlpResetSyncFlags – clear sync flags on a PalmOS database

LIBRARY

libpconn

SYNOPSIS

#include <palm.h>

#include <pconn/pconn.h>

int

DlpResetSyncFlags(PConnection *pconn, const ubyte handle);

DESCRIPTION

For record databases, DlpResetSyncFlags clears the dirty flag on each record; for both record and resource databases, sets the “last sync” time to now.

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

RETURN VALUE

DlpResetSyncFlags returns 0 if successful, or a negative value otherwise.

SEE ALSO

libpconn(3), DlpOpenDB(3).