summaryrefslogtreecommitdiffstats
path: root/source/librpc/gen_ndr/initshutdown.h
blob: acfe98846fd6d2574c6c06b23e11a5d6c3a45a6e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
/* header auto-generated by pidl */

#include <stdint.h>

#ifndef _HEADER_initshutdown
#define _HEADER_initshutdown

struct initshutdown_String_sub {
	uint32_t name_size;/* [value(strlen_m_term(name))] */
	const char * name;/* [flag(LIBNDR_FLAG_STR_LEN4|LIBNDR_FLAG_STR_NOTERM)] */
};

struct initshutdown_String {
	uint16_t name_len;/* [value(strlen_m(name->name)*2)] */
	uint16_t name_size;/* [value(strlen_m_term(name->name)*2)] */
	struct initshutdown_String_sub *name;/* [unique] */
}/* [public] */;


struct initshutdown_Init {
	struct {
		uint16_t *hostname;/* [unique] */
		struct initshutdown_String *message;/* [unique] */
		uint32_t timeout;
		uint8_t force_apps;
		uint8_t reboot;
	} in;

	struct {
		WERROR result;
	} out;

};


struct initshutdown_Abort {
	struct {
		uint16_t *server;/* [unique] */
	} in;

	struct {
		WERROR result;
	} out;

};


struct initshutdown_InitEx {
	struct {
		uint16_t *hostname;/* [unique] */
		struct initshutdown_String *message;/* [unique] */
		uint32_t timeout;
		uint8_t force_apps;
		uint8_t reboot;
		uint32_t reason;
	} in;

	struct {
		WERROR result;
	} out;

};

#endif /* _HEADER_initshutdown */