git add -f bin/default/librpc/gen_ndr/*.[ch] bin/default/source*/librpc/gen_ndr/...
[metze/samba/wip.git] / bin.gen_ndr / default / source4 / librpc / gen_ndr / winbind.h
1 /* header auto-generated by pidl */
2
3 #ifndef _PIDL_HEADER_winbind
4 #define _PIDL_HEADER_winbind
5
6 #include <stdint.h>
7
8 #include "libcli/util/ntstatus.h"
9
10 #include "librpc/gen_ndr/netlogon.h"
11 #include "librpc/gen_ndr/lsa.h"
12 #include "librpc/gen_ndr/security.h"
13 #include "librpc/gen_ndr/idmap.h"
14 #ifndef _HEADER_winbind
15 #define _HEADER_winbind
16
17 union netr_LogonLevel;
18
19 union netr_Validation;
20
21 enum winbind_get_idmap_level
22 #ifndef USE_UINT_ENUMS
23  {
24         WINBIND_IDMAP_LEVEL_SIDS_TO_XIDS=(int)(1),
25         WINBIND_IDMAP_LEVEL_XIDS_TO_SIDS=(int)(2)
26 }
27 #else
28  { __do_not_use_enum_winbind_get_idmap_level=0x7FFFFFFF}
29 #define WINBIND_IDMAP_LEVEL_SIDS_TO_XIDS ( 1 )
30 #define WINBIND_IDMAP_LEVEL_XIDS_TO_SIDS ( 2 )
31 #endif
32 ;
33
34
35 struct winbind_information {
36         int _dummy_element;
37 };
38
39
40 struct winbind_remote_control {
41         struct {
42                 NTSTATUS result;
43         } out;
44
45 };
46
47
48 struct winbind_SamLogon {
49         struct {
50                 uint16_t logon_level;
51                 union netr_LogonLevel logon;/* [switch_is(logon_level)] */
52                 uint16_t validation_level;
53         } in;
54
55         struct {
56                 union netr_Validation validation;/* [switch_is(validation_level)] */
57                 uint8_t authoritative;
58                 NTSTATUS result;
59         } out;
60
61 };
62
63
64 struct winbind_get_idmap {
65         struct {
66                 enum winbind_get_idmap_level level;
67                 uint32_t count;
68                 struct id_map *ids;/* [size_is(count)] */
69         } in;
70
71         struct {
72                 struct id_map *ids;/* [size_is(count)] */
73                 NTSTATUS result;
74         } out;
75
76 };
77
78
79 struct winbind_DsrUpdateReadOnlyServerDnsRecords {
80         struct {
81                 const char *site_name;/* [unique,charset(UTF16)] */
82                 uint32_t dns_ttl;
83                 struct NL_DNS_NAME_INFO_ARRAY *dns_names;/* [ref] */
84         } in;
85
86         struct {
87                 struct NL_DNS_NAME_INFO_ARRAY *dns_names;/* [ref] */
88                 NTSTATUS result;
89         } out;
90
91 };
92
93 #endif /* _HEADER_winbind */
94 #endif /* _PIDL_HEADER_winbind */