TDB: using the jenkins hash for non-persistent tdbs

Andreas Schneider asn at
Thu Sep 23 03:31:40 MDT 2010

On Tuesday, September 21, 2010 04:21:16 Rusty Russell wrote:
> Minor suggestions and one problem:
> 1) Can we make this more generic?  Perhaps move tdb_jenkins_hash to hash.c
>    and expose it in the header so the user can pass it to tdb_open_ex.

Hi Rusty and Metze,

I'm using the jhash in my file synchronizer. I've cleaned up the the code for 
it and put the 32bit and 64bit version in a header file.

You can split it up in a .h and .c file.

	-- andreas

More information about the samba-technical mailing list