/** * Copyright(c) 2011 Sunmedia Technologies - All Rights Reserved. * * @file * macros, declarations and definitions for LCN Process. * * @author jun.luo * */ #ifndef _DB_LCN_H_ #define _DB_LCN_H_ #include "db_common.h" #include "cdbi.h" #ifdef __cplusplus extern "C"{ #endif #define HAS_LCN(ProgNum) (ProgNum & (DB_DVB_LCN_INDICATOR | DB_DVB_LCN2_INDICATOR)) #define HAS_NORDIGV2_LCN(ProgNum) (ProgNum & DB_DVB_LCN2_INDICATOR) #define GET_LCN(ProgNum) (ProgNum & ~(DB_DVB_LCN_INDICATOR | DB_DVB_LCN2_INDICATOR)) /* Exported constants */ enum { DB_DVB_MAX_LCN_CONF_PROG = 10, /**< Define the max number of program have the same LCN number */ DB_DVB_LCN_INDICATOR = 0x8000, /**