#ifndef _MGCP_EXT__H
#define _MGCP_EXT__H

#include "mgcp_pub.h"
#include "mgcp.h"
#include "mgcp_const.h"
#include "mgcp_struct.h"

extern MGCP_SAP		mgcpSap[MGCP_MAX_NUM_OF_SAP];
extern MGCP_PORT	mgcpPort[MGCP_MAX_NUM_OF_PORT];
extern WORD			mgcpTransStart[MGCP_MAX_NUM_OF_PORT];

extern WORD			mgcpPortSelect;

extern char			mgcpCmdToStr[8][5];
extern char			mgcpConModeToStr[4][9];

extern char			mgcpPkgToStr[MGCP_PACKAGE_MAX][8];
extern char		    mgcpAalnSigToStr[MGCP_PACKAGE_MAX][MGCP_PKG_AALN_SIG_MAX][16];

extern char    mgcpEntToStr[MGCP_PACKAGE_MAX][MGCP_ENT_MAX][16];

extern char    mgcpRestModToStr[MGCP_REST_MOD_MAX][8];

extern BYTE	   mgcpMaxPkgSig[MGCP_PACKAGE_MAX];
extern BYTE    mgcpMaxPkgEvent[MGCP_PACKAGE_MAX];

extern message_list 	mgcpSdMsg;
extern message_list 	mgcpRvMsg;

extern MGCP_PARA    mgcpRespPara;

extern MGCP_RET_CODE	mgcpRetCode[MGCP_MAX_RET_CODE_INDEX];

extern BYTE				mgcpAsciInBuf[MGCP_MAX_ASCIIIN_LEN];
extern BYTE				mgcpAsciOutBuf[MGCP_MAX_ASCIIOUT_LEN];
extern BYTE				mgcpAsciTempBuf[MGCP_MAX_ASCITMP_LEN];
extern WORD				mgcpMonitorFg;

extern char		dbgmgNamemg[3][MGCP_MAX_MG_NAME_LEN];

#endif
