libwbclient: Implement wbcSidToGid_send/recv
[samba.git] / nsswitch / libwbclient / wbc_async.h
index 043b30363270e5c4ee5ff801ae025ea67d2cb240..eb8798ebc6a75db707ebcf4b2d044082c8b6fa56 100644 (file)
@@ -106,6 +106,12 @@ struct tevent_req *wbcUidToSid_send(TALLOC_CTX *mem_ctx,
                                    uid_t uid);
 wbcErr wbcUidToSid_recv(struct tevent_req *req, struct wbcDomainSid *psid);
 
+struct tevent_req *wbcSidToGid_send(TALLOC_CTX *mem_ctx,
+                                   struct tevent_context *ev,
+                                   struct wb_context *wb_ctx,
+                                   const struct wbcDomainSid *sid);
+wbcErr wbcSidToGid_recv(struct tevent_req *req, gid_t *pgid);
+
 /* Async functions from wbc_util.c */
 
 struct tevent_req *wbcPing_send(TALLOC_CTX *mem_ctx,