diff options
author | Günther Deschner <gd@samba.org> | 2009-04-07 01:11:44 +0200 |
---|---|---|
committer | Karolin Seeger <kseeger@samba.org> | 2009-04-15 09:08:03 +0200 |
commit | a066df1fea9ad1257b3aa775abef9afe34e24d79 (patch) | |
tree | a900a48788c4e20a1a23ad83eadc8e7f2aa5da0a /librpc | |
parent | ea77ab15acbd0b3903fc3112f9528bf077668474 (diff) | |
download | samba-a066df1fea9ad1257b3aa775abef9afe34e24d79.tar.gz |
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)
(cherry picked from commit ab4e2da6cf9d8ef72aa73b2a9a18207b9986305d)
Diffstat (limited to 'librpc')
-rw-r--r-- | librpc/idl/svcctl.idl | 3 |
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, |