This commit is contained in:
Igor Pavlov
2003-12-11 00:00:00 +00:00
committed by Kornel Lesiński
commit 8c1b5c7b7e
982 changed files with 118799 additions and 0 deletions

31
7zip/Archive/cpio/CpioIn.h Executable file
View File

@@ -0,0 +1,31 @@
// CpioIn.h
#pragma once
#ifndef __ARCHIVE_CPIO_IN_H
#define __ARCHIVE_CPIO_IN_H
#include "Common/MyCom.h"
#include "../../IStream.h"
#include "CpioItem.h"
namespace NArchive {
namespace NCpio {
class CInArchive
{
CMyComPtr<IInStream> m_Stream;
UINT64 m_Position;
HRESULT ReadBytes(void *data, UINT32 size, UINT32 &aProcessedSize);
public:
HRESULT Open(IInStream *inStream);
HRESULT GetNextItem(bool &filled, CItemEx &anItemInfo);
HRESULT Skeep(UINT64 aNumBytes);
HRESULT SkeepDataRecords(UINT64 aDataSize, bool OldHeader);
};
}}
#endif