From c4a8b4169eea9661156d78dfe73a723fc5b61697 Mon Sep 17 00:00:00 2001 From: Simo Sorce Date: Sun, 28 Feb 2010 11:00:21 -0500 Subject: sysdb: convert sysdb_get_new_id --- src/db/sysdb.h | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'src/db/sysdb.h') diff --git a/src/db/sysdb.h b/src/db/sysdb.h index dc311f10..1e4e0c16 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, -- cgit