---
name: "DlpResetSyncFlags"
section: "3"
platform: "linux"
package: "coldsync"
version: "3.0+pre3-3"
release: "Debian 4.0 (Etch)"
platforms: ["linux"]
url: "https://new.carta.tech/DlpResetSyncFlags"
---

# 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)](/DlpOpenDB/3.md).

## RETURN VALUE

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

## SEE ALSO

[libpconn(3)](/libpconn/3.md), [DlpOpenDB(3)](/DlpOpenDB/3.md).
