s3:winbind: Add async wb_group_members
[metze/samba/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_GroupMember {
32         struct dom_sid sid;
33         const char *name;/* [unique,charset(UTF8)] */
34         enum lsa_SidType type;
35 }/* [public] */;
36
37 struct wbint_GroupMembers {
38         int32_t num_members;
39         struct wbint_GroupMember *members;/* [size_is(num_members)] */
40 }/* [public] */;
41
42
43 struct wbint_Ping {
44         struct {
45                 uint32_t in_data;
46         } in;
47
48         struct {
49                 uint32_t *out_data;/* [ref] */
50         } out;
51
52 };
53
54
55 struct wbint_LookupSid {
56         struct {
57                 struct dom_sid *sid;/* [ref] */
58         } in;
59
60         struct {
61                 enum lsa_SidType *type;/* [ref] */
62                 const char **domain;/* [ref,charset(UTF8)] */
63                 const char **name;/* [ref,charset(UTF8)] */
64                 NTSTATUS result;
65         } out;
66
67 };
68
69
70 struct wbint_LookupName {
71         struct {
72                 const char *domain;/* [ref,charset(UTF8)] */
73                 const char *name;/* [ref,charset(UTF8)] */
74                 uint32_t flags;
75         } in;
76
77         struct {
78                 enum lsa_SidType *type;/* [ref] */
79                 struct dom_sid *sid;/* [ref] */
80                 NTSTATUS result;
81         } out;
82
83 };
84
85
86 struct wbint_Sid2Uid {
87         struct {
88                 const char *dom_name;/* [unique,charset(UTF8)] */
89                 struct dom_sid *sid;/* [ref] */
90         } in;
91
92         struct {
93                 uint64_t *uid;/* [ref] */
94                 NTSTATUS result;
95         } out;
96
97 };
98
99
100 struct wbint_Sid2Gid {
101         struct {
102                 const char *dom_name;/* [unique,charset(UTF8)] */
103                 struct dom_sid *sid;/* [ref] */
104         } in;
105
106         struct {
107                 uint64_t *gid;/* [ref] */
108                 NTSTATUS result;
109         } out;
110
111 };
112
113
114 struct wbint_Uid2Sid {
115         struct {
116                 const char *dom_name;/* [unique,charset(UTF8)] */
117                 uint64_t uid;
118         } in;
119
120         struct {
121                 struct dom_sid *sid;/* [ref] */
122                 NTSTATUS result;
123         } out;
124
125 };
126
127
128 struct wbint_Gid2Sid {
129         struct {
130                 const char *dom_name;/* [unique,charset(UTF8)] */
131                 uint64_t gid;
132         } in;
133
134         struct {
135                 struct dom_sid *sid;/* [ref] */
136                 NTSTATUS result;
137         } out;
138
139 };
140
141
142 struct wbint_QueryUser {
143         struct {
144                 struct dom_sid *sid;/* [ref] */
145         } in;
146
147         struct {
148                 struct wbint_userinfo *info;/* [ref] */
149                 NTSTATUS result;
150         } out;
151
152 };
153
154
155 struct wbint_LookupUserAliases {
156         struct {
157                 struct wbint_SidArray *sids;/* [ref] */
158         } in;
159
160         struct {
161                 struct wbint_RidArray *rids;/* [ref] */
162                 NTSTATUS result;
163         } out;
164
165 };
166
167
168 struct wbint_LookupUserGroups {
169         struct {
170                 struct dom_sid *sid;/* [ref] */
171         } in;
172
173         struct {
174                 struct wbint_SidArray *sids;/* [ref] */
175                 NTSTATUS result;
176         } out;
177
178 };
179
180
181 struct wbint_QuerySequenceNumber {
182         struct {
183                 uint32_t *sequence;/* [ref] */
184                 NTSTATUS result;
185         } out;
186
187 };
188
189
190 struct wbint_LookupGroupMembers {
191         struct {
192                 struct dom_sid *sid;/* [ref] */
193                 enum lsa_SidType type;
194         } in;
195
196         struct {
197                 struct wbint_GroupMembers *members;/* [ref] */
198                 NTSTATUS result;
199         } out;
200
201 };
202
203 #endif /* _HEADER_wbint */