#ifndef _CHSMD_EXTERN_H_
#define _CHSMD_EXTERN_H_

#include <chsmd_def.h>
extern int		SystemNo;

extern char 	proc[];
extern int 		lastpid[];


extern int      JiSTOPFlag;
extern int      FinishFlag;

extern int 		dMyQid;
extern int 		dFstatdQid;
extern int 		dMmcdQid;
extern int 		dCSvcQid;
extern int 		dSSQid;
extern int		dCondQid;
extern int		dAlmdQid;
extern int		dGCISvcQid;
extern int		dGSISvcQid;
extern int		dSISVCQid;

extern long long 	llBack_NID;
extern long long 	llCurNID;

extern char    szDBTSName[MAX_DB_COM][32];
extern char 	szTafDisk[NUMOFDISK][1024];
extern char 	szTafNet[NUMOFNET][1024];
extern char 	szDisk[NUMOFDISK][1024];
extern int 		dDisk;
extern char 	net[NUMOFNET];
extern char 	szNet[NUMOFNET][1024];
extern int 		dNet;
extern int 		errno;

extern int		dbflag;
extern int 		g_dProcCnt;
extern char 	*szProcName[MAX_SW_COM];

extern char 	oldcpu[DEF_CPU_ALM_CNT];
extern char     oldAlmLevel[MAX_STATUS_COM];

//extern struct st_AType 	stAType[ATTRCNT];


extern char    AlmClass[MAX_STATUS_COM];
extern char    AlmClassSW[MAX_STATUS_COM];
extern char    AlmClassHW[2];
extern char    AlmClassLOADCRI[4];
extern char    AlmClassLOADWARN[4];
extern char    AlmClassCHNL[2];

extern char 	SmsName[64];

#endif
