summaryrefslogtreecommitdiff
path: root/librpc/idl/svcctl.idl
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-11-14 11:54:16 +0100
committerGünther Deschner <gd@samba.org>2008-11-17 13:18:00 +0100
commit5b4140a99767db9f0dfa02049e4dcff23a7fdb83 (patch)
tree2489ed1ef5337a14eed4b330b3210d90b331f78b /librpc/idl/svcctl.idl
parent738d066768a8aebf0d9522e49d30e2df0ad4f07b (diff)
downloadsamba-5b4140a99767db9f0dfa02049e4dcff23a7fdb83.tar.gz
svcctl: fill in SERVICE_CONTROL from s3.
Guenther
Diffstat (limited to 'librpc/idl/svcctl.idl')
-rw-r--r--librpc/idl/svcctl.idl12
1 files changed, 9 insertions, 3 deletions
diff --git a/librpc/idl/svcctl.idl b/librpc/idl/svcctl.idl
index 381fd6356a6..4b88f5e5f41 100644
--- a/librpc/idl/svcctl.idl
+++ b/librpc/idl/svcctl.idl
@@ -89,13 +89,19 @@ import "misc.idl", "security.idl";
/*****************/
/* Function 0x01 */
- typedef enum {
- FIXME=1
+ /* Service Controls */
+
+ typedef [v1_enum] enum {
+ SVCCTL_CONTROL_STOP = 0x00000001,
+ SVCCTL_CONTROL_PAUSE = 0x00000002,
+ SVCCTL_CONTROL_CONTINUE = 0x00000003,
+ SVCCTL_CONTROL_INTERROGATE = 0x00000004,
+ SVCCTL_CONTROL_SHUTDOWN = 0x00000005
} SERVICE_CONTROL;
WERROR svcctl_ControlService(
[in,ref] policy_handle *handle,
- [in] uint32 control,
+ [in] SERVICE_CONTROL control,
[out,ref] SERVICE_STATUS *service_status
);