summaryrefslogtreecommitdiffstats
path: root/librpc
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2009-04-07 01:11:44 +0200
committerGünther Deschner <gd@samba.org>2009-04-07 01:20:01 +0200
commitab4e2da6cf9d8ef72aa73b2a9a18207b9986305d (patch)
tree1547a7f8ab2571ab54ee5d12ac7eabc33971a7a0 /librpc
parent10dd219380a2a9ab609be3fb7312795d0fdaab86 (diff)
downloadsamba-ab4e2da6cf9d8ef72aa73b2a9a18207b9986305d.tar.gz
samba-ab4e2da6cf9d8ef72aa73b2a9a18207b9986305d.tar.xz
samba-ab4e2da6cf9d8ef72aa73b2a9a18207b9986305d.zip
svcctl: Fix svcctl_ControlsAccepted bitmask.
Never ever have 0 value in a bitmask... pidl should generate at least a warning about those things. Guenther (cherry picked from commit 557f38326badcd8e1d2338f76c5717e16ae7a7d3)
Diffstat (limited to 'librpc')
-rw-r--r--librpc/idl/svcctl.idl3
1 files changed, 2 insertions, 1 deletions
diff --git a/librpc/idl/svcctl.idl b/librpc/idl/svcctl.idl
index 3f990298ad8..4b66d9cc5dc 100644
--- a/librpc/idl/svcctl.idl
+++ b/librpc/idl/svcctl.idl
@@ -30,8 +30,9 @@ import "misc.idl", "security.idl";
SVCCTL_PAUSED = 0x00000007
} svcctl_ServiceStatus;
+ const int SVCCTL_ACCEPT_NONE = 0x00000000;
+
typedef [bitmap32bit] bitmap {
- SVCCTL_ACCEPT_NONE = 0x00000000,
SVCCTL_ACCEPT_STOP = 0x00000001,
SVCCTL_ACCEPT_PAUSE_CONTINUE = 0x00000002,
SVCCTL_ACCEPT_SHUTDOWN = 0x00000004,