ha/service-mgmt/sm-1.0.0/src/sm_service_enabled_go_standby_state.h
Dean Troyer 17c909ec83 StarlingX open source release updates
Signed-off-by: Dean Troyer <dtroyer@gmail.com>
2018-05-31 07:36:26 -07:00

62 lines
2.4 KiB
C

//
// Copyright (c) 2014 Wind River Systems, Inc.
//
// SPDX-License-Identifier: Apache-2.0
//
#ifndef __SM_SERVICE_ENABLED_GO_STANDBY_STATE_H__
#define __SM_SERVICE_ENABLED_GO_STANDBY_STATE_H__
#include "sm_types.h"
#include "sm_service_table.h"
#include "sm_service_fsm.h"
#ifdef __cplusplus
extern "C" {
#endif
// ****************************************************************************
// Service Enabled Go-Standby State - Entry
// ========================================
extern SmErrorT sm_service_enabled_go_standby_state_entry(
SmServiceT* service );
// ****************************************************************************
// ****************************************************************************
// Service Enabled Go-Standby State - Exit
// =======================================
extern SmErrorT sm_service_enabled_go_standby_state_exit(
SmServiceT* service );
// ****************************************************************************
// ****************************************************************************
// Service Enabled Go-Standby State - Transition
// =============================================
extern SmErrorT sm_service_enabled_go_standby_state_transition(
SmServiceT* service, SmServiceStateT from_state );
// ****************************************************************************
// ****************************************************************************
// Service Enabled Go-Standby State - Event Handler
// ================================================
extern SmErrorT sm_service_enabled_go_standby_state_event_handler(
SmServiceT* service, SmServiceEventT event, void* event_data[] );
// ****************************************************************************
// ****************************************************************************
// Service Enabled Go-Standby State - Initialize
// =============================================
extern SmErrorT sm_service_enabled_go_standby_state_initialize( void );
// ****************************************************************************
// ****************************************************************************
// Service Enabled Go-Standby State - Finalize
// ===========================================
extern SmErrorT sm_service_enabled_go_standby_state_finalize( void );
// ****************************************************************************
#ifdef __cplusplus
}
#endif
#endif // __SM_SERVICE_ENABLED_GO_STANDBY_STATE_H__