FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
unrar/headers.cpp at main · aawc/unrar · GitHub
This repository was archived by the owner on Feb 12, 2026. It is now read-only.
aawc
/
unrar
Public archive
Notifications
You must be signed in to change notification settings
Fork
35
Star
56
Code
Issues
0
Pull requests
2
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
unrar
/
headers.cpp
Copy path
More file actions
More file actions
Latest commit
History
History
History
55 lines (45 loc) · 859 Bytes
Breadcrumbs
unrar
/
headers.cpp
Copy path
File metadata and controls
55 lines (45 loc) · 859 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
#
include
"
rar.hpp
"
void
FileHeader::Reset
(
size_t
SubDataSize)
{
SubData.
resize
(SubDataSize);
BaseBlock::Reset
();
FileHash.
Init
(
HASH_NONE
);
mtime.
Reset
();
atime.
Reset
();
ctime.
Reset
();
SplitBefore=
false
;
SplitAfter=
false
;
UnknownUnpSize=
0
;
SubFlags=
0
;
//
Important for RAR 3.0 subhead.
CryptMethod=
CRYPT_NONE
;
Encrypted=
false
;
SaltSet=
false
;
UsePswCheck=
false
;
UseHashKey=
false
;
Lg2Count=
0
;
Solid=
false
;
Dir=
false
;
WinSize=
0
;
Inherited=
false
;
SubBlock=
false
;
CommentInHeader=
false
;
Version=
false
;
LargeFile=
false
;
RedirType=
FSREDIR_NONE
;
DirTarget=
false
;
UnixOwnerSet=
false
;
}
/*
FileHeader& FileHeader::operator = (FileHeader &hd)
{
SubData.Reset();
memcpy(this,&hd,sizeof(*this));
SubData.CleanData();
SubData=hd.SubData;
return *this;
}
*/
void
MainHeader::Reset
()
{
*
this
={};
}
Back
|
FazBrowse Home
|
New Git URL