diff options
author | Günther Deschner <gd@samba.org> | 2008-11-14 12:03:18 +0100 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2009-01-08 11:18:57 +0100 |
commit | 176bbcf90cd890111177aeebce3f0563ac2da584 (patch) | |
tree | a088dd6d474d92eff7c19eeab766dd664dbb58e3 /librpc/gen_ndr/svcctl.h | |
parent | 550c64bef9cfc3f2aca6edcaeaf5e351aa4d8ee0 (diff) | |
download | samba-176bbcf90cd890111177aeebce3f0563ac2da584.tar.gz samba-176bbcf90cd890111177aeebce3f0563ac2da584.tar.bz2 samba-176bbcf90cd890111177aeebce3f0563ac2da584.zip |
svcctl: add svcctl_ConfigLevel from samba 3.
Guenther
Diffstat (limited to 'librpc/gen_ndr/svcctl.h')
-rw-r--r-- | librpc/gen_ndr/svcctl.h | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/librpc/gen_ndr/svcctl.h b/librpc/gen_ndr/svcctl.h index 542bddad8b..66be271383 100644 --- a/librpc/gen_ndr/svcctl.h +++ b/librpc/gen_ndr/svcctl.h @@ -128,6 +128,19 @@ struct QUERY_SERVICE_CONFIG { const char *displayname;/* [unique,range(0,8192),charset(UTF16)] */ }/* [gensize,public] */; +enum svcctl_ConfigLevel +#ifndef USE_UINT_ENUMS + { + SERVICE_CONFIG_DESCRIPTION=0x00000001, + SERVICE_CONFIG_FAILURE_ACTIONS=0x00000002 +} +#else + { __donnot_use_enum_svcctl_ConfigLevel=0x7FFFFFFF} +#define SERVICE_CONFIG_DESCRIPTION ( 0x00000001 ) +#define SERVICE_CONFIG_FAILURE_ACTIONS ( 0x00000002 ) +#endif +; + enum svcctl_StatusLevel #ifndef USE_UINT_ENUMS { @@ -723,7 +736,7 @@ struct svcctl_ChangeServiceConfig2W { struct svcctl_QueryServiceConfig2A { struct { struct policy_handle *handle;/* [ref] */ - uint32_t info_level; + enum svcctl_ConfigLevel info_level; uint32_t buf_size; } in; @@ -739,7 +752,7 @@ struct svcctl_QueryServiceConfig2A { struct svcctl_QueryServiceConfig2W { struct { struct policy_handle *handle;/* [ref] */ - uint32_t info_level; + enum svcctl_ConfigLevel info_level; uint32_t buf_size;/* [range(0,8192)] */ } in; |