diff options
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 */ |