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