[comp.lang.c] C DATABASE LIBRARY WANTED!

jamesd@lakesys.UUCP (James Dickie) (11/30/88)

Hello,

I am in grave need of a public domain (C source) database library.  I need
the functions: get equal, get next, get previous, multiple keys, record
locking, etc.  I need a library of functions that I can just make calls
to and it maintains the index files by itself.

I know there are many comercial ones (like C-TREE, BTRIEVE, C-ISAM) but I
havn't the money...awe... why else would I be programming??? Hee.

Anyway, could anyone please let me know where I could get some of the C
source code libraries?  If you have one PLEASE mail it to me (comprees &
uuencode) or at least write me.  I used to be a uucp sight and I'm in the
new maps listings but my feed-node belched and is just getting back together.
I'll leave the sightname of the node I'm posting this from.

THanks!

Current sight:  jamesd@lakesys.UUCP  {backbone}!marque!lakesys!jamesd


Within a week or so:
   overlord@abyss.UUCP   {backbone,uunet}!marque!lakesys!abyss!overlord

usenet@cps3xx.UUCP (Usenet file owner) (11/30/88)

in article <149@lakesys.UUCP>, jamesd@lakesys.UUCP (James Dickie) says:
> Keywords: dbm
> Xref: cps3xx comp.databases:1807 comp.lang.c:14229 comp.sources.wanted:6037
> Posted: Tue Nov 29 10:47:46 1988
> I am in grave need of a public domain (C source) database library.  I need
> the functions: get equal, get next, get previous, multiple keys, record
> locking, etc.  I need a library of functions that I can just make calls
> to and it maintains the index files by itself.

A suggestion:

The book "C Database Programming" by Al Stevens. Describes and
implements a simple ISAM in C. I also has a data dictionary generator.
If you don't have time to type in all the source, a disk is available
from the publisher with all the code on it. The book was written with
an eye towards PC's, but the code is pretty generic code (the author
claims the code will run with about a dozen different PC compilers)

I don't think this one implements record locking. However, it is worth
the checkout.

John H. Lawitzke      UUCP: ...rutgers!mailrus!frith!fciiho!jhl
Michigan Farm Bureau        ...decvax!purdue!mailrus!frith!fciiho!jhl
Insurance Group             ...uunet!frith!jhl
"What?!? Real computing at an insurance company?!? AND in Michigan!?!"

alan@k0jfv.UUCP (Al Kiecker) (12/03/88)

Ray Swartz in his "Doing Business With Unix" column in the past several
issues of Unix World (July thru November 1988) described a series
of routines and shell scripts for maintaining a B-tree database.
The code is available from Shark's Head Bulletin Board in Santa Clara, CA.
See the November issue of Unix World page 151 for login information.
-- 
Al Kiecker		
WORK: 	alan@sx1100.SP.UNISYS.COM			(612)635-2574
HOME:	alan@k0jfv.MN.ORG				(612)432-8139