mirror of
https://github.com/Xevion/easy7zip.git
synced 2025-12-06 21:14:58 -06:00
33 lines
561 B
C++
Executable File
33 lines
561 B
C++
Executable File
// Tar/Update.h
|
|
|
|
#ifndef __TAR_UPDATE_H
|
|
#define __TAR_UPDATE_H
|
|
|
|
#include "../IArchive.h"
|
|
#include "TarItem.h"
|
|
|
|
namespace NArchive {
|
|
namespace NTar {
|
|
|
|
struct CUpdateItemInfo
|
|
{
|
|
bool NewData;
|
|
bool NewProperties;
|
|
int IndexInArchive;
|
|
int IndexInClient;
|
|
|
|
UInt32 Time;
|
|
UInt64 Size;
|
|
AString Name;
|
|
bool IsDirectory;
|
|
};
|
|
|
|
HRESULT UpdateArchive(IInStream *inStream, ISequentialOutStream *outStream,
|
|
const CObjectVector<CItemEx> &inputItems,
|
|
const CObjectVector<CUpdateItemInfo> &updateItems,
|
|
IArchiveUpdateCallback *updateCallback);
|
|
|
|
}}
|
|
|
|
#endif
|