s3:winbind: Add async query_user_list
[gd/samba/.git] / source3 / winbindd / winbindd_proto.h
index aeb841edd11498904362cd12a78848a1c36e0dd8..3a9ac4f20f1bd12956d1dcc966f8ea04b21132fc 100644 (file)
@@ -849,4 +849,11 @@ struct tevent_req *winbindd_getusersids_send(TALLOC_CTX *mem_ctx,
 NTSTATUS winbindd_getusersids_recv(struct tevent_req *req,
                                   struct winbindd_response *response);
 
+struct tevent_req *wb_query_user_list_send(TALLOC_CTX *mem_ctx,
+                                          struct tevent_context *ev,
+                                          struct winbindd_domain *domain);
+NTSTATUS wb_query_user_list_recv(struct tevent_req *req, TALLOC_CTX *mem_ctx,
+                                int *num_users,
+                                struct wbint_userinfo **users);
+
 #endif /*  _WINBINDD_PROTO_H_  */