summaryrefslogtreecommitdiffstats
path: root/src/db/sysdb.h
diff options
context:
space:
mode:
authorSimo Sorce <ssorce@redhat.com>2010-02-28 03:19:13 -0500
committerStephen Gallagher <sgallagh@redhat.com>2010-04-12 09:22:12 -0400
commit5c69fd7c03e762a6fb08a7224eb1d6fd2967d09c (patch)
treea7c997552551da35fe9edc3f747668edf74e5242 /src/db/sysdb.h
parent1c733ece101ca43b84c59a8dc7953346312dbf64 (diff)
downloadsssd-5c69fd7c03e762a6fb08a7224eb1d6fd2967d09c.tar.gz
sssd-5c69fd7c03e762a6fb08a7224eb1d6fd2967d09c.tar.xz
sssd-5c69fd7c03e762a6fb08a7224eb1d6fd2967d09c.zip
sysdb: convert sysdb_search_group_by_name/gid
Diffstat (limited to 'src/db/sysdb.h')
-rw-r--r--src/db/sysdb.h30
1 files changed, 13 insertions, 17 deletions
diff --git a/src/db/sysdb.h b/src/db/sysdb.h
index 9e638f500..aeea6224e 100644
--- a/src/db/sysdb.h
+++ b/src/db/sysdb.h
@@ -367,23 +367,19 @@ int sysdb_search_user_by_uid(TALLOC_CTX *mem_ctx,
struct ldb_message **msg);
/* Search Group (gy gid or name) */
-struct tevent_req *sysdb_search_group_by_name_send(TALLOC_CTX *mem_ctx,
- struct tevent_context *ev,
- struct sysdb_ctx *sysdb,
- struct sysdb_handle *handle,
- struct sss_domain_info *domain,
- const char *name,
- const char **attrs);
-struct tevent_req *sysdb_search_group_by_gid_send(TALLOC_CTX *mem_ctx,
- struct tevent_context *ev,
- struct sysdb_ctx *sysdb,
- struct sysdb_handle *handle,
- struct sss_domain_info *domain,
- gid_t gid,
- const char **attrs);
-int sysdb_search_group_recv(struct tevent_req *req,
- TALLOC_CTX *mem_ctx,
- struct ldb_message **msg);
+int sysdb_search_group_by_name(TALLOC_CTX *mem_ctx,
+ struct sysdb_ctx *ctx,
+ struct sss_domain_info *domain,
+ const char *name,
+ const char **attrs,
+ struct ldb_message **msg);
+
+int sysdb_search_group_by_gid(TALLOC_CTX *mem_ctx,
+ struct sysdb_ctx *ctx,
+ struct sss_domain_info *domain,
+ gid_t gid,
+ const char **attrs,
+ struct ldb_message **msg);
/* Replace entry attrs */
struct tevent_req *sysdb_set_entry_attr_send(TALLOC_CTX *mem_ctx,