diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2009-04-23 18:59:37 +0200 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2009-04-23 18:59:37 +0200 |
commit | af6316d1500cfcedd5fd59ed0ddbba9aec9c3756 (patch) | |
tree | c4bc28c36761973c35639f44ab0be71dd1b392b1 /source4/lib/ldb | |
parent | b6981e79dfb22819f48edcd4041b00f9b8cd7a93 (diff) | |
download | samba-af6316d1500cfcedd5fd59ed0ddbba9aec9c3756.tar.gz samba-af6316d1500cfcedd5fd59ed0ddbba9aec9c3756.tar.bz2 samba-af6316d1500cfcedd5fd59ed0ddbba9aec9c3756.zip |
Provide a ldb_global_init() function for compatibility with older versions of LDB
(including the one in Samba 3).
Diffstat (limited to 'source4/lib/ldb')
-rw-r--r-- | source4/lib/ldb/common/ldb.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/source4/lib/ldb/common/ldb.c b/source4/lib/ldb/common/ldb.c index 86ce2069a5..64ad6832db 100644 --- a/source4/lib/ldb/common/ldb.c +++ b/source4/lib/ldb/common/ldb.c @@ -1430,3 +1430,9 @@ void *ldb_get_opaque(struct ldb_context *ldb, const char *name) } return NULL; } + +int ldb_global_init(void) +{ + /* Provided for compatibility with some older versions of ldb */ + return 0; +} |