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