Business-KontoCheck
view release on metacpan or search on metacpan
0_history.txt view on Meta::CPAN
- Die Dateien mit dem INPAR Handbuch und -Vertrag werden nach Rücksprache mit
First Data (H. Krickel; jetzt SIX Card Solutions) nicht mehr in das Paket
aufgenommen, sondern sollten direkt bei SIX Card Solutions
(Andreas.Krickl@six-card-solutions.at) angefragt, bzw. von der Website von
SIX Card Solutions Austria heruntergeladen werden (näheres in der Datei
00liesmich unter Punkt 5. Prüfparameter).
Version 2.1 (4.6.07):
=======================
- Die Versionszählung läuft jetzt synchron mit der deutschen Version von
konto_check, da die beiden Pakete für die Perl-Version zusammen verwendet
werden
- einige kleinere Änderungen für die Anpassung an Perl
- Der Datentyp von adler32 wurde von unsigned long auf UINT4 geändert, um
Probleme mit modernen 64 Bit Compilern zu beheben.
Version 1.3 (16.1.08):
======================
- Die eigene Versionszählung für das österreichische Modul wird doch wieder
eingeführt.
zlib/examples/gznorm.c view on Meta::CPAN
// Read a gzip stream from in and write an equivalent normalized gzip stream to
// out. If given no input, an empty gzip stream will be written. If successful,
// 0 is returned, and *err is set to NULL. On error, 1 is returned, where the
// details of the error are returned in *err, a pointer to an allocated string.
//
// The input may be a stream with multiple gzip members, which is converted to
// a single gzip member on the output. Each gzip member is decompressed at the
// level of deflate blocks. This enables clearing the last-block bit, shifting
// the compressed data to concatenate to the previous member's compressed data,
// which can end at an arbitrary bit boundary, and identifying stored blocks in
// order to resynchronize those to byte boundaries. The deflate compressed data
// is terminated with a 10-bit empty fixed block. If any members on the input
// end with a 10-bit empty fixed block, then that block is excised from the
// stream. This avoids appending empty fixed blocks for every normalization,
// and assures that gzip_normalize applied a second time will not change the
// input. The pad bits after stored block headers and after the final deflate
// block are all forced to zeros.
local int gzip_normalize(FILE *in, FILE *out, char **err) {
// initialize the inflate engine to process a gzip member
z_stream strm;
strm.zalloc = Z_NULL;
zlib/examples/gznorm.c view on Meta::CPAN
// End of header reached -- deflate blocks follow.
put = strm.next_in;
prev = num;
memb = 0;
state = BLOCK;
}
break;
case BLOCK:
// Copy the deflate stream to the output, but with the
// last-block-bit cleared. Re-synchronize stored block
// headers to the output byte boundaries. The bytes at
// put..strm.next_in-1 is the compressed data that has been
// processed and is ready to be copied to the output.
// At this point, it is assured that new compressed data is
// available, i.e., put < strm.next_in. If prev is -1, then
// that compressed data starts in the middle of a deflate
// block. If prev is not -1, then the bits in the bit
// buffer, possibly combined with the bits in *put, contain
// the three-bit header of the new deflate block. In that
zlib/inflate.h view on Meta::CPAN
LENEXT, /* i: waiting for length extra bits */
DIST, /* i: waiting for distance code */
DISTEXT, /* i: waiting for distance extra bits */
MATCH, /* o: waiting for output space to copy string */
LIT, /* o: waiting for output space to write literal */
CHECK, /* i: waiting for 32-bit check value */
LENGTH, /* i: waiting for 32-bit length (gzip) */
DONE, /* finished check, done -- remain here until reset */
BAD, /* got a data error -- remain here until reset */
MEM, /* got an inflate() memory error -- remain here until reset */
SYNC /* looking for synchronization bytes to restart inflate() */
} inflate_mode;
/*
State transitions between above modes -
(most modes can go to BAD or MEM on error -- not shown for clarity)
Process header:
HEAD -> (gzip) or (zlib) or (raw)
(gzip) -> FLAGS -> TIME -> OS -> EXLEN -> EXTRA -> NAME -> COMMENT ->
( run in 0.286 second using v1.01-cache-2.11-cpan-0d8aa00de5b )