summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2009-01-08 15:43:49 +0100
committerGünther Deschner <gd@samba.org>2009-01-08 16:56:59 +0100
commitc9f6a58109bb0b7a26e8a0b8ef81bbff74a066c9 (patch)
tree367923bb0da23826d8ecc4ca46e4c224563cbdbc
parent74a5ccec96e4d8c82cd118858954323f9329b6ab (diff)
downloadsamba-c9f6a58109bb0b7a26e8a0b8ef81bbff74a066c9.tar.gz
samba-c9f6a58109bb0b7a26e8a0b8ef81bbff74a066c9.tar.bz2
samba-c9f6a58109bb0b7a26e8a0b8ef81bbff74a066c9.zip
svcctl: remove redundant SERVICE_STATE_* defines.
Guenther
-rw-r--r--librpc/idl/svcctl.idl10
1 files changed, 3 insertions, 7 deletions
diff --git a/librpc/idl/svcctl.idl b/librpc/idl/svcctl.idl
index f804f91730..5f04d91f17 100644
--- a/librpc/idl/svcctl.idl
+++ b/librpc/idl/svcctl.idl
@@ -71,10 +71,6 @@ import "misc.idl", "security.idl";
const int SERVICE_TYPE_WIN32_SHARE_PROCESS = 0x20;
const int SERVICE_TYPE_WIN32=SERVICE_TYPE_WIN32_OWN_PROCESS|SERVICE_TYPE_WIN32_SHARE_PROCESS;
- const int SERVICE_STATE_ACTIVE = 0x01;
- const int SERVICE_STATE_INACTIVE = 0x02;
- const int SERVICE_STATE_ALL = 0x03;
-
typedef [public,bitmap32bit] bitmap {
SV_TYPE_WORKSTATION = 0x00000001,
SV_TYPE_SERVER = 0x00000002,
@@ -266,9 +262,9 @@ import "misc.idl", "security.idl";
/* Function 0x0e */
typedef [v1_enum] enum {
- SVCCTL_STATE_ACTIVE = 0x00000001,
- SVCCTL_STATE_INACTIVE = 0x00000002,
- SVCCTL_STATE_ALL = ( SVCCTL_STATE_ACTIVE | SVCCTL_STATE_INACTIVE )
+ SERVICE_STATE_ACTIVE = 0x00000001,
+ SERVICE_STATE_INACTIVE = 0x00000002,
+ SERVICE_STATE_ALL = ( SERVICE_STATE_ACTIVE | SERVICE_STATE_INACTIVE )
} svcctl_ServiceState;
WERROR svcctl_EnumServicesStatusW(