Mercurial > vba-clojure
diff src/win32/7zip/7z/CPP/7zip/Archive/Tar/TarHeader.cpp @ 1:f9f4f1b99eed
importing src directory
author | Robert McIntyre <rlm@mit.edu> |
---|---|
date | Sat, 03 Mar 2012 10:31:27 -0600 |
parents | |
children |
line wrap: on
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/src/win32/7zip/7z/CPP/7zip/Archive/Tar/TarHeader.cpp Sat Mar 03 10:31:27 2012 -0600 1.3 @@ -0,0 +1,25 @@ 1.4 +// Archive/Tar/Header.h 1.5 + 1.6 +#include "StdAfx.h" 1.7 + 1.8 +#include "TarHeader.h" 1.9 + 1.10 +namespace NArchive { 1.11 +namespace NTar { 1.12 +namespace NFileHeader { 1.13 + 1.14 + // The checksum field is filled with this while the checksum is computed. 1.15 + const char *kCheckSumBlanks = " "; // 8 blanks, no null 1.16 + 1.17 + const char *kLongLink = "././@LongLink"; 1.18 + const char *kLongLink2 = "@LongLink"; 1.19 + 1.20 + // The magic field is filled with this if uname and gname are valid. 1.21 + namespace NMagic 1.22 + { 1.23 + const char *kUsTar = "ustar"; // 5 chars 1.24 + const char *kGNUTar = "GNUtar "; // 7 chars and a null 1.25 + const char *kEmpty = "\0\0\0\0\0\0\0\0"; // 7 chars and a null 1.26 + } 1.27 + 1.28 +}}}