summaryrefslogtreecommitdiffstats
path: root/server/db/sysdb.c
diff options
context:
space:
mode:
authorSimo Sorce <ssorce@redhat.com>2009-02-25 16:40:17 -0500
committerSimo Sorce <ssorce@redhat.com>2009-02-26 09:13:20 -0500
commitc9f6d2795fde2f9bf80277d425df2b44bc860226 (patch)
tree301e1217eb5fda73351e9c7fb2f73048853942df /server/db/sysdb.c
parent03fa4034a6a74a326e5340dae42d85eea4516b3c (diff)
downloadsssd-c9f6d2795fde2f9bf80277d425df2b44bc860226.tar.gz
sssd-c9f6d2795fde2f9bf80277d425df2b44bc860226.tar.xz
sssd-c9f6d2795fde2f9bf80277d425df2b44bc860226.zip
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.
Diffstat (limited to 'server/db/sysdb.c')
-rw-r--r--server/db/sysdb.c16
1 files changed, 8 insertions, 8 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)