From c9f6d2795fde2f9bf80277d425df2b44bc860226 Mon Sep 17 00:00:00 2001 From: Simo Sorce Date: Wed, 25 Feb 2009 16:40:17 -0500 Subject: Rebase the code to use talloc, tdb, tevent, ldb as external dependencies based on the latest samba code. Convert all references to the old events library to use the renamed tevent library. --- server/confdb/confdb.c | 5 +---- server/confdb/confdb.h | 6 +++++- 2 files changed, 6 insertions(+), 5 deletions(-) (limited to 'server/confdb') diff --git a/server/confdb/confdb.c b/server/confdb/confdb.c index 743ce2778..0435191be 100644 --- a/server/confdb/confdb.c +++ b/server/confdb/confdb.c @@ -20,9 +20,6 @@ */ #define _GNU_SOURCE -#include "config.h" -#include -#include #include "ldb.h" #include "ldb_errors.h" #include "util/util.h" @@ -566,7 +563,7 @@ done: } int confdb_init(TALLOC_CTX *mem_ctx, - struct event_context *ev, + struct tevent_context *ev, struct confdb_ctx **cdb_ctx, char *confdb_location) { diff --git a/server/confdb/confdb.h b/server/confdb/confdb.h index 57da19675..a1d808559 100644 --- a/server/confdb/confdb.h +++ b/server/confdb/confdb.h @@ -19,6 +19,10 @@ along with this program. If not, see . */ +#include +#include "talloc.h" +#include "tevent.h" + #define CONFDB_FILE "config.ldb" struct confdb_ctx; @@ -49,7 +53,7 @@ int confdb_get_bool(struct confdb_ctx *cdb, TALLOC_CTX *ctx, bool defval, bool *result); int confdb_init(TALLOC_CTX *mem_ctx, - struct event_context *ev, + struct tevent_context *ev, struct confdb_ctx **cdb_ctx, char *confdb_location); -- cgit