RetroArch
Classes | Macros | Enumerations | Functions | Variables
7z.h File Reference
#include "7zBuf.h"
Include dependency graph for 7z.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  CSzCoderInfo
 
struct  CSzBindPair
 
struct  CSzFolder
 
struct  CNtfsFileTime
 
struct  CSzFileItem
 
struct  CSzAr
 
struct  CSzArEx
 

Macros

#define k7zStartHeaderSize   0x20
 
#define k7zSignatureSize   6
 
#define k7zMajorVersion   0
 

Enumerations

enum  EIdEnum {
  k7zIdEnd, k7zIdHeader, k7zIdArchiveProperties, k7zIdAdditionalStreamsInfo,
  k7zIdMainStreamsInfo, k7zIdFilesInfo, k7zIdPackInfo, k7zIdUnpackInfo,
  k7zIdSubStreamsInfo, k7zIdSize, k7zIdCRC, k7zIdFolder,
  k7zIdCodersUnpackSize, k7zIdNumUnpackStream, k7zIdEmptyStream, k7zIdEmptyFile,
  k7zIdAnti, k7zIdName, k7zIdCTime, k7zIdATime,
  k7zIdMTime, k7zIdWinAttributes, k7zIdComment, k7zIdEncodedHeader,
  k7zIdStartPos, k7zIdDummy
}
 

Functions

void SzCoderInfo_Init (CSzCoderInfo *p)
 
void SzCoderInfo_Free (CSzCoderInfo *p, ISzAlloc *alloc)
 
void SzFolder_Init (CSzFolder *p)
 
uint64_t SzFolder_GetUnpackSize (CSzFolder *p)
 
int SzFolder_FindBindPairForInStream (CSzFolder *p, uint32_t inStreamIndex)
 
uint32_t SzFolder_GetNumOutStreams (CSzFolder *p)
 
SRes SzFolder_Decode (const CSzFolder *folder, const uint64_t *packSizes, ILookInStream *stream, uint64_t startPos, uint8_t *outBuffer, size_t outSize, ISzAlloc *allocMain)
 
void SzFile_Init (CSzFileItem *p)
 
void SzAr_Init (CSzAr *p)
 
void SzAr_Free (CSzAr *p, ISzAlloc *alloc)
 
void SzArEx_Init (CSzArEx *p)
 
void SzArEx_Free (CSzArEx *p, ISzAlloc *alloc)
 
uint64_t SzArEx_GetFolderStreamPos (const CSzArEx *p, uint32_t folderIndex, uint32_t indexInFolder)
 
int SzArEx_GetFolderFullPackSize (const CSzArEx *p, uint32_t folderIndex, uint64_t *resSize)
 
size_t SzArEx_GetFileNameUtf16 (const CSzArEx *p, size_t fileIndex, uint16_t *dest)
 
SRes SzArEx_Extract (const CSzArEx *db, ILookInStream *inStream, uint32_t fileIndex, uint32_t *blockIndex, uint8_t **outBuffer, size_t *outBufferSize, size_t *offset, size_t *outSizeProcessed, ISzAlloc *allocMain, ISzAlloc *allocTemp)
 
SRes SzArEx_Open (CSzArEx *p, ILookInStream *inStream, ISzAlloc *allocMain, ISzAlloc *allocTemp)
 

Variables

uint8_t k7zSignature [k7zSignatureSize]
 

Macro Definition Documentation

◆ k7zMajorVersion

#define k7zMajorVersion   0

◆ k7zSignatureSize

#define k7zSignatureSize   6

◆ k7zStartHeaderSize

#define k7zStartHeaderSize   0x20

Enumeration Type Documentation

◆ EIdEnum

enum EIdEnum
Enumerator
k7zIdEnd 
k7zIdHeader 
k7zIdArchiveProperties 
k7zIdAdditionalStreamsInfo 
k7zIdMainStreamsInfo 
k7zIdFilesInfo 
k7zIdPackInfo 
k7zIdUnpackInfo 
k7zIdSubStreamsInfo 
k7zIdSize 
k7zIdCRC 
k7zIdFolder 
k7zIdCodersUnpackSize 
k7zIdNumUnpackStream 
k7zIdEmptyStream 
k7zIdEmptyFile 
k7zIdAnti 
k7zIdName 
k7zIdCTime 
k7zIdATime 
k7zIdMTime 
k7zIdWinAttributes 
k7zIdComment 
k7zIdEncodedHeader 
k7zIdStartPos 
k7zIdDummy 

Function Documentation

◆ SzAr_Free()

void SzAr_Free ( CSzAr p,
ISzAlloc alloc 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ SzAr_Init()

void SzAr_Init ( CSzAr p)
Here is the caller graph for this function:

◆ SzArEx_Extract()

SRes SzArEx_Extract ( const CSzArEx db,
ILookInStream inStream,
uint32_t  fileIndex,
uint32_t blockIndex,
uint8_t **  outBuffer,
size_t *  outBufferSize,
size_t *  offset,
size_t *  outSizeProcessed,
ISzAlloc allocMain,
ISzAlloc allocTemp 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ SzArEx_Free()

void SzArEx_Free ( CSzArEx p,
ISzAlloc alloc 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ SzArEx_GetFileNameUtf16()

size_t SzArEx_GetFileNameUtf16 ( const CSzArEx p,
size_t  fileIndex,
uint16_t dest 
)
Here is the caller graph for this function:

◆ SzArEx_GetFolderFullPackSize()

int SzArEx_GetFolderFullPackSize ( const CSzArEx p,
uint32_t  folderIndex,
uint64_t resSize 
)

◆ SzArEx_GetFolderStreamPos()

uint64_t SzArEx_GetFolderStreamPos ( const CSzArEx p,
uint32_t  folderIndex,
uint32_t  indexInFolder 
)
Here is the caller graph for this function:

◆ SzArEx_Init()

void SzArEx_Init ( CSzArEx p)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ SzArEx_Open()

SRes SzArEx_Open ( CSzArEx p,
ILookInStream inStream,
ISzAlloc allocMain,
ISzAlloc allocTemp 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ SzCoderInfo_Free()

void SzCoderInfo_Free ( CSzCoderInfo p,
ISzAlloc alloc 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ SzCoderInfo_Init()

void SzCoderInfo_Init ( CSzCoderInfo p)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ SzFile_Init()

void SzFile_Init ( CSzFileItem p)
Here is the caller graph for this function:

◆ SzFolder_Decode()

SRes SzFolder_Decode ( const CSzFolder folder,
const uint64_t packSizes,
ILookInStream stream,
uint64_t  startPos,
uint8_t outBuffer,
size_t  outSize,
ISzAlloc allocMain 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ SzFolder_FindBindPairForInStream()

int SzFolder_FindBindPairForInStream ( CSzFolder p,
uint32_t  inStreamIndex 
)
Here is the caller graph for this function:

◆ SzFolder_GetNumOutStreams()

uint32_t SzFolder_GetNumOutStreams ( CSzFolder p)
Here is the caller graph for this function:

◆ SzFolder_GetUnpackSize()

uint64_t SzFolder_GetUnpackSize ( CSzFolder p)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ SzFolder_Init()

void SzFolder_Init ( CSzFolder p)
Here is the caller graph for this function:

Variable Documentation

◆ k7zSignature

uint8_t k7zSignature[k7zSignatureSize]