summaryrefslogtreecommitdiffstats
path: root/src/db/sysdb.h
diff options
context:
space:
mode:
authorSimo Sorce <ssorce@redhat.com>2010-02-28 11:00:21 -0500
committerStephen Gallagher <sgallagh@redhat.com>2010-04-12 09:22:13 -0400
commitc4a8b4169eea9661156d78dfe73a723fc5b61697 (patch)
tree9093c50e0d028301a80be4e694f2530ed868aab3 /src/db/sysdb.h
parent506d34d2e84268c6589f613de0cb3992b8fb87a6 (diff)
downloadsssd-c4a8b4169eea9661156d78dfe73a723fc5b61697.tar.gz
sssd-c4a8b4169eea9661156d78dfe73a723fc5b61697.tar.xz
sssd-c4a8b4169eea9661156d78dfe73a723fc5b61697.zip
sysdb: convert sysdb_get_new_id
Diffstat (limited to 'src/db/sysdb.h')
-rw-r--r--src/db/sysdb.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/db/sysdb.h b/src/db/sysdb.h
index dc311f103..1e4e0c165 100644
--- a/src/db/sysdb.h
+++ b/src/db/sysdb.h
@@ -405,11 +405,10 @@ int sysdb_set_group_attr(TALLOC_CTX *mem_ctx,
int mod_op);
/* Allocate a new id */
-struct tevent_req *sysdb_get_new_id_send(TALLOC_CTX *mem_ctx,
- struct tevent_context *ev,
- struct sysdb_handle *handle,
- struct sss_domain_info *domain);
-int sysdb_get_new_id_recv(struct tevent_req *req, uint32_t *id);
+int sysdb_get_new_id(TALLOC_CTX *mem_ctx,
+ struct sysdb_ctx *ctx,
+ struct sss_domain_info *domain,
+ uint32_t *id);
/* Add user (only basic attrs and w/o checks) */
struct tevent_req *sysdb_add_basic_user_send(TALLOC_CTX *mem_ctx,