#include <cstdlib>#include <cstring>#include "funzipuno.hpp"

Ir al código fuente de este archivo.
Namespaces | |
| namespace | Mt77 |
Definiciones | |
| #define | TAMCE 16384 |
| #define | TAMCS 32768 |
Funciones | |
| ulg | updcrc (uch *s, ulg n) |
| void | err (int n, char *m) |
| void | unzipUno (FILE *in, char *nombre, FILE *out) |
Variables | |
| ulg | outsiz |
| int | encrypted |
| int | qflag = 1 |
| unsigned char | colen [TAMCE] |
| unsigned char | colsal [TAMCS] |
Basado en
Definición en el archivo funzipuno.cpp.
| #define TAMCE 16384 |
| #define TAMCS 32768 |
| void err | ( | int | n, | |
| char * | m | |||
| ) |
Exit on error with a message and a code
Definición en la línea 70 del archivo funzipuno.cpp.
Referenciado por main(), y unzipUno().
| void unzipUno | ( | FILE * | in, | |
| char * | nombre, | |||
| FILE * | out | |||
| ) |
Given a zip file on stdin, decompress the first entry to stdout.
Definición en la línea 80 del archivo funzipuno.cpp.
Hace referencia a colen, colsal, CRPFLG, encrypted, err(), EXTFLG, EXTHDR, LG, LOCCRC, LOCEXT, LOCFIL, LOCFLG, LOCHDR, LOCHOW, LOCLEN, LOCREM, LOCSIZ, outsiz, SH, TAMCE, TAMCS, updcrc(), Z_STORED, y ZIPMAG.
Referenciado por extraezip(), y main().

Run a set of bytes through the crc shift register. If s is a NULL pointer, then initialize the crc shift register contents instead. Return the current crc in either case.
Definición en la línea 49 del archivo funzipuno.cpp.
Referenciado por unzipUno().
| unsigned char colen[TAMCE] |
| unsigned char colsal[TAMCS] |
| int encrypted |
| int qflag = 1 |
Definición en la línea 33 del archivo funzipuno.cpp.
1.5.4