realtek-doc/sources/rtk-gp3000/include/dal/ca8277b/dal_ca8277b_mapper.h
2025-12-04 22:26:46 +05:00

75 lines
No EOL
1.2 KiB
C
Executable file

/*
* Copyright(c) Realtek Semiconductor Corporation, 2011
* All rights reserved.
*
* Purpose : Enterprise Switch RTK API mapper table
*
* Feature :
*
*/
#ifndef __DAL_CA8277B_MAPPER_H__
#define __DAL_CA8277B_MAPPER_H__
/*
* Include Files
*/
#include <common/rt_type.h>
#include <common/rt_error.h>
#include <dal/dal_mapper.h>
/*
* Symbol Definition
*/
/*
* Data Declaration
*/
//extern dal_mapper_t dal_ca8277b_mapper;
/*
* Macro Declaration
*/
/*
* Function Declaration
*/
/* Module Name : */
/* Function Name:
* dal_ca8277b_init
* Description:
* Initilize DAL of enterprise switch
* Input:
* None
* Output:
* None
* Return:
* RT_ERR_FAILED - initialize fail
* RT_ERR_OK - initialize success
* Note:
* RTK must call this function before do other kind of action.
*/
extern int32
dal_ca8277b_init(void);
/* Function Name:
* dal_ca8277b_mapper_get
* Description:
* Get DAL mapper function
* Input:
* None
* Output:
* None
* Return:
* dal_mapper_t * - mapper pointer
* Note:
*/
extern dal_mapper_t *dal_ca8277b_mapper_get(void);
extern void dal_ca8277b_mapper_register(dal_mapper_t *pMapper);
#endif /* __DAL_CA8277B_MAPPER_H__ */