Re: example C code for reading db hash files

2010-04-06 Thread Jim Sander
On Apr 5, 2010, at 8:51 PM, C. P. Ghost wrote: /usr/src/lib/libc/db/README This is version 1.85 of the Berkeley DB code. I apologize for being imprecise in my original question. What you've provided is enough to give me progress. I think /usr/src/lib/libc/db/ tests/hash.tests will at

example C code for reading db hash files

2010-04-05 Thread Jim Sander
Is there a handy C code reference or examples for db files? (google has not been kind to me) I have a tied hash from Perl using DB_File, and need read only access in a C program. ___ freebsd-questions@freebsd.org mailing list

Re: example C code for reading db hash files

2010-04-05 Thread C. P. Ghost
On Mon, Apr 5, 2010 at 10:28 PM, Jim Sander jimsan...@mac.com wrote: Is there a handy C code reference or examples for db files? (google has not been kind to me) I have a tied hash from Perl using DB_File, and need read only access in a C program. You mean a reference... like this?

Re: example C code for reading db hash files

2010-04-05 Thread Jim Sander
Thank you - but unfortunately, that doesn't help (it was the first place I checked actually) - I assume because of historical changes, but possibly because I'm missing something obvious. http://www.oracle.com/technology/documentation/berkeley-db/db/ api_reference/C/dbopen.html vs.

Re: example C code for reading db hash files

2010-04-05 Thread C. P. Ghost
On Tue, Apr 6, 2010 at 2:24 AM, Jim Sander jimsan...@mac.com wrote: Thank you - but unfortunately, that doesn't help (it was the first place I checked actually) - I assume because of historical changes, but possibly because I'm missing something obvious.