28 #ifndef SYSTEM_CORE_INC_KERNEL_OC_SERVICEMAN_H_ 29 #define SYSTEM_CORE_INC_KERNEL_OC_SERVICEMAN_H_ 31 #include <oc_errors.h> 39 #define _________________________________________PROTOTYPES_SECTION_________________________________________________________________________ 50 #undef _________________________________________PROTOTYPES_SECTION_________________________________________________________________________ oC_ErrorCode_t oC_ServiceMan_TurnOff(void)
turns off Service Manager
bool oC_ServiceMan_IsServiceActive(const char *Name)
checks if the given service is activated
oC_ErrorCode_t oC_ServiceMan_StopService(const char *Name)
stops the given service
oC_ErrorCode_t oC_ServiceMan_StartService(const char *Name)
starts the given service
oC_ErrorCode_t oC_ServiceMan_TurnOn(void)
turns on Service Manager
oC_Service_t oC_ServiceMan_GetService(const char *Name)
returns service with the given name
interface for handling services
void oC_ServiceMan_StartAllPossible(void)
starts all services
void oC_ServiceMan_StopAllPossible(void)
stops all services