File: DlpEndOfSync.3

package info (click to toggle)
coldsync 2.2.5-1
  • links: PTS
  • area: main
  • in suites: woody
  • size: 2,824 kB
  • ctags: 1,660
  • sloc: ansic: 19,234; cpp: 1,854; perl: 1,377; yacc: 951; lex: 759; makefile: 445; sh: 176
file content (41 lines) | stat: -rw-r--r-- 1,069 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
.\" DlpEndOfSync.3
.\" 
.\" Copyright 2001, Andrew Arensburger.
.\" You may distribute this file under the terms of the Artistic
.\" License, as specified in the README file.
.\"
.\" $Id: DlpEndOfSync.3,v 1.1 2001/09/05 07:29:04 arensb Exp $
.\"
.\" This man page uses the 'mdoc' formatting macros. If your 'man' uses
.\" the old 'man' package, you may run into problems.
.\"
.Dd Aug 16, 2001
.Dt DlpEndOfSync 3
.Sh NAME
.Nm DlpEndOfSync
.Nd terminate the sync
.Sh LIBRARY
.Pa libpconn
.Sh SYNOPSIS
.Fd #include <palm.h>
.Fd #include <pconn/pconn.h>
.Ft int
.Fn DlpEndOfSync "PConnection *pconn" "const ubyte status"
.Sh DESCRIPTION
.Nm
tells the Palm that the current sync is terminated. This should be the
last DLP call before closing the connection.
.Pp
.Fa status
specifies the exit status. 0 indicates a normal termination. For other
exit statuses, see the
.Dv DLPCMD_SYNCEND_*
values in
.Pa <pconn/dlp_cmd.h> .
.Sh RETURN VALUE
.Nm
returns 0 if successful, or a negative value otherwise.
.Sh SEE ALSO
.Xr libpconn 3 ,
.Xr DlpResetSyncFlags 3 ,
.Xr PConnClose 3 .