Re: Apple's and Sleepycat's BSD DataBase
Re: Apple's and Sleepycat's BSD DataBase
- Subject: Re: Apple's and Sleepycat's BSD DataBase
- From: Chris Ridd <email@hidden>
- Date: Sat, 17 May 2003 19:53:07 +0100
On 17/5/03 10:55 am, Lorenzo <email@hidden> wrote:
>
Thank you Chris,
>
I was just taking a look at the Sleepycat's web site. They don't explain on
>
the web site how their no-open source license works. I sent them an email
>
asking for furhter info. In the meantime I downloaded the file db-4.1.25 and
>
at the first look it seems to be very hard to understand. There are hundreds
>
of C files... I didn't find yet the starting point, nor some sample or
>
tutorial for MacOS X. Anyway, I spent only 5 minutes on it... I hope to do
>
better in the next hours.
Sleepycat has documentation on their web site:
<
http://www.sleepycat.com/docs/index.html>
I would start at the Tutorial and Reference Guide:
<
http://www.sleepycat.com/docs/reftoc.html>
Judging from Apple's (FreeBSD's?) man page for dbopen it is a really old
version of DB that doesn't support transactions and stuff. I *suspect* it
doesn't require licensing etc from Sleepycat, but of course it is a
relatively crude DB compared to the Sleepycat version.
It would be good to get some more official clarification on this DB's
status.
>
As far as the Apple's DB I know even less. I presume I have to learn a lot
>
of stuffs. Where should I look for some sample, tutorial, more that the 'man
>
dbopen' reports?
The dbopen call returns a structure (struct DB) containing pointers to
various functions, and you call those functions to do useful things to the
database.
Cheers,
Chris
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.