libtdb.h and libtdb.c

Dave Daugherty dave.daugherty at
Tue May 30 16:46:41 GMT 2006

Byteorder.h is GPL (not LGPL) and so far all of the headers I am using
are carefully LGPL, because libtdb.h gets including in our base code

I would prefer to use byteorder.h if it is converted to LGPL as I agree
it's more-better.



-----Original Message-----
From: Jeremy Allison [mailto:jra at] 
Sent: Friday, May 26, 2006 9:42 PM
To: Dave Daugherty
Cc: samba-technical at
Subject: Re: libtdb.h and libtdb.c

On Sat, May 06, 2006 at 08:50:56PM -0700, Dave Daugherty wrote:
> I have a series of items I am hoping to get into the upcoming 3.0.23
> release.
> If you don't think it is generic enough to warrant inclusion in main
> stream Samba that's okay.

Sorry it's taken me a while to get to this. The thing I
don't like about it is the get/put 1 byte functions. These
are overkill (IMHO) and are reinventing the wheel w.r.t.
IVAL,IVALS,SVAL etc. Look in include/byteorder.h for

Any chance you can re-work it to use the same methods
as the rest of Samba ?


More information about the samba-technical mailing list