s3-winbindd: add and use winbindd_lookup_sids().
[ira/wip.git] / source3 / winbindd / winbindd_proto.h
index c5b7d9d4149ffa9a8265d1539b097455159cfbc4..19224255e9db6674efd6ce08dea8cd9d31ef2598 100644 (file)
@@ -63,6 +63,15 @@ int main(int argc, char **argv, char **envp);
 
 /* The following definitions come from winbindd/winbindd_ads.c  */
 
+/* The following definitions come from winbindd/winbindd_rpc.c  */
+
+NTSTATUS winbindd_lookup_sids(TALLOC_CTX *mem_ctx,
+                             struct winbindd_domain *domain,
+                             uint32_t num_sids,
+                             const struct dom_sid *sids,
+                             char ***domains,
+                             char ***names,
+                             enum lsa_SidType **types);
 
 /* The following definitions come from winbindd/winbindd_async.c  */
 
@@ -983,4 +992,11 @@ struct tevent_req *winbindd_remove_mapping_send(TALLOC_CTX *mem_ctx,
 NTSTATUS winbindd_remove_mapping_recv(struct tevent_req *req,
                                      struct winbindd_response *response);
 
+struct tevent_req *winbindd_set_hwm_send(TALLOC_CTX *mem_ctx,
+                                        struct tevent_context *ev,
+                                        struct winbindd_cli_state *cli,
+                                        struct winbindd_request *request);
+NTSTATUS winbindd_set_hwm_recv(struct tevent_req *req,
+                              struct winbindd_response *response);
+
 #endif /*  _WINBINDD_PROTO_H_  */