From f924a022cbc973ae646bff5119a1784e979a052f Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Mon, 1 Nov 2010 15:41:07 +1100 Subject: s4-ldb: added ldb command line hook support ldb modules can now add hooks to the command line processing for ldb tools Pair-Programmed-With: Andrew Bartlett --- source4/lib/ldb/include/ldb_includes.h | 7 ------- source4/lib/ldb/include/ldb_private.h | 2 ++ 2 files changed, 2 insertions(+), 7 deletions(-) (limited to 'source4/lib/ldb/include') diff --git a/source4/lib/ldb/include/ldb_includes.h b/source4/lib/ldb/include/ldb_includes.h index 602bbec32c..1bb149a03d 100644 --- a/source4/lib/ldb/include/ldb_includes.h +++ b/source4/lib/ldb/include/ldb_includes.h @@ -4,13 +4,6 @@ a temporary includes file until I work on the ldb build system */ -#if (_SAMBA_BUILD_ <= 3) -/* allow forbidden string functions - should be replaced with _m functions */ -#undef strcasecmp -#undef strncasecmp -#define dyn_MODULESDIR dyn_LIBDIR -#endif - #include "replace.h" #include "system/filesys.h" #include "system/time.h" diff --git a/source4/lib/ldb/include/ldb_private.h b/source4/lib/ldb/include/ldb_private.h index ef8cd25030..04b6897e69 100644 --- a/source4/lib/ldb/include/ldb_private.h +++ b/source4/lib/ldb/include/ldb_private.h @@ -125,6 +125,8 @@ struct ldb_context { bool prepare_commit_done; char *partial_debug; + + struct poptOption *popt_options; }; /* The following definitions come from lib/ldb/common/ldb.c */ -- cgit