[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [coldsync-hackers] How to delete all records from one DB everyevery sync time sync happens?
On Wed, 30 May 2001, Wocjciech [iso-8859-1] Godyński wrote:
> Yes. I supposed I had to do sync conduit,but cannot find description of arguments
> taken and returned by DLP DeleteRecord.
> I tried to call DLP DeleteDatabase, but no succes. I don't know what to pass, and
> what I receive.
The most authoritative reference that I know of is in the headers
in the Palm Software Developer's Kit (SDK), available from www.palmos.com.
Look in DLCommon.h (I think).
You can also look at "libpconn/dlp_cmd.c" in the ColdSync source.
That will show you which arguments to supply and in what order.
"perl/ColdSync/ColdSync/SPC.pm" has a few DLP functions already
implemented. You can use those as a template to add more.
"conduits/std-categories" is, unfortunately, the only real example
of either a Sync conduit, or of using SPC. You can still use it as an
example, though.
--
Andrew Arensburger Actually, these _do_ represent the
arensb@ooblick.com opinions of ooblick.com!
Generic Tagline V 6.01
--
This message was sent through the coldsync-hackers mailing list. To remove
yourself from this mailing list, send a message to majordomo@thedotin.net
with the words "unsubscribe coldsync-hackers" in the message body. For more
information on Coldsync, send mail to coldsync-hackers-owner@thedotin.net.