mirror of https://github.com/Cisco-Talos/clamav
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
408 B
19 lines
408 B
#ifndef _RAR_ENCNAME_
|
|
#define _RAR_ENCNAME_
|
|
|
|
class EncodeFileName
|
|
{
|
|
private:
|
|
void AddFlags(byte Value,byte *EncName);
|
|
|
|
byte Flags;
|
|
uint FlagBits;
|
|
size_t FlagsPos;
|
|
size_t DestSize;
|
|
public:
|
|
EncodeFileName();
|
|
size_t Encode(char *Name,wchar *NameW,byte *EncName);
|
|
void Decode(char *Name,size_t NameSize,byte *EncName,size_t EncSize,wchar *NameW,size_t MaxDecSize);
|
|
};
|
|
|
|
#endif
|
|
|