
#ifndef __PASSWORD_H__
#define	__PASSWORD_H__


#include "config.h"



#define	PSWDSTR_LEN		20			// ΓάΒλ΄®³¤¶Θ


#define	NORMAL_MIN		1
#define	NORMAL_MAX		5000

#define	UNLOCK_MIN		5200
#define	UNLOCK_MAX		5300

#define	LOCK_MIN		5200
#define	LOCK_MAX		5300

#define	TIME_MUTI		6


typedef struct
{
	u32 clientId;
	u32 cpuId;
	int thishours;
	int totalhours;

	int nexttotaltime;
	int thistime;
	int totaltime;

	int rand1;
	int rand2;

}PswdCtrl;


int DecodePswdString(PswdCtrl * pCtrl, char * pswdStr, u8 clientId);


#endif



