MString MTime::date(const VString line, unsigned int tm, bool gmt, bool eng, BYTE c){ if(tm!=-1) mtime(tm, gmt); else mtime(time(), gmt); if(!year) mtime(time(), gmt); MString ret; ret.Reserv(rpmf_date(0, 0, line, tm, gmt, eng, c)); rpmf_date(ret, ret, line, tm, gmt, eng, c); return ret; }
MString GetHashBin(){MString ret; ret.Reserv(16); /*if(thissize>=datasize) cach[16]=4; else if(thislevel) cach[16]=(unsigned char)thislevel; else cach[16]=0;*/ memcpy(ret, &cach, 16); return ret; }