summaryrefslogtreecommitdiff
path: root/librpc/idl
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-10-15 16:13:02 +0200
committerJelmer Vernooij <jelmer@samba.org>2008-10-15 16:13:02 +0200
commit881b36f4cff46320cc8a314dbcb57c3e964f06f2 (patch)
tree74d361b31b541a125f345c9f68bdc72bf9cd3bb1 /librpc/idl
parent0c840bd8d2f650e805bd7d03c2b3fe530b431a4f (diff)
downloadsamba-881b36f4cff46320cc8a314dbcb57c3e964f06f2.tar.gz
samba-881b36f4cff46320cc8a314dbcb57c3e964f06f2.tar.bz2
samba-881b36f4cff46320cc8a314dbcb57c3e964f06f2.zip
Share initshutdown.idl.
Diffstat (limited to 'librpc/idl')
-rw-r--r--librpc/idl/initshutdown.idl45
1 files changed, 45 insertions, 0 deletions
diff --git a/librpc/idl/initshutdown.idl b/librpc/idl/initshutdown.idl
new file mode 100644
index 0000000000..ac30be70dd
--- /dev/null
+++ b/librpc/idl/initshutdown.idl
@@ -0,0 +1,45 @@
+#include "idl_types.h"
+
+/*
+ initshutdown interface definition
+*/
+
+import "lsa.idl";
+
+[
+ uuid("894de0c0-0d55-11d3-a322-00c04fa321a1"),
+ version(1.0),
+ endpoint("ncacn_np:[\\pipe\\InitShutdown]"),
+ pointer_default(unique),
+ helpstring("Init shutdown service")
+] interface initshutdown
+{
+ WERROR initshutdown_Init(
+ [in,unique] uint16 *hostname,
+ /*
+ * Note: lsa_String and winreg_String both result
+ * in WERR_INVALID_PARAM
+ */
+ [in,unique] lsa_StringLarge *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,
+ /*
+ * Note: lsa_String and winreg_String both result
+ * in WERR_INVALID_PARAM
+ */
+ [in,unique] lsa_StringLarge *message,
+ [in] uint32 timeout,
+ [in] uint8 force_apps,
+ [in] uint8 reboot,
+ [in] uint32 reason
+ );
+}