/******************************************************************************/
/**
 *
 * @file            APSTable_api.h
 *
 * @brief
 *
 * @note            Copyright (c) 2005 Sunplus Technology Co., Ltd.\n
 *                  All rights reserved.
 * @author
******************************************************************************/
#ifndef __AL_APS_TABLE_API_H_
#define __AL_APS_TABLE_API_H_

#include "al_area_info.h"

typedef struct
{
    al_uint16      wVPS;
    al_uint16      wCNI1; /* 830 Format1 */
    al_uint16      wCNI2; /* 830 Format2 */
} Cni_Data_t;

/******************************************************************************/
/**
 * @brief       Sorting the channel
 *
 * @param       CountryNumber  0:German 1:UK 2:Austria 3:France 4:Greece       \n
 *                             5:Italy 6:Spain 0xff:others                     \n
 *
 * @return      AL_SUCCESS on success
 * 				AL_ERR_INVALID_PARAM if any of the parameters is invalid
 *
 ******************************************************************************/
AL_Return_t AL_APS_SortingByCountry(AL_AreaIndex_en bCountryNumber, al_uint8 u8Lang);

AL_Return_t AL_CNIInit(void);

void AL_GetCNI(Cni_Data_t* pstCniData, al_uint8 bChnNumber, al_uint32 dFreq, al_uint8* pbGetChannelName);
#endif /*__AL_APS_TABLE_API_H_*/

