Chris Faherty wrote:
>
> David Williams announced a tool to read/write pdb files last week on here. I
> haven't tried it but I think it is quite a bit more compact than using the
> pilot-link library.
>
> http://www.djw.org/product/palm/par/index.html
Yea, what Chris said.
> On 19-May-99 Alan Kennington wrote:
>
> > It would be nicer, of course, if there was a well-documented API
> > for development of *.pdb file read/write utilities and
> > conduit development in the Unix idiom.
Man, good timing.
If you read the par description page, you'll see that par is my test program
for _libprc_. I, too, was tired of 1) having a bunch of little tools for
twiddling prc and pdb files (mind you, all great little tools), and 2) all of
them using different coding strategies to manipulate the databases. I wanted a
library like libelf (standard elf(3) api on ELF based Unix machines) that
would make it easier to create and modify prc and pdb files. Enter libprc..
If you download the par source, you'll see that the Makefile has a rule for
libprc.a. libprc.a and prc.h should be all you need to write your own prc/pdb
hacking tool. I haven't written any doc (like a man page) yet (which is why I
haven't separately announced libprc), but I think you could get started with
the descriptions in prc.h and using par.c as an example. Help me make libprc
good! One warning: things will change (but not too much).
I've built the stuff on a number of Unix boxes with no problems (some problems
on Solaris, fixes coming), and once on Windows. I'll have an update soon with
portability fixes.
djw