libwbclient: Implement wbcGidToSid_send/recv
[ira/wip.git] / nsswitch / libwbclient / wbc_async.h
index eb8798ebc6a75db707ebcf4b2d044082c8b6fa56..a1f2e2983147e3030cd2008332f131434038a9f1 100644 (file)
@@ -112,6 +112,12 @@ struct tevent_req *wbcSidToGid_send(TALLOC_CTX *mem_ctx,
                                    const struct wbcDomainSid *sid);
 wbcErr wbcSidToGid_recv(struct tevent_req *req, gid_t *pgid);
 
+struct tevent_req *wbcGidToSid_send(TALLOC_CTX *mem_ctx,
+                                   struct tevent_context *ev,
+                                   struct wb_context *wb_ctx,
+                                   gid_t gid);
+wbcErr wbcGidToSid_recv(struct tevent_req *req, struct wbcDomainSid *psid);
+
 /* Async functions from wbc_util.c */
 
 struct tevent_req *wbcPing_send(TALLOC_CTX *mem_ctx,