#ifndef	_SMPP_EXT_h
#define	_SMPP_EXT_h

extern SMPP_CALLBACK		callBackFunc[MAX_SMPP_LINK];
extern SMPP_PARAM			smpp_param[MAX_SMPP_LINK];
extern SMPP_LINK			smpp_link[MAX_SMPP_LINK];
extern struct SocketsInUse	Mysock;
extern SMPP_DEBUG_STRUCT	smppDebug;

extern BYTE		exterEvent[MAX_SMPP_LINK][CMD_BUF_SIZE];
extern BYTE		interEvent[MAX_SMPP_LINK][CMD_BUF_SIZE];
extern BYTE		exter_head[MAX_SMPP_LINK];
extern BYTE		exter_tail[MAX_SMPP_LINK];
extern BYTE		inter_head[MAX_SMPP_LINK];
extern BYTE		inter_tail[MAX_SMPP_LINK];

extern BYTE		smpp_state[MAX_SMPP_LINK];
extern BYTE		smpp_hearbeat_status[MAX_SMPP_LINK/4];
extern BYTE		interface_mode[MAX_SMPP_LINK];
extern BYTE		data_mode[MAX_SMPP_LINK];

extern BYTE		linkAttachFlag[MAX_SMPP_LINK];
extern BYTE		smpp_TCPClientFlag[MAX_SMPP_LINK];
extern char		smpp_debug_asciiIn[MAX_ASCIN_BUF_LEN];
extern char		smpp_debug_asciiOut[MAX_ASCOUT_BUF_LEN];
extern BYTE		smppDebugFull;

extern BYTE		src_ref[MAX_SMPP_LINK];
extern BYTE		dst_ref[MAX_SMPP_LINK];

extern BYTE		smpp_msg[MAX_PACKET_SIZE];

extern BYTE 	smpp_system_no;

#endif



