diff options
Diffstat (limited to 'server/db')
-rw-r--r-- | server/db/sysdb.c | 16 | ||||
-rw-r--r-- | server/db/sysdb.h | 16 |
2 files changed, 16 insertions, 16 deletions
diff --git a/server/db/sysdb.c b/server/db/sysdb.c index c4b040b63..ddd7fbe48 100644 --- a/server/db/sysdb.c +++ b/server/db/sysdb.c @@ -180,7 +180,7 @@ static int pwd_search(struct sysdb_search_ctx *sctx, } int sysdb_getpwnam(TALLOC_CTX *mem_ctx, - struct event_context *ev, + struct tevent_context *ev, struct sysdb_ctx *ctx, const char *domain, const char *name, @@ -209,7 +209,7 @@ int sysdb_getpwnam(TALLOC_CTX *mem_ctx, } int sysdb_getpwuid(TALLOC_CTX *mem_ctx, - struct event_context *ev, + struct tevent_context *ev, struct sysdb_ctx *ctx, const char *domain, uid_t uid, @@ -239,7 +239,7 @@ int sysdb_getpwuid(TALLOC_CTX *mem_ctx, } int sysdb_enumpwent(TALLOC_CTX *mem_ctx, - struct event_context *ev, + struct tevent_context *ev, struct sysdb_ctx *ctx, const char *domain, bool legacy, @@ -492,7 +492,7 @@ static int grp_search(struct sysdb_search_ctx *sctx, } int sysdb_getgrnam(TALLOC_CTX *mem_ctx, - struct event_context *ev, + struct tevent_context *ev, struct sysdb_ctx *ctx, const char *domain, const char *name, @@ -521,7 +521,7 @@ int sysdb_getgrnam(TALLOC_CTX *mem_ctx, } int sysdb_getgrgid(TALLOC_CTX *mem_ctx, - struct event_context *ev, + struct tevent_context *ev, struct sysdb_ctx *ctx, const char *domain, gid_t gid, @@ -551,7 +551,7 @@ int sysdb_getgrgid(TALLOC_CTX *mem_ctx, } int sysdb_enumgrent(TALLOC_CTX *mem_ctx, - struct event_context *ev, + struct tevent_context *ev, struct sysdb_ctx *ctx, const char *domain, bool legacy, @@ -691,7 +691,7 @@ static void sysdb_initgr_search(void *ptr, int status, } int sysdb_initgroups(TALLOC_CTX *mem_ctx, - struct event_context *ev, + struct tevent_context *ev, struct sysdb_ctx *ctx, const char *domain, const char *name, @@ -893,7 +893,7 @@ done: } int sysdb_init(TALLOC_CTX *mem_ctx, - struct event_context *ev, + struct tevent_context *ev, struct confdb_ctx *cdb, const char *alt_db_path, struct sysdb_ctx **dbctx) diff --git a/server/db/sysdb.h b/server/db/sysdb.h index e0dd33496..c6cc4deb7 100644 --- a/server/db/sysdb.h +++ b/server/db/sysdb.h @@ -87,13 +87,13 @@ struct confdb_ctx; typedef void (*sysdb_callback_t)(void *, int, struct ldb_result *); int sysdb_init(TALLOC_CTX *mem_ctx, - struct event_context *ev, + struct tevent_context *ev, struct confdb_ctx *cdb, const char *alt_db_path, struct sysdb_ctx **dbctx); int sysdb_getpwnam(TALLOC_CTX *mem_ctx, - struct event_context *ev, + struct tevent_context *ev, struct sysdb_ctx *ctx, const char *domain, const char *name, @@ -101,7 +101,7 @@ int sysdb_getpwnam(TALLOC_CTX *mem_ctx, sysdb_callback_t fn, void *ptr); int sysdb_getpwuid(TALLOC_CTX *mem_ctx, - struct event_context *ev, + struct tevent_context *ev, struct sysdb_ctx *ctx, const char *domain, uid_t uid, @@ -109,14 +109,14 @@ int sysdb_getpwuid(TALLOC_CTX *mem_ctx, sysdb_callback_t fn, void *ptr); int sysdb_enumpwent(TALLOC_CTX *mem_ctx, - struct event_context *ev, + struct tevent_context *ev, struct sysdb_ctx *ctx, const char *domain, bool legacy, sysdb_callback_t fn, void *ptr); int sysdb_getgrnam(TALLOC_CTX *mem_ctx, - struct event_context *ev, + struct tevent_context *ev, struct sysdb_ctx *ctx, const char *domain, const char *name, @@ -124,7 +124,7 @@ int sysdb_getgrnam(TALLOC_CTX *mem_ctx, sysdb_callback_t fn, void *ptr); int sysdb_getgrgid(TALLOC_CTX *mem_ctx, - struct event_context *ev, + struct tevent_context *ev, struct sysdb_ctx *ctx, const char *domain, gid_t gid, @@ -132,14 +132,14 @@ int sysdb_getgrgid(TALLOC_CTX *mem_ctx, sysdb_callback_t fn, void *ptr); int sysdb_enumgrent(TALLOC_CTX *mem_ctx, - struct event_context *ev, + struct tevent_context *ev, struct sysdb_ctx *ctx, const char *domain, bool legacy, sysdb_callback_t fn, void *ptr); int sysdb_initgroups(TALLOC_CTX *mem_ctx, - struct event_context *ev, + struct tevent_context *ev, struct sysdb_ctx *ctx, const char *domain, const char *name, |