• Home
  • History
  • Annotate
  • Line#
  • Navigate
  • Raw
  • Download
  • only in /asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/samba-3.5.8/source3/librpc/gen_ndr/
1#include "librpc/gen_ndr/ndr_wbint.h"
2#ifndef __CLI_WBINT__
3#define __CLI_WBINT__
4struct 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] */);
9NTSTATUS rpccli_wbint_Ping_recv(struct tevent_req *req,
10				TALLOC_CTX *mem_ctx);
11NTSTATUS 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] */);
15struct 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)] */);
22NTSTATUS rpccli_wbint_LookupSid_recv(struct tevent_req *req,
23				     TALLOC_CTX *mem_ctx,
24				     NTSTATUS *result);
25NTSTATUS 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)] */);
31struct 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] */);
39NTSTATUS rpccli_wbint_LookupName_recv(struct tevent_req *req,
40				      TALLOC_CTX *mem_ctx,
41				      NTSTATUS *result);
42NTSTATUS 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] */);
49struct 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] */);
55NTSTATUS rpccli_wbint_Sid2Uid_recv(struct tevent_req *req,
56				   TALLOC_CTX *mem_ctx,
57				   NTSTATUS *result);
58NTSTATUS 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] */);
63struct 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] */);
69NTSTATUS rpccli_wbint_Sid2Gid_recv(struct tevent_req *req,
70				   TALLOC_CTX *mem_ctx,
71				   NTSTATUS *result);
72NTSTATUS 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] */);
77struct 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] */);
83NTSTATUS rpccli_wbint_Uid2Sid_recv(struct tevent_req *req,
84				   TALLOC_CTX *mem_ctx,
85				   NTSTATUS *result);
86NTSTATUS 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] */);
91struct 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] */);
97NTSTATUS rpccli_wbint_Gid2Sid_recv(struct tevent_req *req,
98				   TALLOC_CTX *mem_ctx,
99				   NTSTATUS *result);
100NTSTATUS 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] */);
105struct tevent_req *rpccli_wbint_AllocateUid_send(TALLOC_CTX *mem_ctx,
106						 struct tevent_context *ev,
107						 struct rpc_pipe_client *cli,
108						 uint64_t *_uid /* [out] [ref] */);
109NTSTATUS rpccli_wbint_AllocateUid_recv(struct tevent_req *req,
110				       TALLOC_CTX *mem_ctx,
111				       NTSTATUS *result);
112NTSTATUS rpccli_wbint_AllocateUid(struct rpc_pipe_client *cli,
113				  TALLOC_CTX *mem_ctx,
114				  uint64_t *uid /* [out] [ref] */);
115struct tevent_req *rpccli_wbint_AllocateGid_send(TALLOC_CTX *mem_ctx,
116						 struct tevent_context *ev,
117						 struct rpc_pipe_client *cli,
118						 uint64_t *_gid /* [out] [ref] */);
119NTSTATUS rpccli_wbint_AllocateGid_recv(struct tevent_req *req,
120				       TALLOC_CTX *mem_ctx,
121				       NTSTATUS *result);
122NTSTATUS rpccli_wbint_AllocateGid(struct rpc_pipe_client *cli,
123				  TALLOC_CTX *mem_ctx,
124				  uint64_t *gid /* [out] [ref] */);
125struct tevent_req *rpccli_wbint_QueryUser_send(TALLOC_CTX *mem_ctx,
126					       struct tevent_context *ev,
127					       struct rpc_pipe_client *cli,
128					       struct dom_sid *_sid /* [in] [ref] */,
129					       struct wbint_userinfo *_info /* [out] [ref] */);
130NTSTATUS rpccli_wbint_QueryUser_recv(struct tevent_req *req,
131				     TALLOC_CTX *mem_ctx,
132				     NTSTATUS *result);
133NTSTATUS rpccli_wbint_QueryUser(struct rpc_pipe_client *cli,
134				TALLOC_CTX *mem_ctx,
135				struct dom_sid *sid /* [in] [ref] */,
136				struct wbint_userinfo *info /* [out] [ref] */);
137struct tevent_req *rpccli_wbint_LookupUserAliases_send(TALLOC_CTX *mem_ctx,
138						       struct tevent_context *ev,
139						       struct rpc_pipe_client *cli,
140						       struct wbint_SidArray *_sids /* [in] [ref] */,
141						       struct wbint_RidArray *_rids /* [out] [ref] */);
142NTSTATUS rpccli_wbint_LookupUserAliases_recv(struct tevent_req *req,
143					     TALLOC_CTX *mem_ctx,
144					     NTSTATUS *result);
145NTSTATUS rpccli_wbint_LookupUserAliases(struct rpc_pipe_client *cli,
146					TALLOC_CTX *mem_ctx,
147					struct wbint_SidArray *sids /* [in] [ref] */,
148					struct wbint_RidArray *rids /* [out] [ref] */);
149struct tevent_req *rpccli_wbint_LookupUserGroups_send(TALLOC_CTX *mem_ctx,
150						      struct tevent_context *ev,
151						      struct rpc_pipe_client *cli,
152						      struct dom_sid *_sid /* [in] [ref] */,
153						      struct wbint_SidArray *_sids /* [out] [ref] */);
154NTSTATUS rpccli_wbint_LookupUserGroups_recv(struct tevent_req *req,
155					    TALLOC_CTX *mem_ctx,
156					    NTSTATUS *result);
157NTSTATUS rpccli_wbint_LookupUserGroups(struct rpc_pipe_client *cli,
158				       TALLOC_CTX *mem_ctx,
159				       struct dom_sid *sid /* [in] [ref] */,
160				       struct wbint_SidArray *sids /* [out] [ref] */);
161struct tevent_req *rpccli_wbint_QuerySequenceNumber_send(TALLOC_CTX *mem_ctx,
162							 struct tevent_context *ev,
163							 struct rpc_pipe_client *cli,
164							 uint32_t *_sequence /* [out] [ref] */);
165NTSTATUS rpccli_wbint_QuerySequenceNumber_recv(struct tevent_req *req,
166					       TALLOC_CTX *mem_ctx,
167					       NTSTATUS *result);
168NTSTATUS rpccli_wbint_QuerySequenceNumber(struct rpc_pipe_client *cli,
169					  TALLOC_CTX *mem_ctx,
170					  uint32_t *sequence /* [out] [ref] */);
171struct tevent_req *rpccli_wbint_LookupGroupMembers_send(TALLOC_CTX *mem_ctx,
172							struct tevent_context *ev,
173							struct rpc_pipe_client *cli,
174							struct dom_sid *_sid /* [in] [ref] */,
175							enum lsa_SidType _type /* [in]  */,
176							struct wbint_Principals *_members /* [out] [ref] */);
177NTSTATUS rpccli_wbint_LookupGroupMembers_recv(struct tevent_req *req,
178					      TALLOC_CTX *mem_ctx,
179					      NTSTATUS *result);
180NTSTATUS rpccli_wbint_LookupGroupMembers(struct rpc_pipe_client *cli,
181					 TALLOC_CTX *mem_ctx,
182					 struct dom_sid *sid /* [in] [ref] */,
183					 enum lsa_SidType type /* [in]  */,
184					 struct wbint_Principals *members /* [out] [ref] */);
185struct tevent_req *rpccli_wbint_QueryUserList_send(TALLOC_CTX *mem_ctx,
186						   struct tevent_context *ev,
187						   struct rpc_pipe_client *cli,
188						   struct wbint_userinfos *_users /* [out] [ref] */);
189NTSTATUS rpccli_wbint_QueryUserList_recv(struct tevent_req *req,
190					 TALLOC_CTX *mem_ctx,
191					 NTSTATUS *result);
192NTSTATUS rpccli_wbint_QueryUserList(struct rpc_pipe_client *cli,
193				    TALLOC_CTX *mem_ctx,
194				    struct wbint_userinfos *users /* [out] [ref] */);
195struct tevent_req *rpccli_wbint_QueryGroupList_send(TALLOC_CTX *mem_ctx,
196						    struct tevent_context *ev,
197						    struct rpc_pipe_client *cli,
198						    struct wbint_Principals *_groups /* [out] [ref] */);
199NTSTATUS rpccli_wbint_QueryGroupList_recv(struct tevent_req *req,
200					  TALLOC_CTX *mem_ctx,
201					  NTSTATUS *result);
202NTSTATUS rpccli_wbint_QueryGroupList(struct rpc_pipe_client *cli,
203				     TALLOC_CTX *mem_ctx,
204				     struct wbint_Principals *groups /* [out] [ref] */);
205struct tevent_req *rpccli_wbint_DsGetDcName_send(TALLOC_CTX *mem_ctx,
206						 struct tevent_context *ev,
207						 struct rpc_pipe_client *cli,
208						 const char *_domain_name /* [in] [ref,charset(UTF8)] */,
209						 struct GUID *_domain_guid /* [in] [unique] */,
210						 const char *_site_name /* [in] [unique,charset(UTF8)] */,
211						 uint32_t _flags /* [in]  */,
212						 struct netr_DsRGetDCNameInfo **_dc_info /* [out] [ref] */);
213NTSTATUS rpccli_wbint_DsGetDcName_recv(struct tevent_req *req,
214				       TALLOC_CTX *mem_ctx,
215				       NTSTATUS *result);
216NTSTATUS rpccli_wbint_DsGetDcName(struct rpc_pipe_client *cli,
217				  TALLOC_CTX *mem_ctx,
218				  const char *domain_name /* [in] [ref,charset(UTF8)] */,
219				  struct GUID *domain_guid /* [in] [unique] */,
220				  const char *site_name /* [in] [unique,charset(UTF8)] */,
221				  uint32_t flags /* [in]  */,
222				  struct netr_DsRGetDCNameInfo **dc_info /* [out] [ref] */);
223struct tevent_req *rpccli_wbint_LookupRids_send(TALLOC_CTX *mem_ctx,
224						struct tevent_context *ev,
225						struct rpc_pipe_client *cli,
226						struct wbint_RidArray *_rids /* [in] [ref] */,
227						const char **_domain_name /* [out] [ref,charset(UTF8)] */,
228						struct wbint_Principals *_names /* [out] [ref] */);
229NTSTATUS rpccli_wbint_LookupRids_recv(struct tevent_req *req,
230				      TALLOC_CTX *mem_ctx,
231				      NTSTATUS *result);
232NTSTATUS rpccli_wbint_LookupRids(struct rpc_pipe_client *cli,
233				 TALLOC_CTX *mem_ctx,
234				 struct wbint_RidArray *rids /* [in] [ref] */,
235				 const char **domain_name /* [out] [ref,charset(UTF8)] */,
236				 struct wbint_Principals *names /* [out] [ref] */);
237struct tevent_req *rpccli_wbint_CheckMachineAccount_send(TALLOC_CTX *mem_ctx,
238							 struct tevent_context *ev,
239							 struct rpc_pipe_client *cli);
240NTSTATUS rpccli_wbint_CheckMachineAccount_recv(struct tevent_req *req,
241					       TALLOC_CTX *mem_ctx,
242					       NTSTATUS *result);
243NTSTATUS rpccli_wbint_CheckMachineAccount(struct rpc_pipe_client *cli,
244					  TALLOC_CTX *mem_ctx);
245struct tevent_req *rpccli_wbint_ChangeMachineAccount_send(TALLOC_CTX *mem_ctx,
246							  struct tevent_context *ev,
247							  struct rpc_pipe_client *cli);
248NTSTATUS rpccli_wbint_ChangeMachineAccount_recv(struct tevent_req *req,
249						TALLOC_CTX *mem_ctx,
250						NTSTATUS *result);
251NTSTATUS rpccli_wbint_ChangeMachineAccount(struct rpc_pipe_client *cli,
252					   TALLOC_CTX *mem_ctx);
253struct tevent_req *rpccli_wbint_PingDc_send(TALLOC_CTX *mem_ctx,
254					    struct tevent_context *ev,
255					    struct rpc_pipe_client *cli);
256NTSTATUS rpccli_wbint_PingDc_recv(struct tevent_req *req,
257				  TALLOC_CTX *mem_ctx,
258				  NTSTATUS *result);
259NTSTATUS rpccli_wbint_PingDc(struct rpc_pipe_client *cli,
260			     TALLOC_CTX *mem_ctx);
261struct tevent_req *rpccli_wbint_SetMapping_send(TALLOC_CTX *mem_ctx,
262						struct tevent_context *ev,
263						struct rpc_pipe_client *cli,
264						struct dom_sid *_sid /* [in] [ref] */,
265						enum wbint_IdType _type /* [in]  */,
266						uint64_t _id /* [in]  */);
267NTSTATUS rpccli_wbint_SetMapping_recv(struct tevent_req *req,
268				      TALLOC_CTX *mem_ctx,
269				      NTSTATUS *result);
270NTSTATUS rpccli_wbint_SetMapping(struct rpc_pipe_client *cli,
271				 TALLOC_CTX *mem_ctx,
272				 struct dom_sid *sid /* [in] [ref] */,
273				 enum wbint_IdType type /* [in]  */,
274				 uint64_t id /* [in]  */);
275struct tevent_req *rpccli_wbint_RemoveMapping_send(TALLOC_CTX *mem_ctx,
276						   struct tevent_context *ev,
277						   struct rpc_pipe_client *cli,
278						   struct dom_sid *_sid /* [in] [ref] */,
279						   enum wbint_IdType _type /* [in]  */,
280						   uint64_t _id /* [in]  */);
281NTSTATUS rpccli_wbint_RemoveMapping_recv(struct tevent_req *req,
282					 TALLOC_CTX *mem_ctx,
283					 NTSTATUS *result);
284NTSTATUS rpccli_wbint_RemoveMapping(struct rpc_pipe_client *cli,
285				    TALLOC_CTX *mem_ctx,
286				    struct dom_sid *sid /* [in] [ref] */,
287				    enum wbint_IdType type /* [in]  */,
288				    uint64_t id /* [in]  */);
289struct tevent_req *rpccli_wbint_SetHWM_send(TALLOC_CTX *mem_ctx,
290					    struct tevent_context *ev,
291					    struct rpc_pipe_client *cli,
292					    enum wbint_IdType _type /* [in]  */,
293					    uint64_t _id /* [in]  */);
294NTSTATUS rpccli_wbint_SetHWM_recv(struct tevent_req *req,
295				  TALLOC_CTX *mem_ctx,
296				  NTSTATUS *result);
297NTSTATUS rpccli_wbint_SetHWM(struct rpc_pipe_client *cli,
298			     TALLOC_CTX *mem_ctx,
299			     enum wbint_IdType type /* [in]  */,
300			     uint64_t id /* [in]  */);
301#endif /* __CLI_WBINT__ */
302