RetroArch
Classes | Macros | Typedefs | Enumerations | Functions
7zTypes.h File Reference
#include <stdint.h>
#include <stddef.h>
Include dependency graph for 7zTypes.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  IByteIn
 
struct  IByteOut
 
struct  ISeqInStream
 
struct  ISeqOutStream
 
struct  ISeekInStream
 
struct  ILookInStream
 
struct  CLookToRead
 
struct  CSecToLook
 
struct  CSecToRead
 
struct  ICompressProgress
 
struct  ISzAlloc
 

Macros

#define EXTERN_C_BEGIN
 
#define EXTERN_C_END
 
#define _7ZIP_ST
 
#define SZ_OK   0
 
#define SZ_ERROR_DATA   1
 
#define SZ_ERROR_MEM   2
 
#define SZ_ERROR_CRC   3
 
#define SZ_ERROR_UNSUPPORTED   4
 
#define SZ_ERROR_PARAM   5
 
#define SZ_ERROR_INPUT_EOF   6
 
#define SZ_ERROR_OUTPUT_EOF   7
 
#define SZ_ERROR_READ   8
 
#define SZ_ERROR_WRITE   9
 
#define SZ_ERROR_PROGRESS   10
 
#define SZ_ERROR_FAIL   11
 
#define SZ_ERROR_THREAD   12
 
#define SZ_ERROR_ARCHIVE   16
 
#define SZ_ERROR_NO_ARCHIVE   17
 
#define RINOK(x)   { int __result__ = (x); if (__result__ != 0) return __result__; }
 
#define MY_FAST_CALL
 
#define LookToRead_BUF_SIZE   (1 << 14)
 
#define IAlloc_Alloc(p, size)   (p)->Alloc((p), size)
 
#define IAlloc_Free(p, a)   (p)->Free((p), a)
 

Typedefs

typedef int SRes
 
typedef int WRes
 

Enumerations

enum  ESzSeek { SZ_SEEK_SET = 0, SZ_SEEK_CUR = 1, SZ_SEEK_END = 2 }
 

Functions

SRes SeqInStream_Read (ISeqInStream *stream, void *buf, size_t size)
 
SRes SeqInStream_Read2 (ISeqInStream *stream, void *buf, size_t size, SRes errorType)
 
SRes SeqInStream_ReadByte (ISeqInStream *stream, unsigned char *buf)
 
SRes LookInStream_LookRead (ILookInStream *stream, void *buf, size_t *size)
 
SRes LookInStream_SeekTo (ILookInStream *stream, uint64_t offset)
 
SRes LookInStream_Read2 (ILookInStream *stream, void *buf, size_t size, SRes errorType)
 
SRes LookInStream_Read (ILookInStream *stream, void *buf, size_t size)
 
void LookToRead_CreateVTable (CLookToRead *p, int lookahead)
 
void LookToRead_Init (CLookToRead *p)
 
void SecToLook_CreateVTable (CSecToLook *p)
 
void SecToRead_CreateVTable (CSecToRead *p)
 

Macro Definition Documentation

◆ _7ZIP_ST

#define _7ZIP_ST

◆ EXTERN_C_BEGIN

#define EXTERN_C_BEGIN

◆ EXTERN_C_END

#define EXTERN_C_END

◆ IAlloc_Alloc

#define IAlloc_Alloc (   p,
  size 
)    (p)->Alloc((p), size)

◆ IAlloc_Free

#define IAlloc_Free (   p,
  a 
)    (p)->Free((p), a)

◆ LookToRead_BUF_SIZE

#define LookToRead_BUF_SIZE   (1 << 14)

◆ MY_FAST_CALL

#define MY_FAST_CALL

◆ RINOK

#define RINOK (   x)    { int __result__ = (x); if (__result__ != 0) return __result__; }

◆ SZ_ERROR_ARCHIVE

#define SZ_ERROR_ARCHIVE   16

◆ SZ_ERROR_CRC

#define SZ_ERROR_CRC   3

◆ SZ_ERROR_DATA

#define SZ_ERROR_DATA   1

◆ SZ_ERROR_FAIL

#define SZ_ERROR_FAIL   11

◆ SZ_ERROR_INPUT_EOF

#define SZ_ERROR_INPUT_EOF   6

◆ SZ_ERROR_MEM

#define SZ_ERROR_MEM   2

◆ SZ_ERROR_NO_ARCHIVE

#define SZ_ERROR_NO_ARCHIVE   17

◆ SZ_ERROR_OUTPUT_EOF

#define SZ_ERROR_OUTPUT_EOF   7

◆ SZ_ERROR_PARAM

#define SZ_ERROR_PARAM   5

◆ SZ_ERROR_PROGRESS

#define SZ_ERROR_PROGRESS   10

◆ SZ_ERROR_READ

#define SZ_ERROR_READ   8

◆ SZ_ERROR_THREAD

#define SZ_ERROR_THREAD   12

◆ SZ_ERROR_UNSUPPORTED

#define SZ_ERROR_UNSUPPORTED   4

◆ SZ_ERROR_WRITE

#define SZ_ERROR_WRITE   9

◆ SZ_OK

#define SZ_OK   0

Typedef Documentation

◆ SRes

typedef int SRes

◆ WRes

typedef int WRes

Enumeration Type Documentation

◆ ESzSeek

enum ESzSeek
Enumerator
SZ_SEEK_SET 
SZ_SEEK_CUR 
SZ_SEEK_END 

Function Documentation

◆ LookInStream_LookRead()

SRes LookInStream_LookRead ( ILookInStream stream,
void buf,
size_t *  size 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ LookInStream_Read()

SRes LookInStream_Read ( ILookInStream stream,
void buf,
size_t  size 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ LookInStream_Read2()

SRes LookInStream_Read2 ( ILookInStream stream,
void buf,
size_t  size,
SRes  errorType 
)
Here is the caller graph for this function:

◆ LookInStream_SeekTo()

SRes LookInStream_SeekTo ( ILookInStream stream,
uint64_t  offset 
)
Here is the caller graph for this function:

◆ LookToRead_CreateVTable()

void LookToRead_CreateVTable ( CLookToRead p,
int  lookahead 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ LookToRead_Init()

void LookToRead_Init ( CLookToRead p)
Here is the caller graph for this function:

◆ SecToLook_CreateVTable()

void SecToLook_CreateVTable ( CSecToLook p)
Here is the call graph for this function:

◆ SecToRead_CreateVTable()

void SecToRead_CreateVTable ( CSecToRead p)
Here is the call graph for this function:

◆ SeqInStream_Read()

SRes SeqInStream_Read ( ISeqInStream stream,
void buf,
size_t  size 
)
Here is the call graph for this function:

◆ SeqInStream_Read2()

SRes SeqInStream_Read2 ( ISeqInStream stream,
void buf,
size_t  size,
SRes  errorType 
)
Here is the caller graph for this function:

◆ SeqInStream_ReadByte()

SRes SeqInStream_ReadByte ( ISeqInStream stream,
unsigned char *  buf 
)