#ifndef _MGC_EXT__H
#define _MGC_EXT__H

#include "mgc_pub.h"
#include "mgc.h"
#include "mgc_const.h"
#include "mgc_struct.h"

extern _8ECP_SAP	mgc8ecpSap;
extern MGCP_SAP		mgcMgcpSap;
extern int			mgc8ecpSapIndex;
extern int			mgcMgcpSapIndex;
extern MGC_SAP		mgcSap[MGC_MAX_NUM_OF_SAP];

extern MG_INFO			mgcMgInfo[MGC_MAX_NUM_OF_MG];
extern PHY_PORT_INFO	mgcPhyPort[MGC_MAX_NUM_OF_PHY_PORT];
extern CHNL_INFO		mgcChnl[MGC_MAX_NUM_OF_CHNL];
extern PORT_INFO		mgcPort[MGC_MAX_NUM_OF_PORT];

extern MGCP_PARA	mgcMgcpPara;

extern WORD			mgcMaxMgNo;
extern WORD			mgcMaxChlNo;

extern WORD			mgcMgCreated;
extern WORD			mgcChlAssigned;

extern CONNECT_INFO  mgcConnectInfo[MGC_MAX_NUM_OF_CON];

extern char			vcName[MGC_VCTYPE_MAX][16];

extern BYTE			mgcAsciInBuf[MGC_MAX_ASCIIIN_LEN];
extern BYTE			mgcAsciOutBuf[MGC_MAX_ASCIIOUT_LEN];
extern BYTE			mgcAsciTempBuf[MGC_MAX_ASCITMP_LEN];
extern WORD			mgcMonitorFg;

extern const WORD 		MGC_TONE_NO_TO_PKG_SIG[16];

#endif
