lastCheck.Set();
}
bool nokey=now+2*3600>last;
-/*
- if(lastLoad.Elapsed()>(nokey ? LOADBIN_TIME/60 : LOADBIN_TIME)) {
+ if(tpsAuMode==AU_TPSBIN && lastLoad.Elapsed()>(nokey ? LOADBIN_TIME/60 : LOADBIN_TIME)) {
PRINTF(L_SYS_TPSAU,"loading "TPSBIN" triggered");
LoadBin();
if(now>0) Purge(now);
lastLoad.Set();
}
-*/
if(tpsAuMode==AU_STREAM && lastAu.Elapsed()>(nokey ? TPSAU_TIME/60 : TPSAU_TIME)) {
if(ScSetup.AutoUpdate>0) {
PRINTF(L_SYS_TPSAU,"TPS AU triggered");
return res;
}
-/*
bool cTpsKeys::LoadBin(void)
{
static const unsigned char mark[] = { 'T','P','S',0 };
*((unsigned int *)out)=(var1<<(i+2)) | (var1>>(32-(i+2)));
}
}
-*/
void cTpsKeys::PreLoad(void)
{
void Join(cSimpleList<cTpsKey> *nlist);
void Purge(time_t now);
void GetFirstLast(void);
-// bool LoadBin(void);
-// void DecryptBin(const unsigned char *in, unsigned char *out);
+ bool LoadBin(void);
+ void DecryptBin(const unsigned char *in, unsigned char *out);
cString Time(time_t t);
bool ProcessAu(const cOpenTVModule *mod);
protected: