ASE2 CARD CATALOG ENTRY |
Instructions:
What is it ? UnZip-Ada is a decompression library for zipped files, i.e. files compressed by PKZIP (PKWARE Inc.) or a compatible file compressor. The full source is in Ada - pure Ada, not even a single OS-dependent or compiler-dependent package. Its "historical" origin is the C Info-Zip source, then a Pascal version. For details, read the file unzip.ads from the submission.
Why not just interface with C unzip code ? The idea is to have a pure Ada unzipping kernel, platform independent; no near-portable code with conditional defines. In addition it's very fun to code it in Ada. E.g. the generics allowed to half the original code in the Explode method. Exception handling is omnipresent and save lots of code: plenty of result variables in C / Pascal are saved, so, when a normal, non-corrupt archive is handled, the execution is much more straightforward.
Why not just call unzip / pkunzip ? This tool allows you to unzip data without resorting to making an OS-dependent external call.
September 1999 Gautier de Montmollin Initial Release to the ASE Library
This prologue must be included in all copies of this software. Restrictions on use or distribution: NONE
This software and its documentation are provided "AS IS" and without any expressed or implied warranties whatsoever. No warranties as to performance, merchantability, or fitness for a particular purpose exist. The user is advised to test the software thoroughly before relying on it. The user must assume the entire risk and liability of using this software. In no event shall any person or organization of people be held responsible for any direct, indirect, consequential or inconsequential damages or lost profits.
Powered by the Generic Web-Based Reuse Library (GWRL)