w3:winbind: Convert WINBINDD_ALLOCATE_UID to the new API
[sfrench/samba-autobuild/.git] / source3 / librpc / gen_ndr / cli_wbint.h
index cf9166a6cb6a9b00b8d5476c54db3c02f3336049..f5fd8120730b1a65a278ae89a11d89dafa122f6a 100644 (file)
@@ -102,6 +102,16 @@ NTSTATUS rpccli_wbint_Gid2Sid(struct rpc_pipe_client *cli,
                              const char *dom_name /* [in] [unique,charset(UTF8)] */,
                              uint64_t gid /* [in]  */,
                              struct dom_sid *sid /* [out] [ref] */);
+struct tevent_req *rpccli_wbint_AllocateUid_send(TALLOC_CTX *mem_ctx,
+                                                struct tevent_context *ev,
+                                                struct rpc_pipe_client *cli,
+                                                uint64_t *_uid /* [out] [ref] */);
+NTSTATUS rpccli_wbint_AllocateUid_recv(struct tevent_req *req,
+                                      TALLOC_CTX *mem_ctx,
+                                      NTSTATUS *result);
+NTSTATUS rpccli_wbint_AllocateUid(struct rpc_pipe_client *cli,
+                                 TALLOC_CTX *mem_ctx,
+                                 uint64_t *uid /* [out] [ref] */);
 struct tevent_req *rpccli_wbint_QueryUser_send(TALLOC_CTX *mem_ctx,
                                               struct tevent_context *ev,
                                               struct rpc_pipe_client *cli,