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

CabHeader.h « Cab « Archive « 7zip « CPP - github.com/kornelski/7z.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 9ec0760ad1342a720fa768e6579cdc501d97f1cb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
// Archive/Cab/Header.h

#ifndef __ARCHIVE_CAB_HEADER_H
#define __ARCHIVE_CAB_HEADER_H

#include "../../../Common/MyTypes.h"

namespace NArchive {
namespace NCab {
namespace NHeader {

const unsigned kMarkerSize = 8;
extern Byte kMarker[kMarkerSize];

namespace NArcFlags
{
  const unsigned kPrevCabinet = 1;
  const unsigned kNextCabinet = 2;
  const unsigned kReservePresent = 4;
}

namespace NMethod
{
  const Byte kNone = 0;
  const Byte kMSZip = 1;
  const Byte kQuantum = 2;
  const Byte kLZX = 3;
}

const unsigned kFileNameIsUtf8_Mask = 0x80;

namespace NFolderIndex
{
  const unsigned kContinuedFromPrev    = 0xFFFD;
  const unsigned kContinuedToNext      = 0xFFFE;
  const unsigned kContinuedPrevAndNext = 0xFFFF;
}

}}}

#endif