Lines Matching refs:newcstruct
123 CreditStruct* newcstruct = new CreditStruct();
125 newcstruct->key = file.ReadHash();
126 newcstruct->uploaded = file.ReadUInt32();
127 newcstruct->downloaded = file.ReadUInt32();
128 newcstruct->nLastSeen = file.ReadUInt32();
129 newcstruct->uploaded += static_cast<uint64>(file.ReadUInt32()) << 32;
130 newcstruct->downloaded += static_cast<uint64>(file.ReadUInt32()) << 32;
131 newcstruct->nReserved3 = file.ReadUInt16();
132 newcstruct->nKeySize = file.ReadUInt8();
133 file.Read(newcstruct->abySecureIdent, MAXPUBKEYSIZE);
135 if ( newcstruct->nKeySize > MAXPUBKEYSIZE ) {
139 delete newcstruct;
148 if (newcstruct->nLastSeen < dwExpired){
150 delete newcstruct;
154 CClientCredits* newcredits = new CClientCredits(newcstruct);
465 CreditStruct* newcstruct = new CreditStruct();
466 CClientCredits newcredits(newcstruct);