s3:winbind: Convert WINBINDD_GETGRGID to the new API
[ira/wip.git] / source3 / winbindd / winbindd_proto.h
index 6bb3406f7865f0f6c102932d7dcbdb499ca52b23..f68cc2ec40f56b26cc36ba9def3114758851dfd1 100644 (file)
@@ -811,4 +811,10 @@ NTSTATUS wb_getgrsid_recv(struct tevent_req *req, TALLOC_CTX *mem_ctx,
                          const char **domname, const char **name, gid_t *gid,
                          struct talloc_dict **members);
 
+struct tevent_req *winbindd_getgrgid_send(TALLOC_CTX *mem_ctx,
+                                         struct tevent_context *ev,
+                                         struct winbindd_request *request);
+NTSTATUS winbindd_getgrgid_recv(struct tevent_req *req,
+                               struct winbindd_response *response);
+
 #endif /*  _WINBINDD_PROTO_H_  */