s3:winbind: Add async wb_group_members
[Samba/aatanasov.git] / source3 / librpc / gen_ndr / cli_wbint.h
blobd5b333f42a784cf74153d658a198bb4125949880
1 #include "librpc/gen_ndr/ndr_wbint.h"
2 #ifndef __CLI_WBINT__
3 #define __CLI_WBINT__
4 struct tevent_req *rpccli_wbint_Ping_send(TALLOC_CTX *mem_ctx,
5 struct tevent_context *ev,
6 struct rpc_pipe_client *cli,
7 uint32_t _in_data /* [in] */,
8 uint32_t *_out_data /* [out] [ref] */);
9 NTSTATUS rpccli_wbint_Ping_recv(struct tevent_req *req,
10 TALLOC_CTX *mem_ctx);
11 NTSTATUS rpccli_wbint_Ping(struct rpc_pipe_client *cli,
12 TALLOC_CTX *mem_ctx,
13 uint32_t in_data /* [in] */,
14 uint32_t *out_data /* [out] [ref] */);
15 struct tevent_req *rpccli_wbint_LookupSid_send(TALLOC_CTX *mem_ctx,
16 struct tevent_context *ev,
17 struct rpc_pipe_client *cli,
18 struct dom_sid *_sid /* [in] [ref] */,
19 enum lsa_SidType *_type /* [out] [ref] */,
20 const char **_domain /* [out] [ref,charset(UTF8)] */,
21 const char **_name /* [out] [ref,charset(UTF8)] */);
22 NTSTATUS rpccli_wbint_LookupSid_recv(struct tevent_req *req,
23 TALLOC_CTX *mem_ctx,
24 NTSTATUS *result);
25 NTSTATUS rpccli_wbint_LookupSid(struct rpc_pipe_client *cli,
26 TALLOC_CTX *mem_ctx,
27 struct dom_sid *sid /* [in] [ref] */,
28 enum lsa_SidType *type /* [out] [ref] */,
29 const char **domain /* [out] [ref,charset(UTF8)] */,
30 const char **name /* [out] [ref,charset(UTF8)] */);
31 struct tevent_req *rpccli_wbint_LookupName_send(TALLOC_CTX *mem_ctx,
32 struct tevent_context *ev,
33 struct rpc_pipe_client *cli,
34 const char *_domain /* [in] [ref,charset(UTF8)] */,
35 const char *_name /* [in] [ref,charset(UTF8)] */,
36 uint32_t _flags /* [in] */,
37 enum lsa_SidType *_type /* [out] [ref] */,
38 struct dom_sid *_sid /* [out] [ref] */);
39 NTSTATUS rpccli_wbint_LookupName_recv(struct tevent_req *req,
40 TALLOC_CTX *mem_ctx,
41 NTSTATUS *result);
42 NTSTATUS rpccli_wbint_LookupName(struct rpc_pipe_client *cli,
43 TALLOC_CTX *mem_ctx,
44 const char *domain /* [in] [ref,charset(UTF8)] */,
45 const char *name /* [in] [ref,charset(UTF8)] */,
46 uint32_t flags /* [in] */,
47 enum lsa_SidType *type /* [out] [ref] */,
48 struct dom_sid *sid /* [out] [ref] */);
49 struct tevent_req *rpccli_wbint_Sid2Uid_send(TALLOC_CTX *mem_ctx,
50 struct tevent_context *ev,
51 struct rpc_pipe_client *cli,
52 const char *_dom_name /* [in] [unique,charset(UTF8)] */,
53 struct dom_sid *_sid /* [in] [ref] */,
54 uint64_t *_uid /* [out] [ref] */);
55 NTSTATUS rpccli_wbint_Sid2Uid_recv(struct tevent_req *req,
56 TALLOC_CTX *mem_ctx,
57 NTSTATUS *result);
58 NTSTATUS rpccli_wbint_Sid2Uid(struct rpc_pipe_client *cli,
59 TALLOC_CTX *mem_ctx,
60 const char *dom_name /* [in] [unique,charset(UTF8)] */,
61 struct dom_sid *sid /* [in] [ref] */,
62 uint64_t *uid /* [out] [ref] */);
63 struct tevent_req *rpccli_wbint_Sid2Gid_send(TALLOC_CTX *mem_ctx,
64 struct tevent_context *ev,
65 struct rpc_pipe_client *cli,
66 const char *_dom_name /* [in] [unique,charset(UTF8)] */,
67 struct dom_sid *_sid /* [in] [ref] */,
68 uint64_t *_gid /* [out] [ref] */);
69 NTSTATUS rpccli_wbint_Sid2Gid_recv(struct tevent_req *req,
70 TALLOC_CTX *mem_ctx,
71 NTSTATUS *result);
72 NTSTATUS rpccli_wbint_Sid2Gid(struct rpc_pipe_client *cli,
73 TALLOC_CTX *mem_ctx,
74 const char *dom_name /* [in] [unique,charset(UTF8)] */,
75 struct dom_sid *sid /* [in] [ref] */,
76 uint64_t *gid /* [out] [ref] */);
77 struct tevent_req *rpccli_wbint_Uid2Sid_send(TALLOC_CTX *mem_ctx,
78 struct tevent_context *ev,
79 struct rpc_pipe_client *cli,
80 const char *_dom_name /* [in] [unique,charset(UTF8)] */,
81 uint64_t _uid /* [in] */,
82 struct dom_sid *_sid /* [out] [ref] */);
83 NTSTATUS rpccli_wbint_Uid2Sid_recv(struct tevent_req *req,
84 TALLOC_CTX *mem_ctx,
85 NTSTATUS *result);
86 NTSTATUS rpccli_wbint_Uid2Sid(struct rpc_pipe_client *cli,
87 TALLOC_CTX *mem_ctx,
88 const char *dom_name /* [in] [unique,charset(UTF8)] */,
89 uint64_t uid /* [in] */,
90 struct dom_sid *sid /* [out] [ref] */);
91 struct tevent_req *rpccli_wbint_Gid2Sid_send(TALLOC_CTX *mem_ctx,
92 struct tevent_context *ev,
93 struct rpc_pipe_client *cli,
94 const char *_dom_name /* [in] [unique,charset(UTF8)] */,
95 uint64_t _gid /* [in] */,
96 struct dom_sid *_sid /* [out] [ref] */);
97 NTSTATUS rpccli_wbint_Gid2Sid_recv(struct tevent_req *req,
98 TALLOC_CTX *mem_ctx,
99 NTSTATUS *result);
100 NTSTATUS rpccli_wbint_Gid2Sid(struct rpc_pipe_client *cli,
101 TALLOC_CTX *mem_ctx,
102 const char *dom_name /* [in] [unique,charset(UTF8)] */,
103 uint64_t gid /* [in] */,
104 struct dom_sid *sid /* [out] [ref] */);
105 struct tevent_req *rpccli_wbint_QueryUser_send(TALLOC_CTX *mem_ctx,
106 struct tevent_context *ev,
107 struct rpc_pipe_client *cli,
108 struct dom_sid *_sid /* [in] [ref] */,
109 struct wbint_userinfo *_info /* [out] [ref] */);
110 NTSTATUS rpccli_wbint_QueryUser_recv(struct tevent_req *req,
111 TALLOC_CTX *mem_ctx,
112 NTSTATUS *result);
113 NTSTATUS rpccli_wbint_QueryUser(struct rpc_pipe_client *cli,
114 TALLOC_CTX *mem_ctx,
115 struct dom_sid *sid /* [in] [ref] */,
116 struct wbint_userinfo *info /* [out] [ref] */);
117 struct tevent_req *rpccli_wbint_LookupUserAliases_send(TALLOC_CTX *mem_ctx,
118 struct tevent_context *ev,
119 struct rpc_pipe_client *cli,
120 struct wbint_SidArray *_sids /* [in] [ref] */,
121 struct wbint_RidArray *_rids /* [out] [ref] */);
122 NTSTATUS rpccli_wbint_LookupUserAliases_recv(struct tevent_req *req,
123 TALLOC_CTX *mem_ctx,
124 NTSTATUS *result);
125 NTSTATUS rpccli_wbint_LookupUserAliases(struct rpc_pipe_client *cli,
126 TALLOC_CTX *mem_ctx,
127 struct wbint_SidArray *sids /* [in] [ref] */,
128 struct wbint_RidArray *rids /* [out] [ref] */);
129 struct tevent_req *rpccli_wbint_LookupUserGroups_send(TALLOC_CTX *mem_ctx,
130 struct tevent_context *ev,
131 struct rpc_pipe_client *cli,
132 struct dom_sid *_sid /* [in] [ref] */,
133 struct wbint_SidArray *_sids /* [out] [ref] */);
134 NTSTATUS rpccli_wbint_LookupUserGroups_recv(struct tevent_req *req,
135 TALLOC_CTX *mem_ctx,
136 NTSTATUS *result);
137 NTSTATUS rpccli_wbint_LookupUserGroups(struct rpc_pipe_client *cli,
138 TALLOC_CTX *mem_ctx,
139 struct dom_sid *sid /* [in] [ref] */,
140 struct wbint_SidArray *sids /* [out] [ref] */);
141 struct tevent_req *rpccli_wbint_QuerySequenceNumber_send(TALLOC_CTX *mem_ctx,
142 struct tevent_context *ev,
143 struct rpc_pipe_client *cli,
144 uint32_t *_sequence /* [out] [ref] */);
145 NTSTATUS rpccli_wbint_QuerySequenceNumber_recv(struct tevent_req *req,
146 TALLOC_CTX *mem_ctx,
147 NTSTATUS *result);
148 NTSTATUS rpccli_wbint_QuerySequenceNumber(struct rpc_pipe_client *cli,
149 TALLOC_CTX *mem_ctx,
150 uint32_t *sequence /* [out] [ref] */);
151 struct tevent_req *rpccli_wbint_LookupGroupMembers_send(TALLOC_CTX *mem_ctx,
152 struct tevent_context *ev,
153 struct rpc_pipe_client *cli,
154 struct dom_sid *_sid /* [in] [ref] */,
155 enum lsa_SidType _type /* [in] */,
156 struct wbint_GroupMembers *_members /* [out] [ref] */);
157 NTSTATUS rpccli_wbint_LookupGroupMembers_recv(struct tevent_req *req,
158 TALLOC_CTX *mem_ctx,
159 NTSTATUS *result);
160 NTSTATUS rpccli_wbint_LookupGroupMembers(struct rpc_pipe_client *cli,
161 TALLOC_CTX *mem_ctx,
162 struct dom_sid *sid /* [in] [ref] */,
163 enum lsa_SidType type /* [in] */,
164 struct wbint_GroupMembers *members /* [out] [ref] */);
165 #endif /* __CLI_WBINT__ */