NAME
DlpEndOfSync – terminate the sync
LIBRARY
libpconn
SYNOPSIS
#include <palm.h>
#include <pconn/pconn.h>
int
DlpEndOfSync(PConnection *pconn, const ubyte status);
DESCRIPTION
DlpEndOfSync tells the Palm that the current sync is terminated. This should be the last DLP call before closing the connection.
status specifies the exit status. 0 indicates a normal termination. For other exit statuses, see the DLPCMD_SYNCEND_* values in <pconn/dlp_cmd.h>.
RETURN VALUE
DlpEndOfSync returns 0 if successful, or a negative value otherwise.