/******************************************************************************************
 * File Name	: TSDCommon.h
 * Created		: 08/09/16
 * Author	   : ChenWei
 * Model			: TSD
 * Description	:
 ******************************************************************************************/

#ifndef TSDCOMMON_H_
#define TSDCOMMON_H_

#define AUTO_CONNECT_DISCONNECT

//#define STARTONCE

#define CAROOT "/etc/SES/cacert.pem"
#define CAROOTNEW "/etc/SES/cacertnew.pem"
#define PRIVATE_KEY "/etc/SES/sslserverkey.pem"
#define PRIVATE_KEYNEW "/etc/SES/sslserverkeynew.pem"
#define CERTIFICATE "/etc/SES/sslservercert.pem"
#define CERTIFICATENEW "/etc/SES/sslservercertnew.pem"
//#define PRIVATE_KEY "/etc/SES/sslserverNokey.pem"
#define NEWCAPATH "/etc/SES/"

#define CACERT "/cacert.pem"
#define SERVERKEY "/sslserverkey.pem"
#define SERVERCERT "/sslservercert.pem"

#define SESPATH "/etc/SES"
//#define CERTIFICATE "/etc/SES/dummy.pem"
//#define PRIVATE_KEY "/etc/SES/key.pem"
#define DELSTUDENT_TIMEOUT 0
#define STUDENT_TIMEOUT 10
#define STUDENTMGR_THREAD_GRP 66
#define REGMGR_THREAD_GRP 33
#define STUDENT_TIMEOUT_MESSAGE -1
#define MAX_NUMBER_OF_HANDLES 1000
#define RECVTIMEOUT 10

#define ADDRESSINUSE 89



#endif
/*TSDCOMMON_H_*/
