ha/service-mgmt/sm/src/sm_service_group_shutdown_s...

63 lines
2.4 KiB
C

//
// Copyright (c) 2014 Wind River Systems, Inc.
//
// SPDX-License-Identifier: Apache-2.0
//
#ifndef __SM_SERVICE_GROUP_SHUTDOWN_STATE_H__
#define __SM_SERVICE_GROUP_SHUTDOWN_STATE_H__
#include "sm_types.h"
#include "sm_service_group_table.h"
#include "sm_service_group_fsm.h"
#ifdef __cplusplus
extern "C" {
#endif
// ****************************************************************************
// Service Group Shutdown State - Entry
// ====================================
extern SmErrorT sm_service_group_shutdown_state_entry(
SmServiceGroupT* service_group );
// ****************************************************************************
// ****************************************************************************
// Service Group Shutdown State - Exit
// ===================================
extern SmErrorT sm_service_group_shutdown_state_exit(
SmServiceGroupT* service_group );
// ****************************************************************************
// ****************************************************************************
// Service Group Shutdown State - Transition
// =========================================
extern SmErrorT sm_service_group_shutdown_state_transition(
SmServiceGroupT* service_group, SmServiceGroupStateT from_state );
// ****************************************************************************
// ****************************************************************************
// Service Group Shutdown State - Event Handler
// ============================================
extern SmErrorT sm_service_group_shutdown_state_event_handler(
SmServiceGroupT* service_group, SmServiceGroupEventT event,
void* event_data[] );
// ****************************************************************************
// ****************************************************************************
// Service Group Shutdown State - Initialize
// =========================================
extern SmErrorT sm_service_group_shutdown_state_initialize( void );
// ****************************************************************************
// ****************************************************************************
// Service Group Shutdown State - Finalize
// =======================================
extern SmErrorT sm_service_group_shutdown_state_finalize( void );
// ****************************************************************************
#ifdef __cplusplus
}
#endif
#endif // __SM_SERVICE_GROUP_SHUTDOWN_STATE_H__