Fix various build warnings
[ira/wip.git] / source3 / librpc / gen_ndr / initshutdown.h
1 /* header auto-generated by pidl */
2
3 #include <stdint.h>
4
5 #ifndef _HEADER_initshutdown
6 #define _HEADER_initshutdown
7
8 struct initshutdown_String_sub {
9         uint32_t name_size;/* [value(strlen_m_term(name))] */
10         const char * name;/* [flag(LIBNDR_FLAG_STR_LEN4|LIBNDR_FLAG_STR_NOTERM)] */
11 };
12
13 struct initshutdown_String {
14         uint16_t name_len;/* [value(strlen_m(name->name)*2)] */
15         uint16_t name_size;/* [value(strlen_m_term(name->name)*2)] */
16         struct initshutdown_String_sub *name;/* [unique] */
17 }/* [public] */;
18
19
20 struct initshutdown_Init {
21         struct {
22                 uint16_t *hostname;/* [unique] */
23                 struct initshutdown_String *message;/* [unique] */
24                 uint32_t timeout;
25                 uint8_t force_apps;
26                 uint8_t reboot;
27         } in;
28
29         struct {
30                 WERROR result;
31         } out;
32
33 };
34
35
36 struct initshutdown_Abort {
37         struct {
38                 uint16_t *server;/* [unique] */
39         } in;
40
41         struct {
42                 WERROR result;
43         } out;
44
45 };
46
47
48 struct initshutdown_InitEx {
49         struct {
50                 uint16_t *hostname;/* [unique] */
51                 struct initshutdown_String *message;/* [unique] */
52                 uint32_t timeout;
53                 uint8_t force_apps;
54                 uint8_t reboot;
55                 uint32_t reason;
56         } in;
57
58         struct {
59                 WERROR result;
60         } out;
61
62 };
63
64 #endif /* _HEADER_initshutdown */