2008-12-16 18:32:18 +03:00
# include "../librpc/gen_ndr/ndr_svcctl.h"
2006-09-20 20:32:29 +04:00
# ifndef __SRV_SVCCTL__
# define __SRV_SVCCTL__
2007-01-18 13:18:59 +03:00
WERROR _svcctl_CloseServiceHandle ( pipes_struct * p , struct svcctl_CloseServiceHandle * r ) ;
WERROR _svcctl_ControlService ( pipes_struct * p , struct svcctl_ControlService * r ) ;
WERROR _svcctl_DeleteService ( pipes_struct * p , struct svcctl_DeleteService * r ) ;
WERROR _svcctl_LockServiceDatabase ( pipes_struct * p , struct svcctl_LockServiceDatabase * r ) ;
WERROR _svcctl_QueryServiceObjectSecurity ( pipes_struct * p , struct svcctl_QueryServiceObjectSecurity * r ) ;
WERROR _svcctl_SetServiceObjectSecurity ( pipes_struct * p , struct svcctl_SetServiceObjectSecurity * r ) ;
WERROR _svcctl_QueryServiceStatus ( pipes_struct * p , struct svcctl_QueryServiceStatus * r ) ;
WERROR _svcctl_SetServiceStatus ( pipes_struct * p , struct svcctl_SetServiceStatus * r ) ;
WERROR _svcctl_UnlockServiceDatabase ( pipes_struct * p , struct svcctl_UnlockServiceDatabase * r ) ;
WERROR _svcctl_NotifyBootConfigStatus ( pipes_struct * p , struct svcctl_NotifyBootConfigStatus * r ) ;
WERROR _svcctl_SCSetServiceBitsW ( pipes_struct * p , struct svcctl_SCSetServiceBitsW * r ) ;
WERROR _svcctl_ChangeServiceConfigW ( pipes_struct * p , struct svcctl_ChangeServiceConfigW * r ) ;
WERROR _svcctl_CreateServiceW ( pipes_struct * p , struct svcctl_CreateServiceW * r ) ;
WERROR _svcctl_EnumDependentServicesW ( pipes_struct * p , struct svcctl_EnumDependentServicesW * r ) ;
WERROR _svcctl_EnumServicesStatusW ( pipes_struct * p , struct svcctl_EnumServicesStatusW * r ) ;
WERROR _svcctl_OpenSCManagerW ( pipes_struct * p , struct svcctl_OpenSCManagerW * r ) ;
WERROR _svcctl_OpenServiceW ( pipes_struct * p , struct svcctl_OpenServiceW * r ) ;
WERROR _svcctl_QueryServiceConfigW ( pipes_struct * p , struct svcctl_QueryServiceConfigW * r ) ;
WERROR _svcctl_QueryServiceLockStatusW ( pipes_struct * p , struct svcctl_QueryServiceLockStatusW * r ) ;
WERROR _svcctl_StartServiceW ( pipes_struct * p , struct svcctl_StartServiceW * r ) ;
WERROR _svcctl_GetServiceDisplayNameW ( pipes_struct * p , struct svcctl_GetServiceDisplayNameW * r ) ;
WERROR _svcctl_GetServiceKeyNameW ( pipes_struct * p , struct svcctl_GetServiceKeyNameW * r ) ;
WERROR _svcctl_SCSetServiceBitsA ( pipes_struct * p , struct svcctl_SCSetServiceBitsA * r ) ;
WERROR _svcctl_ChangeServiceConfigA ( pipes_struct * p , struct svcctl_ChangeServiceConfigA * r ) ;
WERROR _svcctl_CreateServiceA ( pipes_struct * p , struct svcctl_CreateServiceA * r ) ;
WERROR _svcctl_EnumDependentServicesA ( pipes_struct * p , struct svcctl_EnumDependentServicesA * r ) ;
WERROR _svcctl_EnumServicesStatusA ( pipes_struct * p , struct svcctl_EnumServicesStatusA * r ) ;
WERROR _svcctl_OpenSCManagerA ( pipes_struct * p , struct svcctl_OpenSCManagerA * r ) ;
WERROR _svcctl_OpenServiceA ( pipes_struct * p , struct svcctl_OpenServiceA * r ) ;
WERROR _svcctl_QueryServiceConfigA ( pipes_struct * p , struct svcctl_QueryServiceConfigA * r ) ;
WERROR _svcctl_QueryServiceLockStatusA ( pipes_struct * p , struct svcctl_QueryServiceLockStatusA * r ) ;
WERROR _svcctl_StartServiceA ( pipes_struct * p , struct svcctl_StartServiceA * r ) ;
WERROR _svcctl_GetServiceDisplayNameA ( pipes_struct * p , struct svcctl_GetServiceDisplayNameA * r ) ;
WERROR _svcctl_GetServiceKeyNameA ( pipes_struct * p , struct svcctl_GetServiceKeyNameA * r ) ;
WERROR _svcctl_GetCurrentGroupeStateW ( pipes_struct * p , struct svcctl_GetCurrentGroupeStateW * r ) ;
WERROR _svcctl_EnumServiceGroupW ( pipes_struct * p , struct svcctl_EnumServiceGroupW * r ) ;
WERROR _svcctl_ChangeServiceConfig2A ( pipes_struct * p , struct svcctl_ChangeServiceConfig2A * r ) ;
WERROR _svcctl_ChangeServiceConfig2W ( pipes_struct * p , struct svcctl_ChangeServiceConfig2W * r ) ;
WERROR _svcctl_QueryServiceConfig2A ( pipes_struct * p , struct svcctl_QueryServiceConfig2A * r ) ;
WERROR _svcctl_QueryServiceConfig2W ( pipes_struct * p , struct svcctl_QueryServiceConfig2W * r ) ;
WERROR _svcctl_QueryServiceStatusEx ( pipes_struct * p , struct svcctl_QueryServiceStatusEx * r ) ;
WERROR _EnumServicesStatusExA ( pipes_struct * p , struct EnumServicesStatusExA * r ) ;
WERROR _EnumServicesStatusExW ( pipes_struct * p , struct EnumServicesStatusExW * r ) ;
WERROR _svcctl_SCSendTSMessage ( pipes_struct * p , struct svcctl_SCSendTSMessage * r ) ;
2006-09-20 20:32:29 +04:00
void svcctl_get_pipe_fns ( struct api_struct * * fns , int * n_fns ) ;
2009-01-21 16:05:51 +03:00
NTSTATUS rpc_svcctl_dispatch ( struct rpc_pipe_client * cli , TALLOC_CTX * mem_ctx , const struct ndr_interface_table * table , uint32_t opnum , void * r ) ;
WERROR _svcctl_CloseServiceHandle ( pipes_struct * p , struct svcctl_CloseServiceHandle * r ) ;
WERROR _svcctl_ControlService ( pipes_struct * p , struct svcctl_ControlService * r ) ;
WERROR _svcctl_DeleteService ( pipes_struct * p , struct svcctl_DeleteService * r ) ;
WERROR _svcctl_LockServiceDatabase ( pipes_struct * p , struct svcctl_LockServiceDatabase * r ) ;
WERROR _svcctl_QueryServiceObjectSecurity ( pipes_struct * p , struct svcctl_QueryServiceObjectSecurity * r ) ;
WERROR _svcctl_SetServiceObjectSecurity ( pipes_struct * p , struct svcctl_SetServiceObjectSecurity * r ) ;
WERROR _svcctl_QueryServiceStatus ( pipes_struct * p , struct svcctl_QueryServiceStatus * r ) ;
WERROR _svcctl_SetServiceStatus ( pipes_struct * p , struct svcctl_SetServiceStatus * r ) ;
WERROR _svcctl_UnlockServiceDatabase ( pipes_struct * p , struct svcctl_UnlockServiceDatabase * r ) ;
WERROR _svcctl_NotifyBootConfigStatus ( pipes_struct * p , struct svcctl_NotifyBootConfigStatus * r ) ;
WERROR _svcctl_SCSetServiceBitsW ( pipes_struct * p , struct svcctl_SCSetServiceBitsW * r ) ;
WERROR _svcctl_ChangeServiceConfigW ( pipes_struct * p , struct svcctl_ChangeServiceConfigW * r ) ;
WERROR _svcctl_CreateServiceW ( pipes_struct * p , struct svcctl_CreateServiceW * r ) ;
WERROR _svcctl_EnumDependentServicesW ( pipes_struct * p , struct svcctl_EnumDependentServicesW * r ) ;
WERROR _svcctl_EnumServicesStatusW ( pipes_struct * p , struct svcctl_EnumServicesStatusW * r ) ;
WERROR _svcctl_OpenSCManagerW ( pipes_struct * p , struct svcctl_OpenSCManagerW * r ) ;
WERROR _svcctl_OpenServiceW ( pipes_struct * p , struct svcctl_OpenServiceW * r ) ;
WERROR _svcctl_QueryServiceConfigW ( pipes_struct * p , struct svcctl_QueryServiceConfigW * r ) ;
WERROR _svcctl_QueryServiceLockStatusW ( pipes_struct * p , struct svcctl_QueryServiceLockStatusW * r ) ;
WERROR _svcctl_StartServiceW ( pipes_struct * p , struct svcctl_StartServiceW * r ) ;
WERROR _svcctl_GetServiceDisplayNameW ( pipes_struct * p , struct svcctl_GetServiceDisplayNameW * r ) ;
WERROR _svcctl_GetServiceKeyNameW ( pipes_struct * p , struct svcctl_GetServiceKeyNameW * r ) ;
WERROR _svcctl_SCSetServiceBitsA ( pipes_struct * p , struct svcctl_SCSetServiceBitsA * r ) ;
WERROR _svcctl_ChangeServiceConfigA ( pipes_struct * p , struct svcctl_ChangeServiceConfigA * r ) ;
WERROR _svcctl_CreateServiceA ( pipes_struct * p , struct svcctl_CreateServiceA * r ) ;
WERROR _svcctl_EnumDependentServicesA ( pipes_struct * p , struct svcctl_EnumDependentServicesA * r ) ;
WERROR _svcctl_EnumServicesStatusA ( pipes_struct * p , struct svcctl_EnumServicesStatusA * r ) ;
WERROR _svcctl_OpenSCManagerA ( pipes_struct * p , struct svcctl_OpenSCManagerA * r ) ;
WERROR _svcctl_OpenServiceA ( pipes_struct * p , struct svcctl_OpenServiceA * r ) ;
WERROR _svcctl_QueryServiceConfigA ( pipes_struct * p , struct svcctl_QueryServiceConfigA * r ) ;
WERROR _svcctl_QueryServiceLockStatusA ( pipes_struct * p , struct svcctl_QueryServiceLockStatusA * r ) ;
WERROR _svcctl_StartServiceA ( pipes_struct * p , struct svcctl_StartServiceA * r ) ;
WERROR _svcctl_GetServiceDisplayNameA ( pipes_struct * p , struct svcctl_GetServiceDisplayNameA * r ) ;
WERROR _svcctl_GetServiceKeyNameA ( pipes_struct * p , struct svcctl_GetServiceKeyNameA * r ) ;
WERROR _svcctl_GetCurrentGroupeStateW ( pipes_struct * p , struct svcctl_GetCurrentGroupeStateW * r ) ;
WERROR _svcctl_EnumServiceGroupW ( pipes_struct * p , struct svcctl_EnumServiceGroupW * r ) ;
WERROR _svcctl_ChangeServiceConfig2A ( pipes_struct * p , struct svcctl_ChangeServiceConfig2A * r ) ;
WERROR _svcctl_ChangeServiceConfig2W ( pipes_struct * p , struct svcctl_ChangeServiceConfig2W * r ) ;
WERROR _svcctl_QueryServiceConfig2A ( pipes_struct * p , struct svcctl_QueryServiceConfig2A * r ) ;
WERROR _svcctl_QueryServiceConfig2W ( pipes_struct * p , struct svcctl_QueryServiceConfig2W * r ) ;
WERROR _svcctl_QueryServiceStatusEx ( pipes_struct * p , struct svcctl_QueryServiceStatusEx * r ) ;
WERROR _EnumServicesStatusExA ( pipes_struct * p , struct EnumServicesStatusExA * r ) ;
WERROR _EnumServicesStatusExW ( pipes_struct * p , struct EnumServicesStatusExW * r ) ;
WERROR _svcctl_SCSendTSMessage ( pipes_struct * p , struct svcctl_SCSendTSMessage * r ) ;
2006-09-20 20:32:29 +04:00
NTSTATUS rpc_svcctl_init ( void ) ;
# endif /* __SRV_SVCCTL__ */