Evince
Evince is a document viewer capable of displaying multiple and single page document formats like PDF and Postscript.
|
#include <stddef.h>
Go to the source code of this file.
Data Structures | |
struct | IByteIn |
struct | IByteOut |
struct | ISeqInStream |
struct | ISeqOutStream |
struct | ISeekInStream |
struct | ILookInStream |
struct | CLookToRead2 |
struct | CSecToLook |
struct | CSecToRead |
struct | ICompressProgress |
struct | ISzAlloc |
Macros | |
#define | EXTERN_C_BEGIN |
#define | EXTERN_C_END |
#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 | UINT64_CONST(n) n ## ULL |
#define | True 1 |
#define | False 0 |
#define | MY_STD_CALL |
#define | MY_NO_INLINE |
#define | MY_FORCE_INLINE |
#define | MY_CDECL |
#define | MY_FAST_CALL |
#define | IByteIn_Read(p) (p)->Read(p) |
#define | IByteOut_Write(p, b) (p)->Write(p, b) |
#define | ISeqInStream_Read(p, buf, size) (p)->Read(p, buf, size) |
#define | ISeqOutStream_Write(p, buf, size) (p)->Write(p, buf, size) |
#define | ISeekInStream_Read(p, buf, size) (p)->Read(p, buf, size) |
#define | ISeekInStream_Seek(p, pos, origin) (p)->Seek(p, pos, origin) |
#define | ILookInStream_Look(p, buf, size) (p)->Look(p, buf, size) |
#define | ILookInStream_Skip(p, offset) (p)->Skip(p, offset) |
#define | ILookInStream_Read(p, buf, size) (p)->Read(p, buf, size) |
#define | ILookInStream_Seek(p, pos, origin) (p)->Seek(p, pos, origin) |
#define | LookToRead2_Init(p) { (p)->pos = (p)->size = 0; } |
#define | ICompressProgress_Progress(p, inSize, outSize) (p)->Progress(p, inSize, outSize) |
#define | ISzAlloc_Alloc(p, size) (p)->Alloc(p, size) |
#define | ISzAlloc_Free(p, a) (p)->Free(p, a) |
#define | IAlloc_Alloc(p, size) ISzAlloc_Alloc(p, size) |
#define | IAlloc_Free(p, a) ISzAlloc_Free(p, a) |
#define | MY_offsetof(type, m) ((size_t)&(((type *)0)->m)) |
#define | MY_container_of(ptr, type, m) ((type *)((char *)(1 ? (ptr) : &((type *)0)->m) - MY_offsetof(type, m))) |
#define | CONTAINER_FROM_VTBL_SIMPLE(ptr, type, m) ((type *)(ptr)) |
#define | CONTAINER_FROM_VTBL(ptr, type, m) MY_container_of(ptr, type, m) |
#define | CONTAINER_FROM_VTBL_CLS(ptr, type, m) CONTAINER_FROM_VTBL_SIMPLE(ptr, type, m) |
#define | CHAR_PATH_SEPARATOR '/' |
#define | WCHAR_PATH_SEPARATOR L'/' |
#define | STRING_PATH_SEPARATOR "/" |
#define | WSTRING_PATH_SEPARATOR L"/" |
Typedefs | |
typedef int | SRes |
typedef int | WRes |
typedef unsigned char | Byte |
typedef short | Int16 |
typedef unsigned short | UInt16 |
typedef int | Int32 |
typedef unsigned int | UInt32 |
typedef long long int | Int64 |
typedef unsigned long long int | UInt64 |
typedef size_t | SizeT |
typedef int | Bool |
typedef struct IByteIn | IByteIn |
typedef struct IByteOut | IByteOut |
typedef struct ISeqInStream | ISeqInStream |
typedef struct ISeqOutStream | ISeqOutStream |
typedef struct ISeekInStream | ISeekInStream |
typedef struct ILookInStream | ILookInStream |
typedef struct ICompressProgress | ICompressProgress |
typedef struct ISzAlloc | ISzAlloc |
typedef const ISzAlloc * | ISzAllocPtr |
Enumerations | |
enum | ESzSeek { SZ_SEEK_SET = 0, SZ_SEEK_CUR = 1, SZ_SEEK_END = 2 } |
Functions | |
SRes | SeqInStream_Read (const ISeqInStream *stream, void *buf, size_t size) |
SRes | SeqInStream_Read2 (const ISeqInStream *stream, void *buf, size_t size, SRes errorType) |
SRes | SeqInStream_ReadByte (const ISeqInStream *stream, Byte *buf) |
SRes | LookInStream_LookRead (const ILookInStream *stream, void *buf, size_t *size) |
SRes | LookInStream_SeekTo (const ILookInStream *stream, UInt64 offset) |
SRes | LookInStream_Read2 (const ILookInStream *stream, void *buf, size_t size, SRes errorType) |
SRes | LookInStream_Read (const ILookInStream *stream, void *buf, size_t size) |
void | LookToRead2_CreateVTable (CLookToRead2 *p, int lookahead) |
void | SecToLook_CreateVTable (CSecToLook *p) |
void | SecToRead_CreateVTable (CSecToRead *p) |
#define CONTAINER_FROM_VTBL | ( | ptr, | |
type, | |||
m | |||
) | MY_container_of(ptr, type, m) |
#define CONTAINER_FROM_VTBL_CLS | ( | ptr, | |
type, | |||
m | |||
) | CONTAINER_FROM_VTBL_SIMPLE(ptr, type, m) |
#define CONTAINER_FROM_VTBL_SIMPLE | ( | ptr, | |
type, | |||
m | |||
) | ((type *)(ptr)) |
#define IAlloc_Alloc | ( | p, | |
size | |||
) | ISzAlloc_Alloc(p, size) |
#define IAlloc_Free | ( | p, | |
a | |||
) | ISzAlloc_Free(p, a) |
#define ICompressProgress_Progress | ( | p, | |
inSize, | |||
outSize | |||
) | (p)->Progress(p, inSize, outSize) |
#define ILookInStream_Seek | ( | p, | |
pos, | |||
origin | |||
) | (p)->Seek(p, pos, origin) |
#define ILookInStream_Skip | ( | p, | |
offset | |||
) | (p)->Skip(p, offset) |
#define ISeekInStream_Seek | ( | p, | |
pos, | |||
origin | |||
) | (p)->Seek(p, pos, origin) |
#define LookToRead2_Init | ( | p) | { (p)->pos = (p)->size = 0; } |
#define MY_container_of | ( | ptr, | |
type, | |||
m | |||
) | ((type *)((char *)(1 ? (ptr) : &((type *)0)->m) - MY_offsetof(type, m))) |
#define MY_offsetof | ( | type, | |
m | |||
) | ((size_t)&(((type *)0)->m)) |
#define RINOK | ( | x) | { int __result__ = (x); if (__result__ != 0) return __result__; } |
typedef struct ICompressProgress ICompressProgress |
typedef struct ILookInStream ILookInStream |
typedef struct ISeekInStream ISeekInStream |
typedef struct ISeqInStream ISeqInStream |
typedef struct ISeqOutStream ISeqOutStream |
typedef const ISzAlloc* ISzAllocPtr |
enum ESzSeek |
SRes LookInStream_LookRead | ( | const ILookInStream * | stream, |
void * | buf, | ||
size_t * | size | ||
) |
SRes LookInStream_Read | ( | const ILookInStream * | stream, |
void * | buf, | ||
size_t | size | ||
) |
SRes LookInStream_Read2 | ( | const ILookInStream * | stream, |
void * | buf, | ||
size_t | size, | ||
SRes | errorType | ||
) |
SRes LookInStream_SeekTo | ( | const ILookInStream * | stream, |
UInt64 | offset | ||
) |
void LookToRead2_CreateVTable | ( | CLookToRead2 * | p, |
int | lookahead | ||
) |
void SecToLook_CreateVTable | ( | CSecToLook * | p) |
void SecToRead_CreateVTable | ( | CSecToRead * | p) |
SRes SeqInStream_Read | ( | const ISeqInStream * | stream, |
void * | buf, | ||
size_t | size | ||
) |
SRes SeqInStream_Read2 | ( | const ISeqInStream * | stream, |
void * | buf, | ||
size_t | size, | ||
SRes | errorType | ||
) |
SRes SeqInStream_ReadByte | ( | const ISeqInStream * | stream, |
Byte * | buf | ||
) |