From c4013df0c18779191d124dcb3ee35499900b54e0 Mon Sep 17 00:00:00 2001 From: Gerald Carter Date: Fri, 15 Sep 2006 18:32:43 +0000 Subject: 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) --- source3/librpc/gen_ndr/initshutdown.h | 62 +++++++++++++++++++++++++++++++++++ 1 file changed, 62 insertions(+) create mode 100644 source3/librpc/gen_ndr/initshutdown.h (limited to 'source3/librpc/gen_ndr/initshutdown.h') 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 */ -- cgit