summaryrefslogtreecommitdiff
path: root/source3/librpc/gen_ndr/initshutdown.h
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2006-09-15 18:32:43 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:51:50 -0500
commitc4013df0c18779191d124dcb3ee35499900b54e0 (patch)
tree5565886a7c90e36a73b073b040f967bdb7870d21 /source3/librpc/gen_ndr/initshutdown.h
parent1052e48e87fc1cf0e93ce880fce1820bd842055b (diff)
downloadsamba-c4013df0c18779191d124dcb3ee35499900b54e0.tar.gz
samba-c4013df0c18779191d124dcb3ee35499900b54e0.tar.bz2
samba-c4013df0c18779191d124dcb3ee35499900b54e0.zip
r18560: * Add in the winreg and initshutdown IDL files
* rename PI_SHUTDOWN from include/smb.h to PI_INITSHUTDOWN for compatibility with pidl libndr output (This used to be commit 23a882861311d9d6ca45af1bfcc90d05846ba3a9)
Diffstat (limited to 'source3/librpc/gen_ndr/initshutdown.h')
-rw-r--r--source3/librpc/gen_ndr/initshutdown.h62
1 files changed, 62 insertions, 0 deletions
diff --git a/source3/librpc/gen_ndr/initshutdown.h b/source3/librpc/gen_ndr/initshutdown.h
new file mode 100644
index 0000000000..58f7b3bc6e
--- /dev/null
+++ b/source3/librpc/gen_ndr/initshutdown.h
@@ -0,0 +1,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 */