Merge branch 'v3-2-test-merge' into v3-2-stable
[samba.git] / source3 / librpc / gen_ndr / unixinfo.h
1 /* header auto-generated by pidl */
2
3 #include <stdint.h>
4
5 #include "librpc/gen_ndr/security.h"
6 #ifndef _HEADER_unixinfo
7 #define _HEADER_unixinfo
8
9 struct unixinfo_GetPWUidInfo {
10         NTSTATUS status;
11         const char * homedir;/* [flag(LIBNDR_FLAG_STR_UTF8|LIBNDR_FLAG_STR_NULLTERM)] */
12         const char * shell;/* [flag(LIBNDR_FLAG_STR_UTF8|LIBNDR_FLAG_STR_NULLTERM)] */
13 };
14
15
16 struct unixinfo_SidToUid {
17         struct {
18                 struct dom_sid sid;
19         } in;
20
21         struct {
22                 uint64_t *uid;/* [ref] */
23                 NTSTATUS result;
24         } out;
25
26 };
27
28
29 struct unixinfo_UidToSid {
30         struct {
31                 uint64_t uid;
32         } in;
33
34         struct {
35                 struct dom_sid *sid;/* [ref] */
36                 NTSTATUS result;
37         } out;
38
39 };
40
41
42 struct unixinfo_SidToGid {
43         struct {
44                 struct dom_sid sid;
45         } in;
46
47         struct {
48                 uint64_t *gid;/* [ref] */
49                 NTSTATUS result;
50         } out;
51
52 };
53
54
55 struct unixinfo_GidToSid {
56         struct {
57                 uint64_t gid;
58         } in;
59
60         struct {
61                 struct dom_sid *sid;/* [ref] */
62                 NTSTATUS result;
63         } out;
64
65 };
66
67
68 struct unixinfo_GetPWUid {
69         struct {
70                 uint64_t *uids;/* [size_is(*count)] */
71                 uint32_t *count;/* [ref,range(0 1023)] */
72         } in;
73
74         struct {
75                 struct unixinfo_GetPWUidInfo *infos;/* [size_is(*count)] */
76                 uint32_t *count;/* [ref,range(0 1023)] */
77                 NTSTATUS result;
78         } out;
79
80 };
81
82 #endif /* _HEADER_unixinfo */