// // Copyright (c) 2014 Wind River Systems, Inc. // // SPDX-License-Identifier: Apache-2.0 // #ifndef __SM_SERVICE_DOMAIN_WAITING_STATE_H__ #define __SM_SERVICE_DOMAIN_WAITING_STATE_H__ #include "sm_types.h" #include "sm_service_domain_table.h" #ifdef __cplusplus extern "C" { #endif // **************************************************************************** // Service Domain Waiting State - Entry // ==================================== extern SmErrorT sm_service_domain_waiting_state_entry( SmServiceDomainT* domain ); // **************************************************************************** // **************************************************************************** // Service Domain Waiting State - Exit // =================================== extern SmErrorT sm_service_domain_waiting_state_exit( SmServiceDomainT* domain ); // **************************************************************************** // **************************************************************************** // Service Domain Waiting State - Transition // ========================================= extern SmErrorT sm_service_domain_waiting_state_transition( SmServiceDomainT* domain, SmServiceDomainStateT from_state ); // **************************************************************************** // **************************************************************************** // Service Domain Waiting State - Event Handler // ============================================ extern SmErrorT sm_service_domain_waiting_state_event_handler( SmServiceDomainT* domain, SmServiceDomainEventT event, void* event_data[] ); // **************************************************************************** // **************************************************************************** // Service Domain Waiting State - Initialize // ========================================= extern SmErrorT sm_service_domain_waiting_state_initialize( void ); // **************************************************************************** // **************************************************************************** // Service Domain Waiting State - Finalize // ======================================= extern SmErrorT sm_service_domain_waiting_state_finalize( void ); // **************************************************************************** #ifdef __cplusplus } #endif #endif // __SM_SERVICE_DOMAIN_WAITING_STATE_H__