Skip to Content.
Sympa Menu

sm-sorcery - [SM-Sorcery]libbdb v0.2.0

sm-sorcery AT lists.ibiblio.org

Subject: Discussion of Sorcery related topics

List archive

Chronological Thread  
  • From: Mark Andrews <msasgl AT msa-enterprises.com>
  • To: sm-sorcery AT lists.ibiblio.org
  • Subject: [SM-Sorcery]libbdb v0.2.0
  • Date: Tue, 15 Oct 2002 16:17:12 +0100

Hello All,

Never sure whether this is better here or on sm-discuss.. Oh well I'm
sure someone will point out any errors in my ways ;-)

Attached is the current version of libbdb which has now expanded into
a liblock and a libstrings as well. The major changes in this one are
the full implementation of locking and new search functionality.

The liblock is not the same as sorcery's - maybe I should stick
another b in it 8-) This is partly because the code was written on a
Knoppix machine so I didn't have the sorcery libs to hand, and partly
because the sorcery liblock seemed overly complex for what this code
needed.

tar contains:

./testbdb test routine (handy to see capabilities of libbdb)
./lib/libbdb Bash Database Library v0.2.0
./lib/liblock Bash Locks Library v0.1.0
./lib/libstrings Bash Strings library v0.1.0

This version features:

libbdb: store, insert, remove, search, lookup, linenum functions

liblock: lock, unlock, testlock functions.
Supports:
Opportunistic Single File Locks
Planned Multi File Locks
Automatic dead pid lock resolution

libstring: stringcontains, filecontains functions

In case anyone has forgotten, I'm doing this to provide a common way
to store information from the hardware detect stuff I'm working on.
This release has actually gone way beyond what I needed for that - I
was thinking of how it could be used for sorting dependancies etc and
added a few things to support that ;-)

Anyway have a look and, as usual, suggestions for improvements are
welcomed. Hopefully not too many as I'd like to put this to bed soon
and get back to detecting stuff 8-)

--
Best regards,
Mark mailto:msasgl AT msa-enterprises.com

Attachment: libbdb-0.2.0.tar.bz2
Description: Binary data



  • [SM-Sorcery]libbdb v0.2.0, Mark Andrews, 10/15/2002

Archive powered by MHonArc 2.6.24.

Top of Page