git add -f bin/default/librpc/gen_ndr/*.[ch] bin/default/source*/librpc/gen_ndr/...
[metze/samba/wip.git] / bin.gen_ndr / default / librpc / gen_ndr / initshutdown.h
1 /* header auto-generated by pidl */
2
3 #ifndef _PIDL_HEADER_initshutdown
4 #define _PIDL_HEADER_initshutdown
5
6 #include <stdint.h>
7
8 #include "libcli/util/ntstatus.h"
9
10 #include "librpc/gen_ndr/lsa.h"
11 #ifndef _HEADER_initshutdown
12 #define _HEADER_initshutdown
13
14 enum initshutdown_ReasonMajor
15 #ifndef USE_UINT_ENUMS
16  {
17         SHTDN_REASON_MAJOR_OTHER=(int)(0x00000000),
18         SHTDN_REASON_MAJOR_HARDWARE=(int)(0x00010000),
19         SHTDN_REASON_MAJOR_OPERATINGSYSTEM=(int)(0x00020000),
20         SHTDN_REASON_MAJOR_SOFTWARE=(int)(0x00030000),
21         SHTDN_REASON_MAJOR_APPLICATION=(int)(0x00040000),
22         SHTDN_REASON_MAJOR_SYSTEM=(int)(0x00050000),
23         SHTDN_REASON_MAJOR_POWER=(int)(0x00060000),
24         SHTDN_REASON_MAJOR_LEGACY_API=(int)(0x00070000)
25 }
26 #else
27  { __do_not_use_enum_initshutdown_ReasonMajor=0x7FFFFFFF}
28 #define SHTDN_REASON_MAJOR_OTHER ( 0x00000000 )
29 #define SHTDN_REASON_MAJOR_HARDWARE ( 0x00010000 )
30 #define SHTDN_REASON_MAJOR_OPERATINGSYSTEM ( 0x00020000 )
31 #define SHTDN_REASON_MAJOR_SOFTWARE ( 0x00030000 )
32 #define SHTDN_REASON_MAJOR_APPLICATION ( 0x00040000 )
33 #define SHTDN_REASON_MAJOR_SYSTEM ( 0x00050000 )
34 #define SHTDN_REASON_MAJOR_POWER ( 0x00060000 )
35 #define SHTDN_REASON_MAJOR_LEGACY_API ( 0x00070000 )
36 #endif
37 ;
38
39 enum initshutdown_ReasonMinor
40 #ifndef USE_UINT_ENUMS
41  {
42         SHTDN_REASON_MINOR_OTHER=(int)(0x00000000),
43         SHTDN_REASON_MINOR_MAINTENANCE=(int)(0x00000001),
44         SHTDN_REASON_MINOR_INSTALLATION=(int)(0x00000002),
45         SHTDN_REASON_MINOR_UPGRADE=(int)(0x00000003),
46         SHTDN_REASON_MINOR_RECONFIG=(int)(0x00000004),
47         SHTDN_REASON_MINOR_HUNG=(int)(0x00000005),
48         SHTDN_REASON_MINOR_UNSTABLE=(int)(0x00000006),
49         SHTDN_REASON_MINOR_DISK=(int)(0x00000007),
50         SHTDN_REASON_MINOR_PROCESSOR=(int)(0x00000008),
51         SHTDN_REASON_MINOR_NETWORKCARD=(int)(0x00000009),
52         SHTDN_REASON_MINOR_POWER_SUPPLY=(int)(0x0000000a),
53         SHTDN_REASON_MINOR_CORDUNPLUGGED=(int)(0x0000000b),
54         SHTDN_REASON_MINOR_ENVIRONMENT=(int)(0x0000000c),
55         SHTDN_REASON_MINOR_HARDWARE_DRIVER=(int)(0x0000000d),
56         SHTDN_REASON_MINOR_OTHERDRIVER=(int)(0x0000000e),
57         SHTDN_REASON_MINOR_BLUESCREEN=(int)(0x0000000f),
58         SHTDN_REASON_MINOR_SERVICEPACK=(int)(0x00000010),
59         SHTDN_REASON_MINOR_HOTFIX=(int)(0x00000011),
60         SHTDN_REASON_MINOR_SECURITYFIX=(int)(0x00000012),
61         SHTDN_REASON_MINOR_SECURITY=(int)(0x00000013),
62         SHTDN_REASON_MINOR_NETWORK_CONNECTIVITY=(int)(0x00000014),
63         SHTDN_REASON_MINOR_WMI=(int)(0x00000015),
64         SHTDN_REASON_MINOR_SERVICEPACK_UNINSTALL=(int)(0x00000016),
65         SHTDN_REASON_MINOR_HOTFIX_UNINSTALL=(int)(0x00000017),
66         SHTDN_REASON_MINOR_SECURITYFIX_UNINSTALL=(int)(0x00000018),
67         SHTDN_REASON_MINOR_MMC=(int)(0x00000019),
68         SHTDN_REASON_MINOR_TERMSRV=(int)(0x00000020)
69 }
70 #else
71  { __do_not_use_enum_initshutdown_ReasonMinor=0x7FFFFFFF}
72 #define SHTDN_REASON_MINOR_OTHER ( 0x00000000 )
73 #define SHTDN_REASON_MINOR_MAINTENANCE ( 0x00000001 )
74 #define SHTDN_REASON_MINOR_INSTALLATION ( 0x00000002 )
75 #define SHTDN_REASON_MINOR_UPGRADE ( 0x00000003 )
76 #define SHTDN_REASON_MINOR_RECONFIG ( 0x00000004 )
77 #define SHTDN_REASON_MINOR_HUNG ( 0x00000005 )
78 #define SHTDN_REASON_MINOR_UNSTABLE ( 0x00000006 )
79 #define SHTDN_REASON_MINOR_DISK ( 0x00000007 )
80 #define SHTDN_REASON_MINOR_PROCESSOR ( 0x00000008 )
81 #define SHTDN_REASON_MINOR_NETWORKCARD ( 0x00000009 )
82 #define SHTDN_REASON_MINOR_POWER_SUPPLY ( 0x0000000a )
83 #define SHTDN_REASON_MINOR_CORDUNPLUGGED ( 0x0000000b )
84 #define SHTDN_REASON_MINOR_ENVIRONMENT ( 0x0000000c )
85 #define SHTDN_REASON_MINOR_HARDWARE_DRIVER ( 0x0000000d )
86 #define SHTDN_REASON_MINOR_OTHERDRIVER ( 0x0000000e )
87 #define SHTDN_REASON_MINOR_BLUESCREEN ( 0x0000000f )
88 #define SHTDN_REASON_MINOR_SERVICEPACK ( 0x00000010 )
89 #define SHTDN_REASON_MINOR_HOTFIX ( 0x00000011 )
90 #define SHTDN_REASON_MINOR_SECURITYFIX ( 0x00000012 )
91 #define SHTDN_REASON_MINOR_SECURITY ( 0x00000013 )
92 #define SHTDN_REASON_MINOR_NETWORK_CONNECTIVITY ( 0x00000014 )
93 #define SHTDN_REASON_MINOR_WMI ( 0x00000015 )
94 #define SHTDN_REASON_MINOR_SERVICEPACK_UNINSTALL ( 0x00000016 )
95 #define SHTDN_REASON_MINOR_HOTFIX_UNINSTALL ( 0x00000017 )
96 #define SHTDN_REASON_MINOR_SECURITYFIX_UNINSTALL ( 0x00000018 )
97 #define SHTDN_REASON_MINOR_MMC ( 0x00000019 )
98 #define SHTDN_REASON_MINOR_TERMSRV ( 0x00000020 )
99 #endif
100 ;
101
102 /* bitmap initshutdown_ReasonFlags */
103 #define SHTDN_REASON_FLAG_USER_DEFINED ( 0x40000000 )
104 #define SHTDN_REASON_FLAG_PLANNED ( 0x80000000 )
105
106
107 struct initshutdown_Init {
108         struct {
109                 uint16_t *hostname;/* [unique] */
110                 struct lsa_StringLarge *message;/* [unique] */
111                 uint32_t timeout;
112                 uint8_t force_apps;
113                 uint8_t do_reboot;
114         } in;
115
116         struct {
117                 WERROR result;
118         } out;
119
120 };
121
122
123 struct initshutdown_Abort {
124         struct {
125                 uint16_t *server;/* [unique] */
126         } in;
127
128         struct {
129                 WERROR result;
130         } out;
131
132 };
133
134
135 struct initshutdown_InitEx {
136         struct {
137                 uint16_t *hostname;/* [unique] */
138                 struct lsa_StringLarge *message;/* [unique] */
139                 uint32_t timeout;
140                 uint8_t force_apps;
141                 uint8_t do_reboot;
142                 uint32_t reason;
143         } in;
144
145         struct {
146                 WERROR result;
147         } out;
148
149 };
150
151 #endif /* _HEADER_initshutdown */
152 #endif /* _PIDL_HEADER_initshutdown */