#ifndef _MTP3LITE_H
#define _MTP3LITE_H

#include "mtp3lite_pub.h"

typedef struct _mtp3lite_lk
{
	int		connfd;
	int  	cliSockfd;
	WORD	remote_port;
	WORD	local_inactive;
	WORD	local_reconnect;
	WORD	remote_inactive;
	BYTE	remote_inactive_timeouts;
	WORD	init_guard_timer;
}mtp3lite_lk;

void mtp3lite_init(void);
void mtp3lite_timer(void);

int put_mtp3lite_msg(BYTE *msg_ptr);

#define MTP3LITE_TCP_FAILURE		16
#define MTP3LITE_INACTIVITY_TIMEOUT	17

#define MTP3LITE_MSG_BUF_SIZE_PER_LINK	1024

#endif
