17c909ec83
Signed-off-by: Dean Troyer <dtroyer@gmail.com>
61 lines
2.4 KiB
C
61 lines
2.4 KiB
C
//
|
|
// Copyright (c) 2014 Wind River Systems, Inc.
|
|
//
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
//
|
|
#ifndef __SM_SERVICE_DOMAIN_INITIAL_STATE_H__
|
|
#define __SM_SERVICE_DOMAIN_INITIAL_STATE_H__
|
|
|
|
#include "sm_types.h"
|
|
#include "sm_service_domain_table.h"
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
// ****************************************************************************
|
|
// Service Domain Initial State - Entry
|
|
// ====================================
|
|
extern SmErrorT sm_service_domain_initial_state_entry(
|
|
SmServiceDomainT* domain );
|
|
// ****************************************************************************
|
|
|
|
// ****************************************************************************
|
|
// Service Domain Initial State - Exit
|
|
// ===================================
|
|
extern SmErrorT sm_service_domain_initial_state_exit(
|
|
SmServiceDomainT* domain );
|
|
// ****************************************************************************
|
|
|
|
// ****************************************************************************
|
|
// Service Domain Initial State - Transition
|
|
// =========================================
|
|
extern SmErrorT sm_service_domain_initial_state_transition(
|
|
SmServiceDomainT* domain, SmServiceDomainStateT from_state );
|
|
// ****************************************************************************
|
|
|
|
// ****************************************************************************
|
|
// Service Domain Initial State - Event Handler
|
|
// ============================================
|
|
extern SmErrorT sm_service_domain_initial_state_event_handler(
|
|
SmServiceDomainT* domain, SmServiceDomainEventT event, void* event_data[] );
|
|
// ****************************************************************************
|
|
|
|
// ****************************************************************************
|
|
// Service Domain Initial State - Initialize
|
|
// =========================================
|
|
extern SmErrorT sm_service_domain_initial_state_initialize( void );
|
|
// ****************************************************************************
|
|
|
|
// ****************************************************************************
|
|
// Service Domain Initial State - Finalize
|
|
// =======================================
|
|
extern SmErrorT sm_service_domain_initial_state_finalize( void );
|
|
// ****************************************************************************
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif // __SM_SERVICE_DOMAIN_INITIAL_STATE_H__
|