summaryrefslogtreecommitdiff
path: root/source4/lib/ldb/include
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-11-01 15:41:07 +1100
committerAndrew Tridgell <tridge@samba.org>2010-11-01 18:55:20 +1100
commitf924a022cbc973ae646bff5119a1784e979a052f (patch)
tree19214278c6d7fd79ce65663748ee96193ec000cd /source4/lib/ldb/include
parentfd8815335d1295d3d0b9f5e7870f4ed364b1dd3b (diff)
downloadsamba-f924a022cbc973ae646bff5119a1784e979a052f.tar.gz
samba-f924a022cbc973ae646bff5119a1784e979a052f.tar.bz2
samba-f924a022cbc973ae646bff5119a1784e979a052f.zip
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 <abartlet@samba.org>
Diffstat (limited to 'source4/lib/ldb/include')
-rw-r--r--source4/lib/ldb/include/ldb_includes.h7
-rw-r--r--source4/lib/ldb/include/ldb_private.h2
2 files changed, 2 insertions, 7 deletions
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 */