summaryrefslogtreecommitdiff
path: root/source3/librpc/idl/initshutdown.idl
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2006-09-18 19:02:06 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:52:00 -0500
commit8dd826f50026f29cf1175ce56111c4832f2d4809 (patch)
tree8375c51511c17094962aa78561d93d9dfa709033 /source3/librpc/idl/initshutdown.idl
parentab916747536df7a3ccd28299ce534825a255b4f3 (diff)
downloadsamba-8dd826f50026f29cf1175ce56111c4832f2d4809.tar.gz
samba-8dd826f50026f29cf1175ce56111c4832f2d4809.tar.bz2
samba-8dd826f50026f29cf1175ce56111c4832f2d4809.zip
r18618: * remove svn:externals
* 'make idl' now requires pidl in the current PATH * regenerate winreg ndr files (This used to be commit e936d39e00f07d942ce977b9a725ebe7b9e57625)
Diffstat (limited to 'source3/librpc/idl/initshutdown.idl')
-rw-r--r--source3/librpc/idl/initshutdown.idl47
1 files changed, 47 insertions, 0 deletions
diff --git a/source3/librpc/idl/initshutdown.idl b/source3/librpc/idl/initshutdown.idl
new file mode 100644
index 0000000000..8555ed0c5c
--- /dev/null
+++ b/source3/librpc/idl/initshutdown.idl
@@ -0,0 +1,47 @@
+#include "idl_types.h"
+
+/*
+ initshutdown interface definition
+*/
+
+[
+ uuid("894de0c0-0d55-11d3-a322-00c04fa321a1"),
+ version(1.0),
+ endpoint("ncacn_np:[\\pipe\\InitShutdown]"),
+ pointer_default(unique),
+ helpstring("Init shutdown service"),
+ keepref
+] interface initshutdown
+{
+ typedef struct {
+ [value(strlen_m_term(name))] uint32 name_size;
+ [flag(STR_LEN4|STR_NOTERM)] string name;
+ } initshutdown_String_sub;
+
+ typedef [public] struct {
+ [value(strlen_m(r->name->name)*2)] uint16 name_len;
+ [value(strlen_m_term(r->name->name)*2)] uint16 name_size;
+ initshutdown_String_sub *name;
+ } initshutdown_String;
+
+ WERROR initshutdown_Init(
+ [in,unique] uint16 *hostname,
+ [in,unique] initshutdown_String *message,
+ [in] uint32 timeout,
+ [in] uint8 force_apps,
+ [in] uint8 reboot
+ );
+
+ WERROR initshutdown_Abort(
+ [in,unique] uint16 *server
+ );
+
+ WERROR initshutdown_InitEx(
+ [in,unique] uint16 *hostname,
+ [in,unique] initshutdown_String *message,
+ [in] uint32 timeout,
+ [in] uint8 force_apps,
+ [in] uint8 reboot,
+ [in] uint32 reason
+ );
+}