s3: Convert WINBINDD_PAM_CHAUTHTOK to the new async API
[metze/samba/wip.git] / source3 / winbindd / winbindd_proto.h
index 4e88d884044675042bec3c370ca15e099e097e8f..c72a1fe81d9c5fdb048da1f904b2044c1af2af5f 100644 (file)
@@ -386,7 +386,6 @@ enum winbindd_result winbindd_dual_pam_auth(struct winbindd_domain *domain,
                                            struct winbindd_cli_state *state) ;
 enum winbindd_result winbindd_dual_pam_auth_crap(struct winbindd_domain *domain,
                                                 struct winbindd_cli_state *state) ;
-void winbindd_pam_chauthtok(struct winbindd_cli_state *state);
 enum winbindd_result winbindd_dual_pam_chauthtok(struct winbindd_domain *contact_domain,
                                                 struct winbindd_cli_state *state);
 void winbindd_pam_logoff(struct winbindd_cli_state *state);
@@ -865,4 +864,12 @@ struct tevent_req *winbindd_pam_auth_crap_send(
 NTSTATUS winbindd_pam_auth_crap_recv(struct tevent_req *req,
                                     struct winbindd_response *response);
 
+struct tevent_req *winbindd_pam_chauthtok_send(
+       TALLOC_CTX *mem_ctx,
+       struct tevent_context *ev,
+       struct winbindd_cli_state *cli,
+       struct winbindd_request *request);
+NTSTATUS winbindd_pam_chauthtok_recv(struct tevent_req *req,
+                                    struct winbindd_response *response);
+
 #endif /*  _WINBINDD_PROTO_H_  */