summaryrefslogtreecommitdiff
path: root/source3/librpc/gen_ndr/initshutdown.h
blob: 58f7b3bc6e7ec33b8958b45b4ee22f9a7e49ba24 (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
/* header auto-generated by pidl */

#ifndef _HEADER_initshutdown
#define _HEADER_initshutdown

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

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


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

	struct {
		WERROR result;
	} out;

};


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

	struct {
		WERROR result;
	} out;

};


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

	struct {
		WERROR result;
	} out;

};

#endif /* _HEADER_initshutdown */