diff options
Diffstat (limited to 'source4/lib/ldb/ldb_tdb')
-rw-r--r-- | source4/lib/ldb/ldb_tdb/ldb_tdb.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/source4/lib/ldb/ldb_tdb/ldb_tdb.c b/source4/lib/ldb/ldb_tdb/ldb_tdb.c index 0825348658..5470fccb97 100644 --- a/source4/lib/ldb/ldb_tdb/ldb_tdb.c +++ b/source4/lib/ldb/ldb_tdb/ldb_tdb.c @@ -1033,7 +1033,7 @@ static const struct ldb_module_ops ltdb_ops = { /* connect to the database */ -int ltdb_connect(struct ldb_context *ldb, const char *url, +static int ltdb_connect(struct ldb_context *ldb, const char *url, unsigned int flags, const char *options[]) { const char *path; @@ -1094,3 +1094,8 @@ int ltdb_connect(struct ldb_context *ldb, const char *url, return 0; } + +int ldb_tdb_init(void) +{ + return ldb_register_backend("tdb:", ltdb_connect); +} |