Lines Matching refs:zlib

2                 Frequently Asked Questions about zlib
5 If your question is not there, please check the zlib home page
6 http://zlib.net/ which may have more recent information.
7 The latest zlib FAQ is at http://zlib.net/zlib_faq.html
10 1. Is zlib Y2K-compliant?
12 Yes. zlib doesn't handle dates.
16 The zlib sources can be compiled without change to produce a DLL. See the
17 file win32/DLL_FAQ.txt in the zlib distribution.
19 3. Where can I get a Visual Basic interface to zlib?
22 * http://marknelson.us/1997/01/01/zlib-engine/
23 * win32/DLL_FAQ.txt in the zlib distribution
41 strm.avail_out returns with zero. See http://zlib.net/zlib_how.html for a
44 6. Where's the zlib documentation (man pages, etc.)?
46 It's in zlib.h . Examples of zlib usage are in the files test/example.c
51 Because we would like to keep zlib as a very small and simple package.
52 zlib is rather portable and doesn't need much configuration.
54 8. I found a bug in zlib.
56 Most of the time, such problems are due to an incorrect usage of zlib.
58 corresponding source to us at zlib@gzip.org . Do not send multi-megabyte
70 10. I need a Delphi interface to zlib.
72 See the contrib/delphi directory in the zlib distribution.
74 11. Can zlib handle .zip archives?
76 Not by itself, no. See the directory contrib/minizip in the zlib
79 12. Can zlib handle .Z files?
92 14. How do I install a shared zlib library on Unix?
98 However, many flavors of Unix come with a shared zlib already installed.
99 Before going to the trouble of compiling a shared version of zlib and
101 can #include <zlib.h>, it's there. The -lz option will probably link to
102 it. You can check the version at the top of zlib.h or with the
103 ZLIB_VERSION symbol defined in zlib.h .
110 16. Can zlib decode Flate data in an Adobe PDF file?
117 After installing zlib 1.1.4 on Solaris 2.6, running applications using zlib
123 The symbol __register_frame_info is not part of zlib, it is generated by
124 the C compiler (cc or gcc). You must recompile applications using zlib
126 http://www.sunfreeware.com for Solaris versions of zlib and applications
127 using zlib.
131 The compress and deflate functions produce data in the zlib format, which
133 zlib on the other hand use the gzip format. Both the zlib and gzip formats
140 single file, such as the name and last modification date. The zlib format
147 You can request that deflate write the gzip format instead of the zlib
149 gzip format using inflateInit2(). Read zlib.h for more details.
151 21. Is zlib thread-safe?
153 Yes. However any library routines that zlib uses and any application-
154 provided memory allocation routines must also be thread-safe. zlib's gz*
155 functions use stdio library routines, and most of zlib's functions use the
156 library memory allocation routines by default. zlib's *Init* functions
159 Of course, you should only operate on any given zlib or gzip stream from a
162 22. Can I use zlib in my commercial application?
164 Yes. Please read the license in zlib.h.
166 23. Is zlib under the GNU license?
168 No. Please read the license in zlib.h.
173 You need to change the ZLIB_VERSION and ZLIB_VERNUM #defines in zlib.h. In
176 x.x.x.f are reserved for modifications to zlib by others than the zlib
177 maintainers. For example, if the version of the base zlib you are altering
178 is "1.2.3.4", then in zlib.h you should change ZLIB_VERNUM to 0x123f, and
183 nature of the changes in zlib.h, as well as in ChangeLog and README, along
188 Note that distributing a compiled zlib library along with zlib.h and
191 in zlib.h as you would for a full source distribution.
193 25. Will zlib work on a big-endian or little-endian architecture, and can I
198 26. Will zlib work on a 64-bit machine?
202 difficulties, please provide a complete problem report to zlib@gzip.org
204 27. Will zlib decompress data from the PKWare Data Compression Library?
207 does PKZIP and zlib. However, you can look in zlib's contrib/blast
220 29. Does zlib work on MVS, OS/390, CICS, etc.?
223 were working ports of zlib 1.1.4 to MVS, but those links no longer work.
224 If you know of recent, successful applications of zlib on these operating
230 First off, you should read RFC 1951. Second, yes. Look in zlib's
233 31. Does zlib infringe on any patents?
236 zlib. Look here for some more information:
240 32. Can zlib work with greater than 4 GB of data?
252 zlib is compiled. See the zlibCompileFlags() function in zlib.h.
258 33. Does zlib have any security vulnerabilities?
260 The only one that we are aware of is potentially in gzprintf(). If zlib is
264 will not exceed 8K. On the other hand, if zlib is compiled to use
276 Note that you should be using the most recent version of zlib. Versions
281 34. Is there a Java version of zlib?
283 Probably what you want is to use zlib in Java. zlib is already included
285 a version of zlib written in the Java language, look on the zlib home
286 page for links: http://zlib.net/ .
301 is not affected. This only started showing up recently since zlib 1.2.x
307 37. Will zlib read the (insert any ancient or arcane format here) compressed
313 38. How can I encrypt/decrypt zip files with zlib?
315 zlib doesn't support encryption. The original PKZIP encryption is very
317 encryption, use GnuPG, http://www.gnupg.org/ , which already includes zlib
323 "gzip" is the gzip format, and "deflate" is the zlib format. They should
324 probably have called the second one "zlib" instead to avoid confusion with
326 correctly points to the zlib specification in RFC 1950 for the "deflate"
330 "deflate" transfer encoding using the zlib format would be the more
331 efficient approach (and in fact exactly what the zlib format was designed
337 40. Does zlib support the new "Deflate64" format introduced by PKWare?
344 41. I'm having a problem with the zip functions in zlib, can you help?
346 There are no zip functions in zlib. You are probably using minizip by
347 Giles Vollant, which is found in the contrib directory of zlib. It is not
348 part of zlib. In fact none of the stuff in contrib is part of zlib. The
349 files in there are not supported by the zlib authors. You need to contact
353 Since it's part of zlib, doesn't that mean that all of zlib falls under the
356 No. The files in contrib are not part of zlib. They were contributed by
357 other authors and are provided as a convenience to the user within the zlib
360 43. Is zlib subject to export controls? What is its ECCN?
362 zlib is not subject to export controls, and so is classified as EAR99.