diff options
author | Günther Deschner <gd@samba.org> | 2009-01-08 13:23:59 +0100 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2009-01-08 13:24:22 +0100 |
commit | 50721b485f4322a2cd8688740bc1de3f754a7c05 (patch) | |
tree | 57e2fa2d084bbbb481868b3b0d472f1e35a97747 /source3/include | |
parent | 490a14068e8c1e88fcf701dfcc89ecdae9cada2a (diff) | |
download | samba-50721b485f4322a2cd8688740bc1de3f754a7c05.tar.gz samba-50721b485f4322a2cd8688740bc1de3f754a7c05.tar.bz2 samba-50721b485f4322a2cd8688740bc1de3f754a7c05.zip |
s3-svcctl: use pidl based struct SERVICE_STATUS.
Guenther
Diffstat (limited to 'source3/include')
-rw-r--r-- | source3/include/rpc_svcctl.h | 8 | ||||
-rw-r--r-- | source3/include/services.h | 4 |
2 files changed, 3 insertions, 9 deletions
diff --git a/source3/include/rpc_svcctl.h b/source3/include/rpc_svcctl.h index 2b30bfbfb1..b12cecb56c 100644 --- a/source3/include/rpc_svcctl.h +++ b/source3/include/rpc_svcctl.h @@ -47,16 +47,10 @@ /* utility structures for RPCs */ -/* - * "struct SERVICE_STATUS" comes from librpc/gen_ndr/svcctl.h - */ - -typedef struct SERVICE_STATUS SERVICE_STATUS; - typedef struct { UNISTR servicename; UNISTR displayname; - SERVICE_STATUS status; + struct SERVICE_STATUS status; } ENUM_SERVICES_STATUS; /* rpc structures */ diff --git a/source3/include/services.h b/source3/include/services.h index fd14be1dad..f746f0c8df 100644 --- a/source3/include/services.h +++ b/source3/include/services.h @@ -30,9 +30,9 @@ typedef struct { /* functions for enumerating subkeys and values */ - WERROR (*stop_service)( const char *service, SERVICE_STATUS *status ); + WERROR (*stop_service)( const char *service, struct SERVICE_STATUS *status ); WERROR (*start_service) ( const char *service ); - WERROR (*service_status)( const char *service, SERVICE_STATUS *status ); + WERROR (*service_status)( const char *service, struct SERVICE_STATUS *status ); } SERVICE_CONTROL_OPS; /* structure to store the service handle information */ |