example C code for reading db hash files
C. P. Ghost
cpghost at cordula.ws
Mon Apr 5 23:06:53 UTC 2010
On Mon, Apr 5, 2010 at 10:28 PM, Jim Sander <jimsander at 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?
http://www.oracle.com/technology/documentation/berkeley-db/db/index.html
There are C, C++ and other bindings for the Berkeley DB,
each of which comes with some examples.
Use the bindings you feel most comfortable with.
-cpghost.
--
Cordula's Web. http://www.cordula.ws/
More information about the freebsd-questions
mailing list