summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSumit Bose <sbose@redhat.com>2016-07-12 17:09:00 +0200
committerSumit Bose <sbose@redhat.com>2016-07-13 15:45:07 +0200
commitc850fd48a7961a7293c20e8ef9729b869feae1a5 (patch)
treeb6b3e8e4e9e011bfc27f24d1e0b0904e4c0e5db1
parent355b404f7494a8bd3067f13a908b41ae8b9fa0e2 (diff)
downloadsssd-c850fd48a7961a7293c20e8ef9729b869feae1a5.zip
sssd-c850fd48a7961a7293c20e8ef9729b869feae1a5.tar.gz
sssd-c850fd48a7961a7293c20e8ef9729b869feae1a5.tar.xz
IPA: make ipa_resolve_user_list_{send|recv} public
-rw-r--r--src/providers/ipa/ipa_id.c4
-rw-r--r--src/providers/ipa/ipa_id.h8
2 files changed, 10 insertions, 2 deletions
diff --git a/src/providers/ipa/ipa_id.c b/src/providers/ipa/ipa_id.c
index e092cd2..262d3af 100644
--- a/src/providers/ipa/ipa_id.c
+++ b/src/providers/ipa/ipa_id.c
@@ -71,7 +71,7 @@ struct ipa_resolve_user_list_state {
static errno_t ipa_resolve_user_list_get_user_step(struct tevent_req *req);
static void ipa_resolve_user_list_get_user_done(struct tevent_req *subreq);
-static struct tevent_req *
+struct tevent_req *
ipa_resolve_user_list_send(TALLOC_CTX *memctx, struct tevent_context *ev,
struct ipa_id_ctx *ipa_ctx,
const char *domain_name,
@@ -182,7 +182,7 @@ done:
return;
}
-static int ipa_resolve_user_list_recv(struct tevent_req *req, int *dp_error)
+int ipa_resolve_user_list_recv(struct tevent_req *req, int *dp_error)
{
struct ipa_resolve_user_list_state *state = tevent_req_data(req,
struct ipa_resolve_user_list_state);
diff --git a/src/providers/ipa/ipa_id.h b/src/providers/ipa/ipa_id.h
index 17db522..485fa3f 100644
--- a/src/providers/ipa/ipa_id.h
+++ b/src/providers/ipa/ipa_id.h
@@ -135,4 +135,12 @@ struct tevent_req *ipa_get_subdom_acct_process_pac_send(TALLOC_CTX *mem_ctx,
struct ldb_message *user_msg);
errno_t ipa_get_subdom_acct_process_pac_recv(struct tevent_req *req);
+
+struct tevent_req *
+ipa_resolve_user_list_send(TALLOC_CTX *memctx, struct tevent_context *ev,
+ struct ipa_id_ctx *ipa_ctx,
+ const char *domain_name,
+ struct ldb_message_element *users);
+int ipa_resolve_user_list_recv(struct tevent_req *req, int *dp_error);
+
#endif