view 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 source
1 // Archive/Tar/Header.h
3 #include "StdAfx.h"
5 #include "TarHeader.h"
7 namespace NArchive {
8 namespace NTar {
9 namespace NFileHeader {
11 // The checksum field is filled with this while the checksum is computed.
12 const char *kCheckSumBlanks = " "; // 8 blanks, no null
14 const char *kLongLink = "././@LongLink";
15 const char *kLongLink2 = "@LongLink";
17 // The magic field is filled with this if uname and gname are valid.
18 namespace NMagic
19 {
20 const char *kUsTar = "ustar"; // 5 chars
21 const char *kGNUTar = "GNUtar "; // 7 chars and a null
22 const char *kEmpty = "\0\0\0\0\0\0\0\0"; // 7 chars and a null
23 }
25 }}}