diff options
author | Günther Deschner <gd@samba.org> | 2009-04-07 01:11:44 +0200 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2009-04-07 01:16:52 +0200 |
commit | 557f38326badcd8e1d2338f76c5717e16ae7a7d3 (patch) | |
tree | 08b4d273a1abe4f06f2a838c3d2612d3b9900557 /librpc | |
parent | 21b083a647997549e8188c6fc0687fdecfaa4cb3 (diff) | |
download | samba-557f38326badcd8e1d2338f76c5717e16ae7a7d3.tar.gz samba-557f38326badcd8e1d2338f76c5717e16ae7a7d3.tar.bz2 samba-557f38326badcd8e1d2338f76c5717e16ae7a7d3.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
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 3f990298ad..4b66d9cc5d 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, |