
#ifndef	_SMPP_DEF_h
#define	_SMPP_DEF_h

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

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

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

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

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

BYTE	smpp_msg[MAX_PACKET_SIZE];

BYTE 	smpp_system_no;

#endif



