summaryrefslogtreecommitdiff
path: root/source3/librpc/gen_ndr/svcctl.h
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 /source3/librpc/gen_ndr/svcctl.h
parent738d066768a8aebf0d9522e49d30e2df0ad4f07b (diff)
downloadsamba-5b4140a99767db9f0dfa02049e4dcff23a7fdb83.tar.gz
samba-5b4140a99767db9f0dfa02049e4dcff23a7fdb83.tar.bz2
samba-5b4140a99767db9f0dfa02049e4dcff23a7fdb83.zip
svcctl: fill in SERVICE_CONTROL from s3.
Guenther
Diffstat (limited to 'source3/librpc/gen_ndr/svcctl.h')
-rw-r--r--source3/librpc/gen_ndr/svcctl.h14
1 files changed, 11 insertions, 3 deletions
diff --git a/source3/librpc/gen_ndr/svcctl.h b/source3/librpc/gen_ndr/svcctl.h
index b098eb1c42..631cc2af7a 100644
--- a/source3/librpc/gen_ndr/svcctl.h
+++ b/source3/librpc/gen_ndr/svcctl.h
@@ -81,11 +81,19 @@ struct ENUM_SERVICE_STATUS {
enum SERVICE_CONTROL
#ifndef USE_UINT_ENUMS
{
- FIXME=1
+ SVCCTL_CONTROL_STOP=0x00000001,
+ SVCCTL_CONTROL_PAUSE=0x00000002,
+ SVCCTL_CONTROL_CONTINUE=0x00000003,
+ SVCCTL_CONTROL_INTERROGATE=0x00000004,
+ SVCCTL_CONTROL_SHUTDOWN=0x00000005
}
#else
{ __donnot_use_enum_SERVICE_CONTROL=0x7FFFFFFF}
-#define FIXME ( 1 )
+#define SVCCTL_CONTROL_STOP ( 0x00000001 )
+#define SVCCTL_CONTROL_PAUSE ( 0x00000002 )
+#define SVCCTL_CONTROL_CONTINUE ( 0x00000003 )
+#define SVCCTL_CONTROL_INTERROGATE ( 0x00000004 )
+#define SVCCTL_CONTROL_SHUTDOWN ( 0x00000005 )
#endif
;
@@ -137,7 +145,7 @@ struct svcctl_CloseServiceHandle {
struct svcctl_ControlService {
struct {
struct policy_handle *handle;/* [ref] */
- uint32_t control;
+ enum SERVICE_CONTROL control;
} in;
struct {