s3:winbind: Add an async dsgetdcname call
[ira/wip.git] / source3 / librpc / gen_ndr / wbint.h
1 /* header auto-generated by pidl */
2
3 #include <stdint.h>
4
5 #include "libcli/util/ntstatus.h"
6
7 #include "librpc/gen_ndr/lsa.h"
8 #ifndef _HEADER_wbint
9 #define _HEADER_wbint
10
11 struct wbint_userinfo {
12         const char *acct_name;/* [unique,charset(UTF8)] */
13         const char *full_name;/* [unique,charset(UTF8)] */
14         const char *homedir;/* [unique,charset(UTF8)] */
15         const char *shell;/* [unique,charset(UTF8)] */
16         uint64_t primary_gid;
17         struct dom_sid user_sid;
18         struct dom_sid group_sid;
19 }/* [public] */;
20
21 struct wbint_SidArray {
22         uint32_t num_sids;
23         struct dom_sid *sids;/* [size_is(num_sids)] */
24 }/* [public] */;
25
26 struct wbint_RidArray {
27         uint32_t num_rids;
28         uint32_t *rids;/* [size_is(num_rids)] */
29 }/* [public] */;
30
31 struct wbint_Principal {
32         struct dom_sid sid;
33         enum lsa_SidType type;
34         const char *name;/* [unique,charset(UTF8)] */
35 }/* [public] */;
36
37 struct wbint_Principals {
38         int32_t num_principals;
39         struct wbint_Principal *principals;/* [size_is(num_principals)] */
40 }/* [public] */;
41
42 struct wbint_userinfos {
43         uint32_t num_userinfos;
44         struct wbint_userinfo *userinfos;/* [size_is(num_userinfos)] */
45 }/* [public] */;
46
47
48 struct wbint_Ping {
49         struct {
50                 uint32_t in_data;
51         } in;
52
53         struct {
54                 uint32_t *out_data;/* [ref] */
55         } out;
56
57 };
58
59
60 struct wbint_LookupSid {
61         struct {
62                 struct dom_sid *sid;/* [ref] */
63         } in;
64
65         struct {
66                 enum lsa_SidType *type;/* [ref] */
67                 const char **domain;/* [ref,charset(UTF8)] */
68                 const char **name;/* [ref,charset(UTF8)] */
69                 NTSTATUS result;
70         } out;
71
72 };
73
74
75 struct wbint_LookupName {
76         struct {
77                 const char *domain;/* [ref,charset(UTF8)] */
78                 const char *name;/* [ref,charset(UTF8)] */
79                 uint32_t flags;
80         } in;
81
82         struct {
83                 enum lsa_SidType *type;/* [ref] */
84                 struct dom_sid *sid;/* [ref] */
85                 NTSTATUS result;
86         } out;
87
88 };
89
90
91 struct wbint_Sid2Uid {
92         struct {
93                 const char *dom_name;/* [unique,charset(UTF8)] */
94                 struct dom_sid *sid;/* [ref] */
95         } in;
96
97         struct {
98                 uint64_t *uid;/* [ref] */
99                 NTSTATUS result;
100         } out;
101
102 };
103
104
105 struct wbint_Sid2Gid {
106         struct {
107                 const char *dom_name;/* [unique,charset(UTF8)] */
108                 struct dom_sid *sid;/* [ref] */
109         } in;
110
111         struct {
112                 uint64_t *gid;/* [ref] */
113                 NTSTATUS result;
114         } out;
115
116 };
117
118
119 struct wbint_Uid2Sid {
120         struct {
121                 const char *dom_name;/* [unique,charset(UTF8)] */
122                 uint64_t uid;
123         } in;
124
125         struct {
126                 struct dom_sid *sid;/* [ref] */
127                 NTSTATUS result;
128         } out;
129
130 };
131
132
133 struct wbint_Gid2Sid {
134         struct {
135                 const char *dom_name;/* [unique,charset(UTF8)] */
136                 uint64_t gid;
137         } in;
138
139         struct {
140                 struct dom_sid *sid;/* [ref] */
141                 NTSTATUS result;
142         } out;
143
144 };
145
146
147 struct wbint_QueryUser {
148         struct {
149                 struct dom_sid *sid;/* [ref] */
150         } in;
151
152         struct {
153                 struct wbint_userinfo *info;/* [ref] */
154                 NTSTATUS result;
155         } out;
156
157 };
158
159
160 struct wbint_LookupUserAliases {
161         struct {
162                 struct wbint_SidArray *sids;/* [ref] */
163         } in;
164
165         struct {
166                 struct wbint_RidArray *rids;/* [ref] */
167                 NTSTATUS result;
168         } out;
169
170 };
171
172
173 struct wbint_LookupUserGroups {
174         struct {
175                 struct dom_sid *sid;/* [ref] */
176         } in;
177
178         struct {
179                 struct wbint_SidArray *sids;/* [ref] */
180                 NTSTATUS result;
181         } out;
182
183 };
184
185
186 struct wbint_QuerySequenceNumber {
187         struct {
188                 uint32_t *sequence;/* [ref] */
189                 NTSTATUS result;
190         } out;
191
192 };
193
194
195 struct wbint_LookupGroupMembers {
196         struct {
197                 struct dom_sid *sid;/* [ref] */
198                 enum lsa_SidType type;
199         } in;
200
201         struct {
202                 struct wbint_Principals *members;/* [ref] */
203                 NTSTATUS result;
204         } out;
205
206 };
207
208
209 struct wbint_QueryUserList {
210         struct {
211                 struct wbint_userinfos *users;/* [ref] */
212                 NTSTATUS result;
213         } out;
214
215 };
216
217
218 struct wbint_DsGetDcName {
219         struct {
220                 const char *domain_name;/* [ref,charset(UTF8)] */
221                 struct GUID *domain_guid;/* [unique] */
222                 const char *site_name;/* [unique,charset(UTF8)] */
223                 uint32_t flags;
224         } in;
225
226         struct {
227                 struct netr_DsRGetDCNameInfo **dc_info;/* [ref] */
228                 NTSTATUS result;
229         } out;
230
231 };
232
233 #endif /* _HEADER_wbint */