1
/* parser auto-generated by pidl */
4
#include "librpc/gen_ndr/ndr_unixinfo.h"
6
#include "librpc/gen_ndr/ndr_security.h"
7
static enum ndr_err_code ndr_push_unixinfo_GetPWUidInfo(struct ndr_push *ndr, int ndr_flags, const struct unixinfo_GetPWUidInfo *r)
9
if (ndr_flags & NDR_SCALARS) {
10
NDR_CHECK(ndr_push_uint3264(ndr, NDR_SCALARS, ndr_charset_length(r->shell, CH_UTF8)));
11
NDR_CHECK(ndr_push_align(ndr, 4));
12
NDR_CHECK(ndr_push_NTSTATUS(ndr, NDR_SCALARS, r->status));
13
NDR_CHECK(ndr_push_uint3264(ndr, NDR_SCALARS, ndr_charset_length(r->homedir, CH_UTF8)));
14
NDR_CHECK(ndr_push_uint3264(ndr, NDR_SCALARS, 0));
15
NDR_CHECK(ndr_push_uint3264(ndr, NDR_SCALARS, ndr_charset_length(r->homedir, CH_UTF8)));
16
NDR_CHECK(ndr_push_charset(ndr, NDR_SCALARS, r->homedir, ndr_charset_length(r->homedir, CH_UTF8), sizeof(uint8_t), CH_UTF8));
17
NDR_CHECK(ndr_push_uint3264(ndr, NDR_SCALARS, 0));
18
NDR_CHECK(ndr_push_uint3264(ndr, NDR_SCALARS, ndr_charset_length(r->shell, CH_UTF8)));
19
NDR_CHECK(ndr_push_charset(ndr, NDR_SCALARS, r->shell, ndr_charset_length(r->shell, CH_UTF8), sizeof(uint8_t), CH_UTF8));
20
NDR_CHECK(ndr_push_trailer_align(ndr, 4));
22
if (ndr_flags & NDR_BUFFERS) {
24
return NDR_ERR_SUCCESS;
27
static enum ndr_err_code ndr_pull_unixinfo_GetPWUidInfo(struct ndr_pull *ndr, int ndr_flags, struct unixinfo_GetPWUidInfo *r)
29
if (ndr_flags & NDR_SCALARS) {
30
NDR_CHECK(ndr_pull_array_size(ndr, &r->shell));
31
NDR_CHECK(ndr_pull_align(ndr, 4));
32
NDR_CHECK(ndr_pull_NTSTATUS(ndr, NDR_SCALARS, &r->status));
33
NDR_CHECK(ndr_pull_array_size(ndr, &r->homedir));
34
NDR_CHECK(ndr_pull_array_length(ndr, &r->homedir));
35
if (ndr_get_array_length(ndr, &r->homedir) > ndr_get_array_size(ndr, &r->homedir)) {
36
return ndr_pull_error(ndr, NDR_ERR_ARRAY_SIZE, "Bad array size %u should exceed array length %u", ndr_get_array_size(ndr, &r->homedir), ndr_get_array_length(ndr, &r->homedir));
38
NDR_CHECK(ndr_check_string_terminator(ndr, ndr_get_array_length(ndr, &r->homedir), sizeof(uint8_t)));
39
NDR_CHECK(ndr_pull_charset(ndr, NDR_SCALARS, &r->homedir, ndr_get_array_length(ndr, &r->homedir), sizeof(uint8_t), CH_UTF8));
40
NDR_CHECK(ndr_pull_array_length(ndr, &r->shell));
41
if (ndr_get_array_length(ndr, &r->shell) > ndr_get_array_size(ndr, &r->shell)) {
42
return ndr_pull_error(ndr, NDR_ERR_ARRAY_SIZE, "Bad array size %u should exceed array length %u", ndr_get_array_size(ndr, &r->shell), ndr_get_array_length(ndr, &r->shell));
44
NDR_CHECK(ndr_check_string_terminator(ndr, ndr_get_array_length(ndr, &r->shell), sizeof(uint8_t)));
45
NDR_CHECK(ndr_pull_charset(ndr, NDR_SCALARS, &r->shell, ndr_get_array_length(ndr, &r->shell), sizeof(uint8_t), CH_UTF8));
46
NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
48
if (ndr_flags & NDR_BUFFERS) {
50
return NDR_ERR_SUCCESS;
53
_PUBLIC_ void ndr_print_unixinfo_GetPWUidInfo(struct ndr_print *ndr, const char *name, const struct unixinfo_GetPWUidInfo *r)
55
ndr_print_struct(ndr, name, "unixinfo_GetPWUidInfo");
56
if (r == NULL) { ndr_print_null(ndr); return; }
58
ndr_print_NTSTATUS(ndr, "status", r->status);
59
ndr_print_string(ndr, "homedir", r->homedir);
60
ndr_print_string(ndr, "shell", r->shell);
64
static enum ndr_err_code ndr_push_unixinfo_SidToUid(struct ndr_push *ndr, int flags, const struct unixinfo_SidToUid *r)
67
NDR_CHECK(ndr_push_dom_sid(ndr, NDR_SCALARS, &r->in.sid));
69
if (flags & NDR_OUT) {
70
if (r->out.uid == NULL) {
71
return ndr_push_error(ndr, NDR_ERR_INVALID_POINTER, "NULL [ref] pointer");
73
NDR_CHECK(ndr_push_hyper(ndr, NDR_SCALARS, *r->out.uid));
74
NDR_CHECK(ndr_push_NTSTATUS(ndr, NDR_SCALARS, r->out.result));
76
return NDR_ERR_SUCCESS;
79
static enum ndr_err_code ndr_pull_unixinfo_SidToUid(struct ndr_pull *ndr, int flags, struct unixinfo_SidToUid *r)
81
TALLOC_CTX *_mem_save_uid_0;
85
NDR_CHECK(ndr_pull_dom_sid(ndr, NDR_SCALARS, &r->in.sid));
86
NDR_PULL_ALLOC(ndr, r->out.uid);
87
ZERO_STRUCTP(r->out.uid);
89
if (flags & NDR_OUT) {
90
if (ndr->flags & LIBNDR_FLAG_REF_ALLOC) {
91
NDR_PULL_ALLOC(ndr, r->out.uid);
93
_mem_save_uid_0 = NDR_PULL_GET_MEM_CTX(ndr);
94
NDR_PULL_SET_MEM_CTX(ndr, r->out.uid, LIBNDR_FLAG_REF_ALLOC);
95
NDR_CHECK(ndr_pull_hyper(ndr, NDR_SCALARS, r->out.uid));
96
NDR_PULL_SET_MEM_CTX(ndr, _mem_save_uid_0, LIBNDR_FLAG_REF_ALLOC);
97
NDR_CHECK(ndr_pull_NTSTATUS(ndr, NDR_SCALARS, &r->out.result));
99
return NDR_ERR_SUCCESS;
102
_PUBLIC_ void ndr_print_unixinfo_SidToUid(struct ndr_print *ndr, const char *name, int flags, const struct unixinfo_SidToUid *r)
104
ndr_print_struct(ndr, name, "unixinfo_SidToUid");
105
if (r == NULL) { ndr_print_null(ndr); return; }
107
if (flags & NDR_SET_VALUES) {
108
ndr->flags |= LIBNDR_PRINT_SET_VALUES;
110
if (flags & NDR_IN) {
111
ndr_print_struct(ndr, "in", "unixinfo_SidToUid");
113
ndr_print_dom_sid(ndr, "sid", &r->in.sid);
116
if (flags & NDR_OUT) {
117
ndr_print_struct(ndr, "out", "unixinfo_SidToUid");
119
ndr_print_ptr(ndr, "uid", r->out.uid);
121
ndr_print_hyper(ndr, "uid", *r->out.uid);
123
ndr_print_NTSTATUS(ndr, "result", r->out.result);
129
static enum ndr_err_code ndr_push_unixinfo_UidToSid(struct ndr_push *ndr, int flags, const struct unixinfo_UidToSid *r)
131
if (flags & NDR_IN) {
132
NDR_CHECK(ndr_push_hyper(ndr, NDR_SCALARS, r->in.uid));
134
if (flags & NDR_OUT) {
135
if (r->out.sid == NULL) {
136
return ndr_push_error(ndr, NDR_ERR_INVALID_POINTER, "NULL [ref] pointer");
138
NDR_CHECK(ndr_push_dom_sid(ndr, NDR_SCALARS, r->out.sid));
139
NDR_CHECK(ndr_push_NTSTATUS(ndr, NDR_SCALARS, r->out.result));
141
return NDR_ERR_SUCCESS;
144
static enum ndr_err_code ndr_pull_unixinfo_UidToSid(struct ndr_pull *ndr, int flags, struct unixinfo_UidToSid *r)
146
TALLOC_CTX *_mem_save_sid_0;
147
if (flags & NDR_IN) {
150
NDR_CHECK(ndr_pull_hyper(ndr, NDR_SCALARS, &r->in.uid));
151
NDR_PULL_ALLOC(ndr, r->out.sid);
152
ZERO_STRUCTP(r->out.sid);
154
if (flags & NDR_OUT) {
155
if (ndr->flags & LIBNDR_FLAG_REF_ALLOC) {
156
NDR_PULL_ALLOC(ndr, r->out.sid);
158
_mem_save_sid_0 = NDR_PULL_GET_MEM_CTX(ndr);
159
NDR_PULL_SET_MEM_CTX(ndr, r->out.sid, LIBNDR_FLAG_REF_ALLOC);
160
NDR_CHECK(ndr_pull_dom_sid(ndr, NDR_SCALARS, r->out.sid));
161
NDR_PULL_SET_MEM_CTX(ndr, _mem_save_sid_0, LIBNDR_FLAG_REF_ALLOC);
162
NDR_CHECK(ndr_pull_NTSTATUS(ndr, NDR_SCALARS, &r->out.result));
164
return NDR_ERR_SUCCESS;
167
_PUBLIC_ void ndr_print_unixinfo_UidToSid(struct ndr_print *ndr, const char *name, int flags, const struct unixinfo_UidToSid *r)
169
ndr_print_struct(ndr, name, "unixinfo_UidToSid");
170
if (r == NULL) { ndr_print_null(ndr); return; }
172
if (flags & NDR_SET_VALUES) {
173
ndr->flags |= LIBNDR_PRINT_SET_VALUES;
175
if (flags & NDR_IN) {
176
ndr_print_struct(ndr, "in", "unixinfo_UidToSid");
178
ndr_print_hyper(ndr, "uid", r->in.uid);
181
if (flags & NDR_OUT) {
182
ndr_print_struct(ndr, "out", "unixinfo_UidToSid");
184
ndr_print_ptr(ndr, "sid", r->out.sid);
186
ndr_print_dom_sid(ndr, "sid", r->out.sid);
188
ndr_print_NTSTATUS(ndr, "result", r->out.result);
194
static enum ndr_err_code ndr_push_unixinfo_SidToGid(struct ndr_push *ndr, int flags, const struct unixinfo_SidToGid *r)
196
if (flags & NDR_IN) {
197
NDR_CHECK(ndr_push_dom_sid(ndr, NDR_SCALARS, &r->in.sid));
199
if (flags & NDR_OUT) {
200
if (r->out.gid == NULL) {
201
return ndr_push_error(ndr, NDR_ERR_INVALID_POINTER, "NULL [ref] pointer");
203
NDR_CHECK(ndr_push_hyper(ndr, NDR_SCALARS, *r->out.gid));
204
NDR_CHECK(ndr_push_NTSTATUS(ndr, NDR_SCALARS, r->out.result));
206
return NDR_ERR_SUCCESS;
209
static enum ndr_err_code ndr_pull_unixinfo_SidToGid(struct ndr_pull *ndr, int flags, struct unixinfo_SidToGid *r)
211
TALLOC_CTX *_mem_save_gid_0;
212
if (flags & NDR_IN) {
215
NDR_CHECK(ndr_pull_dom_sid(ndr, NDR_SCALARS, &r->in.sid));
216
NDR_PULL_ALLOC(ndr, r->out.gid);
217
ZERO_STRUCTP(r->out.gid);
219
if (flags & NDR_OUT) {
220
if (ndr->flags & LIBNDR_FLAG_REF_ALLOC) {
221
NDR_PULL_ALLOC(ndr, r->out.gid);
223
_mem_save_gid_0 = NDR_PULL_GET_MEM_CTX(ndr);
224
NDR_PULL_SET_MEM_CTX(ndr, r->out.gid, LIBNDR_FLAG_REF_ALLOC);
225
NDR_CHECK(ndr_pull_hyper(ndr, NDR_SCALARS, r->out.gid));
226
NDR_PULL_SET_MEM_CTX(ndr, _mem_save_gid_0, LIBNDR_FLAG_REF_ALLOC);
227
NDR_CHECK(ndr_pull_NTSTATUS(ndr, NDR_SCALARS, &r->out.result));
229
return NDR_ERR_SUCCESS;
232
_PUBLIC_ void ndr_print_unixinfo_SidToGid(struct ndr_print *ndr, const char *name, int flags, const struct unixinfo_SidToGid *r)
234
ndr_print_struct(ndr, name, "unixinfo_SidToGid");
235
if (r == NULL) { ndr_print_null(ndr); return; }
237
if (flags & NDR_SET_VALUES) {
238
ndr->flags |= LIBNDR_PRINT_SET_VALUES;
240
if (flags & NDR_IN) {
241
ndr_print_struct(ndr, "in", "unixinfo_SidToGid");
243
ndr_print_dom_sid(ndr, "sid", &r->in.sid);
246
if (flags & NDR_OUT) {
247
ndr_print_struct(ndr, "out", "unixinfo_SidToGid");
249
ndr_print_ptr(ndr, "gid", r->out.gid);
251
ndr_print_hyper(ndr, "gid", *r->out.gid);
253
ndr_print_NTSTATUS(ndr, "result", r->out.result);
259
static enum ndr_err_code ndr_push_unixinfo_GidToSid(struct ndr_push *ndr, int flags, const struct unixinfo_GidToSid *r)
261
if (flags & NDR_IN) {
262
NDR_CHECK(ndr_push_hyper(ndr, NDR_SCALARS, r->in.gid));
264
if (flags & NDR_OUT) {
265
if (r->out.sid == NULL) {
266
return ndr_push_error(ndr, NDR_ERR_INVALID_POINTER, "NULL [ref] pointer");
268
NDR_CHECK(ndr_push_dom_sid(ndr, NDR_SCALARS, r->out.sid));
269
NDR_CHECK(ndr_push_NTSTATUS(ndr, NDR_SCALARS, r->out.result));
271
return NDR_ERR_SUCCESS;
274
static enum ndr_err_code ndr_pull_unixinfo_GidToSid(struct ndr_pull *ndr, int flags, struct unixinfo_GidToSid *r)
276
TALLOC_CTX *_mem_save_sid_0;
277
if (flags & NDR_IN) {
280
NDR_CHECK(ndr_pull_hyper(ndr, NDR_SCALARS, &r->in.gid));
281
NDR_PULL_ALLOC(ndr, r->out.sid);
282
ZERO_STRUCTP(r->out.sid);
284
if (flags & NDR_OUT) {
285
if (ndr->flags & LIBNDR_FLAG_REF_ALLOC) {
286
NDR_PULL_ALLOC(ndr, r->out.sid);
288
_mem_save_sid_0 = NDR_PULL_GET_MEM_CTX(ndr);
289
NDR_PULL_SET_MEM_CTX(ndr, r->out.sid, LIBNDR_FLAG_REF_ALLOC);
290
NDR_CHECK(ndr_pull_dom_sid(ndr, NDR_SCALARS, r->out.sid));
291
NDR_PULL_SET_MEM_CTX(ndr, _mem_save_sid_0, LIBNDR_FLAG_REF_ALLOC);
292
NDR_CHECK(ndr_pull_NTSTATUS(ndr, NDR_SCALARS, &r->out.result));
294
return NDR_ERR_SUCCESS;
297
_PUBLIC_ void ndr_print_unixinfo_GidToSid(struct ndr_print *ndr, const char *name, int flags, const struct unixinfo_GidToSid *r)
299
ndr_print_struct(ndr, name, "unixinfo_GidToSid");
300
if (r == NULL) { ndr_print_null(ndr); return; }
302
if (flags & NDR_SET_VALUES) {
303
ndr->flags |= LIBNDR_PRINT_SET_VALUES;
305
if (flags & NDR_IN) {
306
ndr_print_struct(ndr, "in", "unixinfo_GidToSid");
308
ndr_print_hyper(ndr, "gid", r->in.gid);
311
if (flags & NDR_OUT) {
312
ndr_print_struct(ndr, "out", "unixinfo_GidToSid");
314
ndr_print_ptr(ndr, "sid", r->out.sid);
316
ndr_print_dom_sid(ndr, "sid", r->out.sid);
318
ndr_print_NTSTATUS(ndr, "result", r->out.result);
324
static enum ndr_err_code ndr_push_unixinfo_GetPWUid(struct ndr_push *ndr, int flags, const struct unixinfo_GetPWUid *r)
326
uint32_t cntr_uids_0;
327
uint32_t cntr_infos_0;
328
if (flags & NDR_IN) {
329
if (r->in.count == NULL) {
330
return ndr_push_error(ndr, NDR_ERR_INVALID_POINTER, "NULL [ref] pointer");
332
NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, *r->in.count));
333
NDR_CHECK(ndr_push_uint3264(ndr, NDR_SCALARS, *r->in.count));
334
for (cntr_uids_0 = 0; cntr_uids_0 < *r->in.count; cntr_uids_0++) {
335
NDR_CHECK(ndr_push_hyper(ndr, NDR_SCALARS, r->in.uids[cntr_uids_0]));
338
if (flags & NDR_OUT) {
339
if (r->out.count == NULL) {
340
return ndr_push_error(ndr, NDR_ERR_INVALID_POINTER, "NULL [ref] pointer");
342
NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, *r->out.count));
343
NDR_CHECK(ndr_push_uint3264(ndr, NDR_SCALARS, *r->out.count));
344
for (cntr_infos_0 = 0; cntr_infos_0 < *r->out.count; cntr_infos_0++) {
345
NDR_CHECK(ndr_push_unixinfo_GetPWUidInfo(ndr, NDR_SCALARS, &r->out.infos[cntr_infos_0]));
347
NDR_CHECK(ndr_push_NTSTATUS(ndr, NDR_SCALARS, r->out.result));
349
return NDR_ERR_SUCCESS;
352
static enum ndr_err_code ndr_pull_unixinfo_GetPWUid(struct ndr_pull *ndr, int flags, struct unixinfo_GetPWUid *r)
354
uint32_t cntr_uids_0;
355
uint32_t cntr_infos_0;
356
TALLOC_CTX *_mem_save_count_0;
357
TALLOC_CTX *_mem_save_uids_0;
358
TALLOC_CTX *_mem_save_infos_0;
359
if (flags & NDR_IN) {
362
if (ndr->flags & LIBNDR_FLAG_REF_ALLOC) {
363
NDR_PULL_ALLOC(ndr, r->in.count);
365
_mem_save_count_0 = NDR_PULL_GET_MEM_CTX(ndr);
366
NDR_PULL_SET_MEM_CTX(ndr, r->in.count, LIBNDR_FLAG_REF_ALLOC);
367
NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, r->in.count));
368
if (*r->in.count > 1023) {
369
return ndr_pull_error(ndr, NDR_ERR_RANGE, "value out of range");
371
NDR_PULL_SET_MEM_CTX(ndr, _mem_save_count_0, LIBNDR_FLAG_REF_ALLOC);
372
NDR_CHECK(ndr_pull_array_size(ndr, &r->in.uids));
373
NDR_PULL_ALLOC_N(ndr, r->in.uids, ndr_get_array_size(ndr, &r->in.uids));
374
_mem_save_uids_0 = NDR_PULL_GET_MEM_CTX(ndr);
375
NDR_PULL_SET_MEM_CTX(ndr, r->in.uids, 0);
376
for (cntr_uids_0 = 0; cntr_uids_0 < *r->in.count; cntr_uids_0++) {
377
NDR_CHECK(ndr_pull_hyper(ndr, NDR_SCALARS, &r->in.uids[cntr_uids_0]));
379
NDR_PULL_SET_MEM_CTX(ndr, _mem_save_uids_0, 0);
380
NDR_PULL_ALLOC(ndr, r->out.count);
381
*r->out.count = *r->in.count;
383
NDR_CHECK(ndr_check_array_size(ndr, (void*)&r->in.uids, *r->in.count));
386
if (flags & NDR_OUT) {
387
if (ndr->flags & LIBNDR_FLAG_REF_ALLOC) {
388
NDR_PULL_ALLOC(ndr, r->out.count);
390
_mem_save_count_0 = NDR_PULL_GET_MEM_CTX(ndr);
391
NDR_PULL_SET_MEM_CTX(ndr, r->out.count, LIBNDR_FLAG_REF_ALLOC);
392
NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, r->out.count));
393
if (*r->out.count > 1023) {
394
return ndr_pull_error(ndr, NDR_ERR_RANGE, "value out of range");
396
NDR_PULL_SET_MEM_CTX(ndr, _mem_save_count_0, LIBNDR_FLAG_REF_ALLOC);
397
NDR_CHECK(ndr_pull_array_size(ndr, &r->out.infos));
398
NDR_PULL_ALLOC_N(ndr, r->out.infos, ndr_get_array_size(ndr, &r->out.infos));
399
_mem_save_infos_0 = NDR_PULL_GET_MEM_CTX(ndr);
400
NDR_PULL_SET_MEM_CTX(ndr, r->out.infos, 0);
401
for (cntr_infos_0 = 0; cntr_infos_0 < *r->out.count; cntr_infos_0++) {
402
NDR_CHECK(ndr_pull_unixinfo_GetPWUidInfo(ndr, NDR_SCALARS, &r->out.infos[cntr_infos_0]));
404
NDR_PULL_SET_MEM_CTX(ndr, _mem_save_infos_0, 0);
405
NDR_CHECK(ndr_pull_NTSTATUS(ndr, NDR_SCALARS, &r->out.result));
407
NDR_CHECK(ndr_check_array_size(ndr, (void*)&r->out.infos, *r->out.count));
410
return NDR_ERR_SUCCESS;
413
_PUBLIC_ void ndr_print_unixinfo_GetPWUid(struct ndr_print *ndr, const char *name, int flags, const struct unixinfo_GetPWUid *r)
415
uint32_t cntr_uids_0;
416
uint32_t cntr_infos_0;
417
ndr_print_struct(ndr, name, "unixinfo_GetPWUid");
418
if (r == NULL) { ndr_print_null(ndr); return; }
420
if (flags & NDR_SET_VALUES) {
421
ndr->flags |= LIBNDR_PRINT_SET_VALUES;
423
if (flags & NDR_IN) {
424
ndr_print_struct(ndr, "in", "unixinfo_GetPWUid");
426
ndr_print_ptr(ndr, "count", r->in.count);
428
ndr_print_uint32(ndr, "count", *r->in.count);
430
ndr->print(ndr, "%s: ARRAY(%d)", "uids", (int)*r->in.count);
432
for (cntr_uids_0=0;cntr_uids_0<*r->in.count;cntr_uids_0++) {
433
ndr_print_hyper(ndr, "uids", r->in.uids[cntr_uids_0]);
438
if (flags & NDR_OUT) {
439
ndr_print_struct(ndr, "out", "unixinfo_GetPWUid");
441
ndr_print_ptr(ndr, "count", r->out.count);
443
ndr_print_uint32(ndr, "count", *r->out.count);
445
ndr->print(ndr, "%s: ARRAY(%d)", "infos", (int)*r->out.count);
447
for (cntr_infos_0=0;cntr_infos_0<*r->out.count;cntr_infos_0++) {
448
ndr_print_unixinfo_GetPWUidInfo(ndr, "infos", &r->out.infos[cntr_infos_0]);
451
ndr_print_NTSTATUS(ndr, "result", r->out.result);
457
static const struct ndr_interface_call unixinfo_calls[] = {
460
sizeof(struct unixinfo_SidToUid),
461
(ndr_push_flags_fn_t) ndr_push_unixinfo_SidToUid,
462
(ndr_pull_flags_fn_t) ndr_pull_unixinfo_SidToUid,
463
(ndr_print_function_t) ndr_print_unixinfo_SidToUid,
469
sizeof(struct unixinfo_UidToSid),
470
(ndr_push_flags_fn_t) ndr_push_unixinfo_UidToSid,
471
(ndr_pull_flags_fn_t) ndr_pull_unixinfo_UidToSid,
472
(ndr_print_function_t) ndr_print_unixinfo_UidToSid,
478
sizeof(struct unixinfo_SidToGid),
479
(ndr_push_flags_fn_t) ndr_push_unixinfo_SidToGid,
480
(ndr_pull_flags_fn_t) ndr_pull_unixinfo_SidToGid,
481
(ndr_print_function_t) ndr_print_unixinfo_SidToGid,
487
sizeof(struct unixinfo_GidToSid),
488
(ndr_push_flags_fn_t) ndr_push_unixinfo_GidToSid,
489
(ndr_pull_flags_fn_t) ndr_pull_unixinfo_GidToSid,
490
(ndr_print_function_t) ndr_print_unixinfo_GidToSid,
496
sizeof(struct unixinfo_GetPWUid),
497
(ndr_push_flags_fn_t) ndr_push_unixinfo_GetPWUid,
498
(ndr_pull_flags_fn_t) ndr_pull_unixinfo_GetPWUid,
499
(ndr_print_function_t) ndr_print_unixinfo_GetPWUid,
503
{ NULL, 0, NULL, NULL, NULL }
506
static const char * const unixinfo_endpoint_strings[] = {
507
"ncacn_np:[\\pipe\\unixinfo]",
512
static const struct ndr_interface_string_array unixinfo_endpoints = {
514
.names = unixinfo_endpoint_strings
517
static const char * const unixinfo_authservice_strings[] = {
521
static const struct ndr_interface_string_array unixinfo_authservices = {
523
.names = unixinfo_authservice_strings
527
const struct ndr_interface_table ndr_table_unixinfo = {
530
{0x9c54e310,0xa955,0x4885,{0xbd,0x31},{0x78,0x78,0x71,0x47,0xdf,0xa6}},
533
.helpstring = NDR_UNIXINFO_HELPSTRING,
535
.calls = unixinfo_calls,
536
.endpoints = &unixinfo_endpoints,
537
.authservices = &unixinfo_authservices