summaryrefslogtreecommitdiff
path: root/source4/librpc/idl/initshutdown.idl
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-02-19 18:05:09 +0100
committerJelmer Vernooij <jelmer@samba.org>2008-02-19 18:05:09 +0100
commitab915504aaa40cebe5fa09a47b2ae46f7f9f334a (patch)
tree5faa5e1d38fd6359e5f832bbe60e878fe9284e12 /source4/librpc/idl/initshutdown.idl
parent95b294f75b05b31cace3818b85b5bf1b8d4722f2 (diff)
parent5233e43ec7e96afb905f026309b0894178c96499 (diff)
downloadsamba-ab915504aaa40cebe5fa09a47b2ae46f7f9f334a.tar.gz
samba-ab915504aaa40cebe5fa09a47b2ae46f7f9f334a.tar.bz2
samba-ab915504aaa40cebe5fa09a47b2ae46f7f9f334a.zip
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-trivial
(This used to be commit 02cb396d42976efc03fcb0082e914eb17ae72e11)
Diffstat (limited to 'source4/librpc/idl/initshutdown.idl')
-rw-r--r--source4/librpc/idl/initshutdown.idl25
1 files changed, 12 insertions, 13 deletions
diff --git a/source4/librpc/idl/initshutdown.idl b/source4/librpc/idl/initshutdown.idl
index 868e48e28a..ac30be70dd 100644
--- a/source4/librpc/idl/initshutdown.idl
+++ b/source4/librpc/idl/initshutdown.idl
@@ -4,6 +4,8 @@
initshutdown interface definition
*/
+import "lsa.idl";
+
[
uuid("894de0c0-0d55-11d3-a322-00c04fa321a1"),
version(1.0),
@@ -12,20 +14,13 @@
helpstring("Init shutdown service")
] 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(name->name)*2)] uint16 name_len;
- [value(strlen_m_term(name->name)*2)] uint16 name_size;
- initshutdown_String_sub *name;
- } initshutdown_String;
-
WERROR initshutdown_Init(
[in,unique] uint16 *hostname,
- [in,unique] initshutdown_String *message,
+ /*
+ * 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
@@ -37,7 +32,11 @@
WERROR initshutdown_InitEx(
[in,unique] uint16 *hostname,
- [in,unique] initshutdown_String *message,
+ /*
+ * 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,