Unit msezlib

Description

 

Overview

Classes, Interfaces, Objects and Records

Name Description
Record internal_state  
Record z_stream  
Record gz_header  

Functions and Procedures

function deflateInit(strm: pz_stream; level: int): int;
function deflateInit2(strm: pz_stream; level: int; method: int; windowBits: int; memLevel: int; strategy: int): int;
function inflateInit(strm: pz_stream): int;
function inflateInit2(strm: pz_stream; windowBits: int): int;
procedure initializezlib(const sonames: array of filenamety);
procedure initzlib;
procedure releasezlib;

Types

int = cint;
uInt = cuint;
uIntf = uInt;
puIntf = ˆuIntf;
uLong = culong;
uLongf = uLong;
puLongf = ˆuLongf;
Bytef = cchar;
pBytef = ˆBytef;
alloc_func = function(opaque: pointer; items: uInt; size: uInt): pointer; cdecl;
free_func = procedure(opaque: pointer; address: pointer); cdecl;
pinternal_state = ˆinternal_state;
pz_stream = ˆz_stream;
pgz_header = ˆgz_header;

Constants

zliblib: array[0..1] of filenamety = ('libz.so.1','libz.so');
ZLIB_VERSION = '1.2.7';
ZLIB_VERNUM = $1270;
ZLIB_VER_MAJOR = 1;
ZLIB_VER_MINOR = 2;
ZLIB_VER_REVISION = 7;
ZLIB_VER_SUBREVISION = 0;
Z_NO_FLUSH = 0;
Z_PARTIAL_FLUSH = 1;
Z_SYNC_FLUSH = 2;
Z_FULL_FLUSH = 3;
Z_FINISH = 4;
Z_BLOCK = 5;
Z_TREES = 6;
Z_OK = 0;
Z_STREAM_END = 1;
Z_NEED_DICT = 2;
Z_ERRNO = (-1);
Z_STREAM_ERROR = (-2);
Z_DATA_ERROR = (-3);
Z_MEM_ERROR = (-4);
Z_BUF_ERROR = (-5);
Z_VERSION_ERROR = (-6);
Z_NO_COMPRESSION = 0;
Z_BEST_SPEED = 1;
Z_BEST_COMPRESSION = 9;
Z_DEFAULT_COMPRESSION = (-1);
Z_FILTERED = 1;
Z_HUFFMAN_ONLY = 2;
Z_RLE = 3;
Z_FIXED = 4;
Z_DEFAULT_STRATEGY = 0;
Z_BINARY = 0;
Z_TEXT = 1;
Z_ASCII = Z_TEXT;
Z_UNKNOWN = 2;
Z_DEFLATED = 8;
Z_NULL = 0;

Variables

zlibVersion: function(): pchar; cdecl;
deflateInit_: function(strm: pz_stream; level: int; version: pchar; stream_size: cint): cint; cdecl;
deflateInit2_: function(strm: pz_stream; level: int; method: int; windowBits: int; memLevel: int; strategy: int; version: pchar; stream_size: int): int; cdecl;
deflate: function(strm: pz_stream; flush: int): int; cdecl;
deflateEnd: function(strm: pz_stream): int; cdecl;
inflateInit_: function(strm: pz_stream; version: pchar; stream_size: int): int; cdecl;
inflateInit2_: function(strm: pz_stream; windowBits: int; version: pchar; stream_size: int): int; cdecl;
inflate: function(strm: pz_stream; flush: int): int; cdecl;
inflateEnd: function(strm: pz_stream): int; cdecl;

Description

Functions and Procedures

function deflateInit(strm: pz_stream; level: int): int;
 
function deflateInit2(strm: pz_stream; level: int; method: int; windowBits: int; memLevel: int; strategy: int): int;
 
function inflateInit(strm: pz_stream): int;
 
function inflateInit2(strm: pz_stream; windowBits: int): int;
 
procedure initializezlib(const sonames: array of filenamety);
 
procedure initzlib;
 
procedure releasezlib;
 

Types

int = cint;
 
uInt = cuint;
 
uIntf = uInt;
 
puIntf = ˆuIntf;
 
uLong = culong;
 
uLongf = uLong;
 
puLongf = ˆuLongf;
 
Bytef = cchar;
 
pBytef = ˆBytef;
 
alloc_func = function(opaque: pointer; items: uInt; size: uInt): pointer; cdecl;
 
free_func = procedure(opaque: pointer; address: pointer); cdecl;
 
pinternal_state = ˆinternal_state;
 
pz_stream = ˆz_stream;
 
pgz_header = ˆgz_header;
 

Constants

zliblib: array[0..1] of filenamety = ('libz.so.1','libz.so');
 
ZLIB_VERSION = '1.2.7';
 
ZLIB_VERNUM = $1270;
 
ZLIB_VER_MAJOR = 1;
 
ZLIB_VER_MINOR = 2;
 
ZLIB_VER_REVISION = 7;
 
ZLIB_VER_SUBREVISION = 0;
 
Z_NO_FLUSH = 0;
 
Z_PARTIAL_FLUSH = 1;
 
Z_SYNC_FLUSH = 2;
 
Z_FULL_FLUSH = 3;
 
Z_FINISH = 4;
 
Z_BLOCK = 5;
 
Z_TREES = 6;
 
Z_OK = 0;
 
Z_STREAM_END = 1;
 
Z_NEED_DICT = 2;
 
Z_ERRNO = (-1);
 
Z_STREAM_ERROR = (-2);
 
Z_DATA_ERROR = (-3);
 
Z_MEM_ERROR = (-4);
 
Z_BUF_ERROR = (-5);
 
Z_VERSION_ERROR = (-6);
 
Z_NO_COMPRESSION = 0;
 
Z_BEST_SPEED = 1;
 
Z_BEST_COMPRESSION = 9;
 
Z_DEFAULT_COMPRESSION = (-1);
 
Z_FILTERED = 1;
 
Z_HUFFMAN_ONLY = 2;
 
Z_RLE = 3;
 
Z_FIXED = 4;
 
Z_DEFAULT_STRATEGY = 0;
 
Z_BINARY = 0;
 
Z_TEXT = 1;
 
Z_ASCII = Z_TEXT;
 
Z_UNKNOWN = 2;
 
Z_DEFLATED = 8;
 
Z_NULL = 0;
 

Variables

zlibVersion: function(): pchar; cdecl;
 
deflateInit_: function(strm: pz_stream; level: int; version: pchar; stream_size: cint): cint; cdecl;
 
deflateInit2_: function(strm: pz_stream; level: int; method: int; windowBits: int; memLevel: int; strategy: int; version: pchar; stream_size: int): int; cdecl;
 
deflate: function(strm: pz_stream; flush: int): int; cdecl;
 
deflateEnd: function(strm: pz_stream): int; cdecl;
 
inflateInit_: function(strm: pz_stream; version: pchar; stream_size: int): int; cdecl;
 
inflateInit2_: function(strm: pz_stream; windowBits: int; version: pchar; stream_size: int): int; cdecl;
 
inflate: function(strm: pz_stream; flush: int): int; cdecl;
 
inflateEnd: function(strm: pz_stream): int; cdecl;
 

Generated by PasDoc 0.16.0.