17c909ec83
Signed-off-by: Dean Troyer <dtroyer@gmail.com>
60 lines
2.2 KiB
C
60 lines
2.2 KiB
C
//
|
|
// Copyright (c) 2014 Wind River Systems, Inc.
|
|
//
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
//
|
|
#ifndef __SM_SERVICE_DISABLED_STATE_H__
|
|
#define __SM_SERVICE_DISABLED_STATE_H__
|
|
|
|
#include "sm_types.h"
|
|
#include "sm_service_table.h"
|
|
#include "sm_service_fsm.h"
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
// ****************************************************************************
|
|
// Service Disabled State - Entry
|
|
// ==============================
|
|
extern SmErrorT sm_service_disabled_state_entry( SmServiceT* service );
|
|
// ****************************************************************************
|
|
|
|
// ****************************************************************************
|
|
// Service Disabled State - Exit
|
|
// =============================
|
|
extern SmErrorT sm_service_disabled_state_exit( SmServiceT* service );
|
|
// ****************************************************************************
|
|
|
|
// ****************************************************************************
|
|
// Service Disabled State - Transition
|
|
// ===================================
|
|
extern SmErrorT sm_service_disabled_state_transition( SmServiceT* service,
|
|
SmServiceStateT from_state );
|
|
// ****************************************************************************
|
|
|
|
// ****************************************************************************
|
|
// Service Disabled State - Event Handler
|
|
// ======================================
|
|
extern SmErrorT sm_service_disabled_state_event_handler(
|
|
SmServiceT* service, SmServiceEventT event, void* event_data[] );
|
|
// ****************************************************************************
|
|
|
|
// ****************************************************************************
|
|
// Service Disabled State - Initialize
|
|
// ===================================
|
|
extern SmErrorT sm_service_disabled_state_initialize( void );
|
|
// ****************************************************************************
|
|
|
|
// ****************************************************************************
|
|
// Service Disabled State - Finalize
|
|
// =================================
|
|
extern SmErrorT sm_service_disabled_state_finalize( void );
|
|
// ****************************************************************************
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif // __SM_SERVICE_DISABLED_STATE_H__
|