summaryrefslogtreecommitdiffstats
path: root/server/db/sysdb.h
diff options
context:
space:
mode:
authorSimo Sorce <ssorce@redhat.com>2009-02-28 18:54:10 -0500
committerSimo Sorce <ssorce@redhat.com>2009-02-28 18:55:49 -0500
commit996553cb421bddc32b27e1457dde9749adcf2a31 (patch)
tree8f914e5e20e6d5e2a5c147e9b612afa0137deb0d /server/db/sysdb.h
parentf0cefca80767664b876d10126f7f79fc36dc1993 (diff)
downloadsssd-996553cb421bddc32b27e1457dde9749adcf2a31.tar.gz
sssd-996553cb421bddc32b27e1457dde9749adcf2a31.tar.xz
sssd-996553cb421bddc32b27e1457dde9749adcf2a31.zip
Expose some more functions needed by the tests
Diffstat (limited to 'server/db/sysdb.h')
-rw-r--r--server/db/sysdb.h13
1 files changed, 12 insertions, 1 deletions
diff --git a/server/db/sysdb.h b/server/db/sysdb.h
index b8393ffef..a112d65b5 100644
--- a/server/db/sysdb.h
+++ b/server/db/sysdb.h
@@ -142,7 +142,7 @@ int sysdb_initgroups(TALLOC_CTX *mem_ctx,
bool legacy,
sysdb_callback_t fn, void *ptr);
-
+struct ldb_context *sysdb_ctx_get_ldb(struct sysdb_ctx *ctx);
struct sysdb_ctx *sysdb_req_get_ctx(struct sysdb_req *req);
int sysdb_transaction(TALLOC_CTX *mem_ctx,
@@ -198,4 +198,15 @@ int sysdb_legacy_store_group(struct sysdb_req *sysreq,
const char **members,
sysdb_callback_t fn, void *pvt);
+int sysdb_legacy_add_group_member(struct sysdb_req *sysreq,
+ const char *domain,
+ const char *group,
+ const char *member,
+ sysdb_callback_t fn, void *pvt);
+
+int sysdb_legacy_remove_group_member(struct sysdb_req *sysreq,
+ const char *domain,
+ const char *group,
+ const char *member,
+ sysdb_callback_t fn, void *pvt);
#endif /* __SYS_DB_H__ */