summaryrefslogtreecommitdiffstats
path: root/librpc
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2009-01-08 16:44:54 +0100
committerGünther Deschner <gd@samba.org>2009-01-08 17:32:34 +0100
commit9832a5e593691695d88bbb17bfe480f4ac3c35cc (patch)
tree34f43c023cf239f3a3cd10137ae3b7e3e20553e2 /librpc
parentc9f6a58109bb0b7a26e8a0b8ef81bbff74a066c9 (diff)
downloadsamba-9832a5e593691695d88bbb17bfe480f4ac3c35cc.tar.gz
samba-9832a5e593691695d88bbb17bfe480f4ac3c35cc.tar.xz
samba-9832a5e593691695d88bbb17bfe480f4ac3c35cc.zip
svcctl: add ENUM_SERVICE_STATUSW and ENUM_SERVICE_STATUSA.
Guenther
Diffstat (limited to 'librpc')
-rw-r--r--librpc/idl/svcctl.idl12
1 files changed, 9 insertions, 3 deletions
diff --git a/librpc/idl/svcctl.idl b/librpc/idl/svcctl.idl
index 5f04d91f171..ea7d10e5e60 100644
--- a/librpc/idl/svcctl.idl
+++ b/librpc/idl/svcctl.idl
@@ -56,11 +56,17 @@ import "misc.idl", "security.idl";
uint32 service_flags;
} SERVICE_STATUS_PROCESS;
- typedef struct {
+ typedef [public,gensize] struct {
+ [relative] nstring *service_name;
+ [relative] nstring *display_name;
+ SERVICE_STATUS status;
+ } ENUM_SERVICE_STATUSW;
+
+ typedef [public,gensize] struct {
[relative] astring *service_name;
[relative] astring *display_name;
SERVICE_STATUS status;
- } ENUM_SERVICE_STATUS;
+ } ENUM_SERVICE_STATUSA;
const int SERVICE_TYPE_KERNEL_DRIVER = 0x01;
const int SERVICE_TYPE_FS_DRIVER = 0x02;
@@ -467,7 +473,7 @@ import "misc.idl", "security.idl";
WERROR svcctl_EnumDependentServicesA(
[in,ref] policy_handle *service,
[in] uint32 state,
- [out,unique] ENUM_SERVICE_STATUS *service_status,
+ [out,unique] ENUM_SERVICE_STATUSA *service_status,
[in] uint32 buf_size,
[out,ref] uint32 *bytes_needed,
[out,ref] uint32 *services_returned