24 lines
555 B
C++
24 lines
555 B
C++
|
// Archive/TarHeader.cpp
|
||
|
|
||
|
#include "StdAfx.h"
|
||
|
|
||
|
#include "TarHeader.h"
|
||
|
|
||
|
namespace NArchive {
|
||
|
namespace NTar {
|
||
|
namespace NFileHeader {
|
||
|
|
||
|
const char *kLongLink = "././@LongLink";
|
||
|
const char *kLongLink2 = "@LongLink";
|
||
|
|
||
|
// The magic field is filled with this if uname and gname are valid.
|
||
|
namespace NMagic
|
||
|
{
|
||
|
// const char *kUsTar = "ustar"; // 5 chars
|
||
|
// const char *kGNUTar = "GNUtar "; // 7 chars and a null
|
||
|
// const char *kEmpty = "\0\0\0\0\0\0\0\0";
|
||
|
const char kUsTar_00[8] = { 'u', 's', 't', 'a', 'r', 0, '0', '0' } ;
|
||
|
}
|
||
|
|
||
|
}}}
|