summaryrefslogtreecommitdiff
path: root/common/dhash
AgeCommit message (Collapse)AuthorFilesLines
2010-08-19Remove common directoryStephen Gallagher11-2949/+0
All files formerly in common are now being built individually out of the ding-libs repository. git clone git://git.fedorahosted.org/git/ding-libs.git
2010-04-12Support docdir and abs_builddirStephen Gallagher1-0/+6
Old versions of autoconf (before 2.60) did not include support for the docdir and abs_builddir variables. This patch emulates support for them. Fixes https://fedorahosted.org/sssd/ticket/422
2010-02-18Properly license libdhashStephen Gallagher4-0/+88
2010-01-20Split off libdhash into a shared libraryStephen Gallagher5-9/+16
Right now, the pkg-config checks for the system version of libdhash are forcibly disabled, requiring the SSSD to build it from its own tree. In the future, when we split the libraries off from the SSSD, it will be easy to switch this check to the external library.
2010-01-20License libdhash under the LGPLStephen Gallagher3-0/+844
2009-12-08Add comments to document latest changesSimo Sorce1-0/+7
2009-12-08dhash: Add private pointer for delete callbackSimo Sorce4-13/+35
Also pass a flag to the delete callback to tell it if this is a normal entry removal or we are cleaning up the tbale definitively.
2009-12-08Run dhash testsStephen Gallagher1-0/+2
Previously we were only building them but not running them.
2009-12-08Change dhash API to be talloc-friendlySimo Sorce3-39/+78
2009-10-29Clean up warnings in dhash testsStephen Gallagher2-9/+9
2009-09-15Include m4 directories in tarballStephen Gallagher1-1/+3
Necessary for RPM builds on RHEL5
2009-09-11Add 'make tests' targetStephen Gallagher1-0/+2
2009-07-13Build all SSSD components with warnings enabledStephen Gallagher2-1/+9
Previously, only the SSSD server components were being built with compile-time warnings enabled. This patch will ensure that all components in common and sss_client are also built the same way.
2009-07-03Clean up warnings in common/Simo Sorce1-1/+1
Fix consts and function declarations
2009-06-02Enable quiet build for automake >= 1.11Stephen Gallagher1-0/+3
If automake 1.11 or higher is available, use of the configure option '--enable-silent-rules' will suppress most build messages and replace them with lines such as CC sysdb.o This affects libtool as well.
2009-05-26Clean up automake build to work on older versions of libtoolStephen Gallagher1-5/+6
LT_INIT is supported only on Libtool >= 2.0, so I reverted it to using AC_PROG_LIBTOOL. Also reorganized how the common libraries were being built. Now they are treated as libtool convenience libraries instead of installable libraries (the --with-singlelib configure flag can still be used to generate a combined, installable DSO) I cleaned up the set of files being installed by automake, so the list of things we need to remove before packaging the RPM is now only the .la files associated with our own plugins.
2009-05-26more autotools cleanupSumit Bose1-1/+1
2009-05-19Fix RPM generation issues with sssdStephen Gallagher1-2/+2
Ensures that the common libraries build statically. Also ensures that the sssd.spec creates the SYSV init script with the appropriate permissions. Cleans up the useless rpmdist target that was obsolete. Adds the *.so.N.0.0 files to the RPM, as the .so and .so.N files were dangling symlinks.
2009-05-19Enable parallel builds for the common librariesStephen Gallagher1-1/+1
2009-05-14Enable modular build of common SSSD librariesStephen Gallagher4-1/+22
Allow configuration and build of individual SSSD utility libraries from their own subdirectories. Building all utilities is still possible recursively from the common root.
2009-04-22add dynamic hash table data structure implementationJohn Dennis6-0/+1897
Apply suggested fixes by Simo after code review * return statements no longer use () unless it's an expression * remove all use of assert() in library * use bool,true,false instead of int,TRUE,FALSE * add check for NULL hash table in public entry points * example code in header file now a seperate file * assure consistent use of unsigned long data type * add more debugging support * break out generation of integer key into convert_key() function * table parameters now tunable rather than hardcoded * table can now accept custom alloc()/free() functions * add function create_table_ex() to pass extra table parameters * remove MUL(), DIV(), MOD() macros * hash statistics now separate struct which can be queried * test program now accepts tuning parameters, iteration count; has better error checking and reporting fix min/max load factor comman line args in test program