Welcome to mirror list, hosted at ThFree Co, Russian Federation.

encname.hpp « Original « Rar29 « Compress « 7zip - github.com/kornelski/7z.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 586f4216f1652e37677c7d4192461ef48dcba3d8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#ifndef _RAR_ENCNAME_
#define _RAR_ENCNAME_

class EncodeFileName
{
  private:
    void AddFlags(int Value);

    byte *EncName;
    byte Flags;
    int FlagBits;
    int FlagsPos;
    int DestSize;
  public:
    EncodeFileName();
    int Encode(char *Name,wchar *NameW,byte *EncName);
    void Decode(char *Name,byte *EncName,int EncSize,wchar *NameW,int MaxDecSize);
};

#endif