~ubuntu-branches/ubuntu/natty/zziplib/natty

« back to all changes in this revision

Viewing changes to docs/htmpages.ar

  • Committer: Bazaar Package Importer
  • Author(s): Anibal Monsalve Salazar
  • Date: 2008-04-06 08:13:02 UTC
  • mfrom: (4.1.2 hardy)
  • Revision ID: james.westby@ubuntu.com-20080406081302-0fqk6eyn5c4ea3im
Tags: 0.13.49-4
* NMU acknowledgement. Closes: #443880 
* Fixed the following lintian issues:
  - zziplib source: out-of-date-standards-version 3.7.2 (current is 3.7.3)
  - zziplib: description-contains-homepage

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
!<arch>
2
 
index.html/     1060866231  500   0     100664  3939      `
3
 
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
4
 
<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Manual Pages</title><meta name="generator" content="DocBook XSL Stylesheets V1.60.1"><link rel="home" href="index.html" title="Manual Pages"><link rel="next" href="rn01re01.html" title="zzip_rewinddir"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Manual Pages</th></tr><tr><td width="20%" align="left">�</td><th width="60%" align="center">�</th><td width="20%" align="right">�<a accesskey="n" href="rn01re01.html">Next</a></td></tr></table><hr></div><div class="reference" lang="en"><a name="id2759223"></a><div class="titlepage"><div><div><h1 class="title"><a name="id2759223"></a>Manual Pages</h1></div></div><div></div><hr></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><a href="rn01re01.html">zzip_rewinddir</a> - (../../zzip/dir.c) </dt><dt><a href="rn01re02.html">zzip_readdir</a> - (../../zzip/dir.c) </dt><dt><a href="rn01re03.html">zzip_opendir</a> - (../../zzip/dir.c) </dt><dt><a href="rn01re04.html">zzip_closedir</a> - (../../zzip/dir.c) </dt><dt><a href="rn01re05.html">zzip_strerror</a> - (../../zzip/err.c) </dt><dt><a href="rn01re06.html">zzip_errno</a> - (../../zzip/err.c) </dt><dt><a href="rn01re07.html">zzip_file_close</a> - (../../zzip/file.c) </dt><dt><a href="rn01re08.html">zzip_file_open</a> - (../../zzip/file.c) </dt><dt><a href="rn01re09.html">zzip_inflate_init</a> - (../../zzip/file.c) </dt><dt><a href="rn01re10.html">zzip_fclose</a> - (../../zzip/file.c) </dt><dt><a href="rn01re11.html">zzip_file_read</a> - (../../zzip/file.c) </dt><dt><a href="rn01re12.html">zzip_read</a> - (../../zzip/file.c) </dt><dt><a href="rn01re13.html">zzip_fopen</a> - (../../zzip/file.c) </dt><dt><a href="rn01re14.html">zzip_open</a> - (../../zzip/file.c) </dt><dt><a href="rn01re15.html">zzip_rewind</a> - (../../zzip/file.c) </dt><dt><a href="rn01re16.html">zzip_seek</a> - (../../zzip/file.c) </dt><dt><a href="rn01re17.html">zzip_tell</a> - (../../zzip/file.c) </dt><dt><a href="rn01re18.html">zzip_error</a> - (../../zzip/info.c) </dt><dt><a href="rn01re19.html">zzip_dirhandle</a> - (../../zzip/info.c) </dt><dt><a href="rn01re20.html">zzip_compr_str</a> - (../../zzip/info.c) </dt><dt><a href="rn01re21.html">zzip_file_real</a> - (../../zzip/info.c) </dt><dt><a href="rn01re22.html">zzip_init_io</a> - (../../zzip/plugin.c) </dt><dt><a href="rn01re23.html">zzip_dir_stat</a> - (../../zzip/stat.c) </dt><dt><a href="rn01re24.html">__zzip_get32</a> - (../../zzip/zip.c) </dt><dt><a href="rn01re25.html">__zzip_find_disk_trailer</a> - (../../zzip/zip.c) </dt><dt><a href="rn01re26.html">__zzip_parse_root_directory</a> - (../../zzip/zip.c) </dt><dt><a href="rn01re27.html">zzip_dir_alloc_ext_io</a> - (../../zzip/zip.c) </dt><dt><a href="rn01re28.html">zzip_dir_free</a> - (../../zzip/zip.c) </dt><dt><a href="rn01re29.html">zzip_dir_close</a> - (../../zzip/zip.c) </dt><dt><a href="rn01re30.html">zzip_dir_fdopen</a> - (../../zzip/zip.c) </dt><dt><a href="rn01re31.html">__zzip_try_open</a> - (../../zzip/zip.c) </dt><dt><a href="rn01re32.html">zzip_dir_open</a> - (../../zzip/zip.c) </dt><dt><a href="rn01re33.html">zzip_dir_read</a> - (../../zzip/zip.c) </dt><dt><a href="rn01re34.html">zziplib.h</a> -  library </dt></dl></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left">�</td><td width="20%" align="center">�</td><td width="40%" align="right">�<a accesskey="n" href="rn01re01.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">�</td><td width="20%" align="center">�</td><td width="40%" align="right" valign="top">�zzip_rewinddir</td></tr></table></div></body></html>
5
 
 
6
 
rn01re01.html/  1060866231  500   0     100664  4325      `
7
 
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
8
 
<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>zzip_rewinddir</title><meta name="generator" content="DocBook XSL Stylesheets V1.60.1"><link rel="home" href="index.html" title="Manual Pages"><link rel="up" href="index.html" title="Manual Pages"><link rel="previous" href="index.html" title="Manual Pages"><link rel="next" href="rn01re02.html" title="zzip_readdir"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">zzip_rewinddir</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="index.html">Prev</a>�</td><th width="60%" align="center">�</th><td width="20%" align="right">�<a accesskey="n" href="rn01re02.html">Next</a></td></tr></table><hr></div><div class="refentry" lang="en"><a name="zzip_rewinddir"></a><div class="titlepage"><div></div><div></div></div><div class="refnamediv"><h2>Name</h2><p> &#8212; (../../zzip/dir.c) zzip_rewinddir, zzip_telldir, zzip_seekdir</p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><pre class="funcsynopsisinfo">
9
 
 #include &lt;zziplib.h&gt;
10
 
</pre><div class="funcsynopsis"><table border="0" summary="Function synopsis" cellspacing="0" cellpadding="0" style="padding-bottom: 1em"><tr><td><code class="funcdef">void 
11
 
 <b class="fsfunc">zzip_rewinddir</b>(</code></td><td><code>)</code>;</td><td>�</td></tr></table><table border="0" summary="Function argument synopsis" cellspacing="0" cellpadding="0" style="padding-bottom: 1em"><tr><td>�</td><td>;</td></tr></table><table border="0" summary="Function synopsis" cellspacing="0" cellpadding="0" style="padding-bottom: 1em"><tr><td><code class="funcdef">zzip_off_t 
12
 
 <b class="fsfunc">zzip_telldir</b>(</code></td><td><code>)</code>;</td><td>�</td></tr></table><table border="0" summary="Function argument synopsis" cellspacing="0" cellpadding="0" style="padding-bottom: 1em"><tr><td>�</td><td>;</td></tr></table><table border="0" summary="Function synopsis" cellspacing="0" cellpadding="0" style="padding-bottom: 1em"><tr><td><code class="funcdef">void
13
 
 <b class="fsfunc">zzip_seekdir</b>(</code></td><td>, </td><td>�</td></tr><tr><td>�</td><td><code>)</code>;</td><td>�</td></tr></table><table border="0" summary="Function argument synopsis" cellspacing="0" cellpadding="0"><tr><td>�</td><td>;</td></tr><tr><td>�</td><td>;</td></tr></table></div></div><div class="refsect1" lang="en"><h2>Description</h2><p>
14
 
   The zzip_rewinddir function is the equivalent of a <tt class="function">rewinddir(2)</tt> for a realdir or 
15
 
   the zipfile in place of a directory. The ZZIP_DIR handle returned from 
16
 
   <tt class="function">zzip_opendir</tt> has a flag saying realdir or zipfile. As for a zipfile, 
17
 
   the filenames will include the filesubpath, so take care. 
18
 
 
19
 
</p><p>
20
 
   The zzip_telldir function is the equivalent of <tt class="function">telldir(2)</tt> for a realdir or zipfile. 
21
 
 
22
 
</p><p>
23
 
   The zzip_seekdir function is the equivalent of <tt class="function">seekdir(2)</tt> for a realdir or zipfile. 
24
 
 
25
 
</p></div><div class="refsect1" lang="en"><h2>Author</h2><div class="itemizedlist"><ul type="disc"><li><p>Guido Draheim  <tt class="email">&lt;<a href="mailto:guidod@gmx.de">guidod@gmx.de</a>&gt;</tt></p></li></ul></div></div><div class="refsect1" lang="en"><h2>Copyright</h2><pre class="screen">
26
 
(c) 1999,2000,2001,2002 Guido Draheim 
27
 
            All rights reserved, 
28
 
            use under the restrictions of the 
29
 
            Lesser GNU General Public License 
30
 
           note the additional license information  
31
 
           that can be found in COPYING.ZZIP 
32
 
 </pre></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="index.html">Prev</a>�</td><td width="20%" align="center"><a accesskey="u" href="index.html">Up</a></td><td width="40%" align="right">�<a accesskey="n" href="rn01re02.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Manual Pages�</td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top">�zzip_readdir</td></tr></table></div></body></html>
33
 
 
34
 
rn01re02.html/  1060866231  500   0     100664  3383      `
35
 
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
36
 
<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>zzip_readdir</title><meta name="generator" content="DocBook XSL Stylesheets V1.60.1"><link rel="home" href="index.html" title="Manual Pages"><link rel="up" href="index.html" title="Manual Pages"><link rel="previous" href="rn01re01.html" title="zzip_rewinddir"><link rel="next" href="rn01re03.html" title="zzip_opendir"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">zzip_readdir</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="rn01re01.html">Prev</a>�</td><th width="60%" align="center">�</th><td width="20%" align="right">�<a accesskey="n" href="rn01re03.html">Next</a></td></tr></table><hr></div><div class="refentry" lang="en"><a name="zzip_readdir"></a><div class="titlepage"><div></div><div></div></div><div class="refnamediv"><h2>Name</h2><p> &#8212; (../../zzip/dir.c) zzip_readdir</p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><pre class="funcsynopsisinfo">
37
 
 #include &lt;zziplib.h&gt;
38
 
</pre><div class="funcsynopsis"><table border="0" summary="Function synopsis" cellspacing="0" cellpadding="0" style="padding-bottom: 1em"><tr><td><code class="funcdef">ZZIP_DIRENT* 
39
 
 <b class="fsfunc">zzip_readdir</b>(</code></td><td><code>)</code>;</td><td>�</td></tr></table><table border="0" summary="Function argument synopsis" cellspacing="0" cellpadding="0"><tr><td>�</td><td>;</td></tr></table></div></div><div class="refsect1" lang="en"><h2>Description</h2><p>
40
 
   The zzip_readdir function is the equivalent of a <tt class="function">readdir(2)</tt> for a realdir  
41
 
   or a zipfile referenced by the ZZIP_DIR returned from <tt class="function">zzip_opendir</tt>. 
42
 
 
43
 
</p><p>
44
 
 
45
 
   The ZZIP_DIR handle (as returned by <tt class="function">zzip_opendir)</tt> contains a few more  
46
 
   entries than being copied into the ZZIP_DIRENT. The only valid fields in 
47
 
   a ZZIP_DIRENT are d_name (the file name), d_compr (compression), d_csize 
48
 
   (compressed size), st_size (uncompressed size). 
49
 
 
50
 
</p></div><div class="refsect1" lang="en"><h2>Author</h2><div class="itemizedlist"><ul type="disc"><li><p>Guido Draheim  <tt class="email">&lt;<a href="mailto:guidod@gmx.de">guidod@gmx.de</a>&gt;</tt></p></li></ul></div></div><div class="refsect1" lang="en"><h2>Copyright</h2><pre class="screen">
51
 
(c) 1999,2000,2001,2002 Guido Draheim 
52
 
            All rights reserved, 
53
 
            use under the restrictions of the 
54
 
            Lesser GNU General Public License 
55
 
           note the additional license information  
56
 
           that can be found in COPYING.ZZIP 
57
 
 </pre></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="rn01re01.html">Prev</a>�</td><td width="20%" align="center"><a accesskey="u" href="index.html">Up</a></td><td width="40%" align="right">�<a accesskey="n" href="rn01re03.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">zzip_rewinddir�</td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top">�zzip_opendir</td></tr></table></div></body></html>
58
 
 
59
 
rn01re03.html/  1060866231  500   0     100664  4222      `
60
 
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
61
 
<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>zzip_opendir</title><meta name="generator" content="DocBook XSL Stylesheets V1.60.1"><link rel="home" href="index.html" title="Manual Pages"><link rel="up" href="index.html" title="Manual Pages"><link rel="previous" href="rn01re02.html" title="zzip_readdir"><link rel="next" href="rn01re04.html" title="zzip_closedir"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">zzip_opendir</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="rn01re02.html">Prev</a>�</td><th width="60%" align="center">�</th><td width="20%" align="right">�<a accesskey="n" href="rn01re04.html">Next</a></td></tr></table><hr></div><div class="refentry" lang="en"><a name="zzip_opendir"></a><div class="titlepage"><div></div><div></div></div><div class="refnamediv"><h2>Name</h2><p> &#8212; (../../zzip/dir.c) zzip_opendir, zzip_opendir_ext_io</p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><pre class="funcsynopsisinfo">
62
 
 #include &lt;zziplib.h&gt;
63
 
</pre><div class="funcsynopsis"><table border="0" summary="Function synopsis" cellspacing="0" cellpadding="0" style="padding-bottom: 1em"><tr><td><code class="funcdef">ZZIP_DIR* 
64
 
 <b class="fsfunc">zzip_opendir</b>(</code></td><td><code>)</code>;</td><td>�</td></tr></table><table border="0" summary="Function argument synopsis" cellspacing="0" cellpadding="0" style="padding-bottom: 1em"><tr><td>�</td><td>;</td></tr></table><table border="0" summary="Function synopsis" cellspacing="0" cellpadding="0" style="padding-bottom: 1em"><tr><td><code class="funcdef">ZZIP_DIR* 
65
 
 <b class="fsfunc">zzip_opendir_ext_io</b>(</code></td><td>, </td><td>�</td></tr><tr><td>�</td><td>, </td><td>�</td></tr><tr><td>�</td><td>, </td><td>�</td></tr><tr><td>�</td><td><code>)</code>;</td><td>�</td></tr></table><table border="0" summary="Function argument synopsis" cellspacing="0" cellpadding="0"><tr><td>�</td><td>;</td></tr><tr><td>�</td><td>;</td></tr><tr><td>�</td><td>;</td></tr><tr><td>�</td><td>;</td></tr></table></div></div><div class="refsect1" lang="en"><h2>Description</h2><p>
66
 
   The zzip_opendir function is the equivalent of <tt class="function">opendir(3)</tt> for a realdir or zipfile. 
67
 
   
68
 
</p><p>
69
 
 
70
 
   The zzip_opendir function has some magic - if the given argument-path 
71
 
   is a directory, it will wrap a real <tt class="function">opendir(3)</tt> into the ZZIP_DIR 
72
 
   structure. Otherwise it will divert to <tt class="function">zzip_dir_open</tt> which  
73
 
   can also attach a &quot;.zip&quot; extension if needed to find the archive. 
74
 
   
75
 
</p><p>
76
 
 
77
 
   the error-code is mapped to <tt class="function">errno(3)</tt>. 
78
 
 
79
 
</p><p>
80
 
   The zzip_opendir_ext_io function uses explicit ext and io instead of the internal  
81
 
   defaults, setting them to zero is equivalent to <tt class="function">zzip_opendir</tt> 
82
 
 
83
 
</p></div><div class="refsect1" lang="en"><h2>Author</h2><div class="itemizedlist"><ul type="disc"><li><p>Guido Draheim  <tt class="email">&lt;<a href="mailto:guidod@gmx.de">guidod@gmx.de</a>&gt;</tt></p></li></ul></div></div><div class="refsect1" lang="en"><h2>Copyright</h2><pre class="screen">
84
 
(c) 1999,2000,2001,2002 Guido Draheim 
85
 
            All rights reserved, 
86
 
            use under the restrictions of the 
87
 
            Lesser GNU General Public License 
88
 
           note the additional license information  
89
 
           that can be found in COPYING.ZZIP 
90
 
 </pre></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="rn01re02.html">Prev</a>�</td><td width="20%" align="center"><a accesskey="u" href="index.html">Up</a></td><td width="40%" align="right">�<a accesskey="n" href="rn01re04.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">zzip_readdir�</td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top">�zzip_closedir</td></tr></table></div></body></html>
91
 
rn01re04.html/  1060866231  500   0     100664  3302      `
92
 
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
93
 
<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>zzip_closedir</title><meta name="generator" content="DocBook XSL Stylesheets V1.60.1"><link rel="home" href="index.html" title="Manual Pages"><link rel="up" href="index.html" title="Manual Pages"><link rel="previous" href="rn01re03.html" title="zzip_opendir"><link rel="next" href="rn01re05.html" title="zzip_strerror"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">zzip_closedir</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="rn01re03.html">Prev</a>�</td><th width="60%" align="center">�</th><td width="20%" align="right">�<a accesskey="n" href="rn01re05.html">Next</a></td></tr></table><hr></div><div class="refentry" lang="en"><a name="zzip_closedir"></a><div class="titlepage"><div></div><div></div></div><div class="refnamediv"><h2>Name</h2><p> &#8212; (../../zzip/dir.c) zzip_closedir</p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><pre class="funcsynopsisinfo">
94
 
 #include &lt;zziplib.h&gt;
95
 
</pre><div class="funcsynopsis"><table border="0" summary="Function synopsis" cellspacing="0" cellpadding="0" style="padding-bottom: 1em"><tr><td><code class="funcdef">int
96
 
 <b class="fsfunc">zzip_closedir</b>(</code></td><td><code>)</code>;</td><td>�</td></tr></table><table border="0" summary="Function argument synopsis" cellspacing="0" cellpadding="0"><tr><td>�</td><td>;</td></tr></table></div></div><div class="refsect1" lang="en"><h2>Description</h2><p>
97
 
   The zzip_closedir function is the equivalent of <tt class="function">closedir(3)</tt> for a realdir or zipfile. 
98
 
   
99
 
</p><p>
100
 
 
101
 
   The zzip_closedir function is magic - if the given arg-ZZIP_DIR 
102
 
   is a real directory, it will call the real <tt class="function">closedir(3)</tt> and then 
103
 
   free the wrapping ZZIP_DIR structure. Otherwise it will divert  
104
 
   to <tt class="function">zzip_dir_close</tt> which will free the ZZIP_DIR structure. 
105
 
 
106
 
</p></div><div class="refsect1" lang="en"><h2>Author</h2><div class="itemizedlist"><ul type="disc"><li><p>Guido Draheim  <tt class="email">&lt;<a href="mailto:guidod@gmx.de">guidod@gmx.de</a>&gt;</tt></p></li></ul></div></div><div class="refsect1" lang="en"><h2>Copyright</h2><pre class="screen">
107
 
(c) 1999,2000,2001,2002 Guido Draheim 
108
 
            All rights reserved, 
109
 
            use under the restrictions of the 
110
 
            Lesser GNU General Public License 
111
 
           note the additional license information  
112
 
           that can be found in COPYING.ZZIP 
113
 
 </pre></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="rn01re03.html">Prev</a>�</td><td width="20%" align="center"><a accesskey="u" href="index.html">Up</a></td><td width="40%" align="right">�<a accesskey="n" href="rn01re05.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">zzip_opendir�</td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top">�zzip_strerror</td></tr></table></div></body></html>
114
 
rn01re05.html/  1060866231  500   0     100664  4063      `
115
 
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
116
 
<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>zzip_strerror</title><meta name="generator" content="DocBook XSL Stylesheets V1.60.1"><link rel="home" href="index.html" title="Manual Pages"><link rel="up" href="index.html" title="Manual Pages"><link rel="previous" href="rn01re04.html" title="zzip_closedir"><link rel="next" href="rn01re06.html" title="zzip_errno"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">zzip_strerror</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="rn01re04.html">Prev</a>�</td><th width="60%" align="center">�</th><td width="20%" align="right">�<a accesskey="n" href="rn01re06.html">Next</a></td></tr></table><hr></div><div class="refentry" lang="en"><a name="zzip_strerror"></a><div class="titlepage"><div></div><div></div></div><div class="refnamediv"><h2>Name</h2><p> &#8212; (../../zzip/err.c) zzip_strerror, zzip_strerror_of</p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><pre class="funcsynopsisinfo">
117
 
 #include &lt;zziplib.h&gt;
118
 
</pre><div class="funcsynopsis"><table border="0" summary="Function synopsis" cellspacing="0" cellpadding="0" style="padding-bottom: 1em"><tr><td><code class="funcdef">zzip_char_t* 
119
 
 <b class="fsfunc">zzip_strerror</b>(</code></td><td><code>)</code>;</td><td>�</td></tr></table><table border="0" summary="Function argument synopsis" cellspacing="0" cellpadding="0" style="padding-bottom: 1em"><tr><td>�</td><td>;</td></tr></table><table border="0" summary="Function synopsis" cellspacing="0" cellpadding="0" style="padding-bottom: 1em"><tr><td><code class="funcdef">zzip_char_t* 
120
 
 <b class="fsfunc">zzip_strerror_of</b>(</code></td><td><code>)</code>;</td><td>�</td></tr></table><table border="0" summary="Function argument synopsis" cellspacing="0" cellpadding="0"><tr><td>�</td><td>;</td></tr></table></div></div><div class="refsect1" lang="en"><h2>Description</h2><p>
121
 
   returns the static string for the given error code. The
122
 
 
123
 
   error code can be either a normal system error (a
124
 
 
125
 
   positive error code will flag this), it can be <tt class="function">libz</tt>
126
 
 
127
 
   error code (a small negative error code will flag this)
128
 
 
129
 
   or it can be an error code from <tt class="function">libzzip</tt>, which is an
130
 
 
131
 
   negative value lower than <tt class="function">ZZIP_ERROR</tt>
132
 
 
133
 
 
134
 
</p><p>
135
 
   The zzip_strerror_of function fetches the errorcode from the <tt class="function">DIR</tt>-handle and 
136
 
 
137
 
   runs it through <tt class="function">zzip_strerror</tt> to obtain the static string
138
 
 
139
 
   describing the error.
140
 
 
141
 
 
142
 
</p></div><div class="refsect1" lang="en"><h2>Author</h2><div class="itemizedlist"><ul type="disc"><li><p>Guido Draheim  <tt class="email">&lt;<a href="mailto:guidod@gmx.de">guidod@gmx.de</a>&gt;</tt></p></li><li><p>Tomi Ollila  <tt class="email">&lt;<a href="mailto:Tomi.Ollila@iki.fi">Tomi.Ollila@iki.fi</a>&gt;</tt></p></li></ul></div></div><div class="refsect1" lang="en"><h2>Copyright</h2><pre class="screen">
143
 
(c) 1999,2000,2001,2002 Guido Draheim
144
 
 
145
 
           All rights reserved,
146
 
 
147
 
           use under the restrictions of the
148
 
 
149
 
           Lesser GNU General Public License
150
 
 
151
 
           note the additional license information 
152
 
 
153
 
           that can be found in COPYING.ZZIP
154
 
 
155
 
 </pre></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="rn01re04.html">Prev</a>�</td><td width="20%" align="center"><a accesskey="u" href="index.html">Up</a></td><td width="40%" align="right">�<a accesskey="n" href="rn01re06.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">zzip_closedir�</td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top">�zzip_errno</td></tr></table></div></body></html>
156
 
 
157
 
rn01re06.html/  1060866231  500   0     100664  3060      `
158
 
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
159
 
<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>zzip_errno</title><meta name="generator" content="DocBook XSL Stylesheets V1.60.1"><link rel="home" href="index.html" title="Manual Pages"><link rel="up" href="index.html" title="Manual Pages"><link rel="previous" href="rn01re05.html" title="zzip_strerror"><link rel="next" href="rn01re07.html" title="zzip_file_close"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">zzip_errno</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="rn01re05.html">Prev</a>�</td><th width="60%" align="center">�</th><td width="20%" align="right">�<a accesskey="n" href="rn01re07.html">Next</a></td></tr></table><hr></div><div class="refentry" lang="en"><a name="zzip_errno"></a><div class="titlepage"><div></div><div></div></div><div class="refnamediv"><h2>Name</h2><p> &#8212; (../../zzip/err.c) zzip_errno</p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><pre class="funcsynopsisinfo">
160
 
 #include &lt;zziplib.h&gt;
161
 
</pre><div class="funcsynopsis"><p><code class="funcdef">int
162
 
 <b class="fsfunc">zzip_errno</b>(</code>
163
 
zzip_errno <code>)</code>;<br>int errcode;</p></div></div><div class="refsect1" lang="en"><h2>Description</h2><p>
164
 
   map the error code to a system error code. This is used
165
 
 
166
 
   for the drop-in replacement functions to return a value
167
 
 
168
 
   that can be interpreted correctly by code sections that
169
 
 
170
 
   are unaware of the fact they their <tt class="function">open(2)</tt> call had been
171
 
 
172
 
   diverted to a file inside a zip-archive.
173
 
 
174
 
 
175
 
</p></div><div class="refsect1" lang="en"><h2>Author</h2><div class="itemizedlist"><ul type="disc"><li><p>Guido Draheim  <tt class="email">&lt;<a href="mailto:guidod@gmx.de">guidod@gmx.de</a>&gt;</tt></p></li><li><p>Tomi Ollila  <tt class="email">&lt;<a href="mailto:Tomi.Ollila@iki.fi">Tomi.Ollila@iki.fi</a>&gt;</tt></p></li></ul></div></div><div class="refsect1" lang="en"><h2>Copyright</h2><pre class="screen">
176
 
(c) 1999,2000,2001,2002 Guido Draheim
177
 
 
178
 
           All rights reserved,
179
 
 
180
 
           use under the restrictions of the
181
 
 
182
 
           Lesser GNU General Public License
183
 
 
184
 
           note the additional license information 
185
 
 
186
 
           that can be found in COPYING.ZZIP
187
 
 
188
 
 </pre></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="rn01re05.html">Prev</a>�</td><td width="20%" align="center"><a accesskey="u" href="index.html">Up</a></td><td width="40%" align="right">�<a accesskey="n" href="rn01re07.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">zzip_strerror�</td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top">�zzip_file_close</td></tr></table></div></body></html>
189
 
rn01re07.html/  1060866231  500   0     100664  3390      `
190
 
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
191
 
<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>zzip_file_close</title><meta name="generator" content="DocBook XSL Stylesheets V1.60.1"><link rel="home" href="index.html" title="Manual Pages"><link rel="up" href="index.html" title="Manual Pages"><link rel="previous" href="rn01re06.html" title="zzip_errno"><link rel="next" href="rn01re08.html" title="zzip_file_open"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">zzip_file_close</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="rn01re06.html">Prev</a>�</td><th width="60%" align="center">�</th><td width="20%" align="right">�<a accesskey="n" href="rn01re08.html">Next</a></td></tr></table><hr></div><div class="refentry" lang="en"><a name="zzip_file_close"></a><div class="titlepage"><div></div><div></div></div><div class="refnamediv"><h2>Name</h2><p> &#8212; (../../zzip/file.c) zzip_file_close</p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><pre class="funcsynopsisinfo">
192
 
 #include &lt;zziplib.h&gt;
193
 
</pre><div class="funcsynopsis"><table border="0" summary="Function synopsis" cellspacing="0" cellpadding="0" style="padding-bottom: 1em"><tr><td><code class="funcdef">int 
194
 
 <b class="fsfunc">zzip_file_close</b>(</code></td><td><code>)</code>;</td><td>�</td></tr></table><table border="0" summary="Function argument synopsis" cellspacing="0" cellpadding="0"><tr><td>�</td><td>;</td></tr></table></div></div><div class="refsect1" lang="en"><h2>Description</h2><p>
195
 
   the direct function of <tt class="function">zzip_close(fp)</tt>. it will cleanup the 
196
 
   inflate-portion of <tt class="function">zlib</tt> and free the structure given. 
197
 
 
198
 
</p><p>
199
 
 
200
 
   it is called quite from the error-cleanup parts 
201
 
   of the various <tt class="function">_open</tt> functions.  
202
 
 
203
 
</p><p>
204
 
 
205
 
   the .refcount is decreased and if zero the fp-&gt;dir is closed just as well. 
206
 
 
207
 
</p></div><div class="refsect1" lang="en"><h2>Author</h2><div class="itemizedlist"><ul type="disc"><li><p>Guido Draheim  <tt class="email">&lt;<a href="mailto:guidod@gmx.de">guidod@gmx.de</a>&gt;</tt></p></li><li><p>Tomi Ollila  <tt class="email">&lt;<a href="mailto:Tomi.Ollila@iki.fi">Tomi.Ollila@iki.fi</a>&gt;</tt></p></li></ul></div></div><div class="refsect1" lang="en"><h2>Copyright</h2><pre class="screen">
208
 
(c) 1999,2000,2001,2002 Guido Draheim 
209
 
           All rights reserved, 
210
 
           use under the restrictions of the 
211
 
           Lesser GNU General Public License 
212
 
           note the additional license information  
213
 
           that can be found in COPYING.ZZIP 
214
 
 </pre></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="rn01re06.html">Prev</a>�</td><td width="20%" align="center"><a accesskey="u" href="index.html">Up</a></td><td width="40%" align="right">�<a accesskey="n" href="rn01re08.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">zzip_errno�</td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top">�zzip_file_open</td></tr></table></div></body></html>
215
 
rn01re08.html/  1060866231  500   0     100664  3575      `
216
 
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
217
 
<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>zzip_file_open</title><meta name="generator" content="DocBook XSL Stylesheets V1.60.1"><link rel="home" href="index.html" title="Manual Pages"><link rel="up" href="index.html" title="Manual Pages"><link rel="previous" href="rn01re07.html" title="zzip_file_close"><link rel="next" href="rn01re09.html" title="zzip_inflate_init"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">zzip_file_open</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="rn01re07.html">Prev</a>�</td><th width="60%" align="center">�</th><td width="20%" align="right">�<a accesskey="n" href="rn01re09.html">Next</a></td></tr></table><hr></div><div class="refentry" lang="en"><a name="zzip_file_open"></a><div class="titlepage"><div></div><div></div></div><div class="refnamediv"><h2>Name</h2><p> &#8212; (../../zzip/file.c) zzip_file_open</p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><pre class="funcsynopsisinfo">
218
 
 #include &lt;zziplib.h&gt;
219
 
</pre><div class="funcsynopsis"><table border="0" summary="Function synopsis" cellspacing="0" cellpadding="0" style="padding-bottom: 1em"><tr><td><code class="funcdef">ZZIP_FILE * 
220
 
 <b class="fsfunc">zzip_file_open</b>(</code></td><td>, </td><td>�</td></tr><tr><td>�</td><td>, </td><td>�</td></tr><tr><td>�</td><td><code>)</code>;</td><td>�</td></tr></table><table border="0" summary="Function argument synopsis" cellspacing="0" cellpadding="0"><tr><td>�</td><td>;</td></tr><tr><td>�</td><td>;</td></tr><tr><td>�</td><td>;</td></tr></table></div></div><div class="refsect1" lang="en"><h2>Description</h2><p>
221
 
   open an <tt class="function">ZZIP_FILE</tt> from an already open <tt class="function">ZZIP_DIR</tt> handle. Since 
222
 
   we have a chance to reuse a cached <tt class="function">buf32k</tt> and <tt class="function">ZZIP_FILE</tt> memchunk 
223
 
   this is the best choice to unpack multiple files. 
224
 
 
225
 
</p><p>
226
 
 
227
 
   Note: the zlib supports 2..15 bit windowsize, hence we provide a 32k 
228
 
         memchunk here... just to be safe. 
229
 
 
230
 
</p></div><div class="refsect1" lang="en"><h2>Author</h2><div class="itemizedlist"><ul type="disc"><li><p>Guido Draheim  <tt class="email">&lt;<a href="mailto:guidod@gmx.de">guidod@gmx.de</a>&gt;</tt></p></li><li><p>Tomi Ollila  <tt class="email">&lt;<a href="mailto:Tomi.Ollila@iki.fi">Tomi.Ollila@iki.fi</a>&gt;</tt></p></li></ul></div></div><div class="refsect1" lang="en"><h2>Copyright</h2><pre class="screen">
231
 
(c) 1999,2000,2001,2002 Guido Draheim 
232
 
           All rights reserved, 
233
 
           use under the restrictions of the 
234
 
           Lesser GNU General Public License 
235
 
           note the additional license information  
236
 
           that can be found in COPYING.ZZIP 
237
 
 </pre></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="rn01re07.html">Prev</a>�</td><td width="20%" align="center"><a accesskey="u" href="index.html">Up</a></td><td width="40%" align="right">�<a accesskey="n" href="rn01re09.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">zzip_file_close�</td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top">�zzip_inflate_init</td></tr></table></div></body></html>
238
 
 
239
 
rn01re09.html/  1060866231  500   0     100664  3233      `
240
 
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
241
 
<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>zzip_inflate_init</title><meta name="generator" content="DocBook XSL Stylesheets V1.60.1"><link rel="home" href="index.html" title="Manual Pages"><link rel="up" href="index.html" title="Manual Pages"><link rel="previous" href="rn01re08.html" title="zzip_file_open"><link rel="next" href="rn01re10.html" title="zzip_fclose"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">zzip_inflate_init</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="rn01re08.html">Prev</a>�</td><th width="60%" align="center">�</th><td width="20%" align="right">�<a accesskey="n" href="rn01re10.html">Next</a></td></tr></table><hr></div><div class="refentry" lang="en"><a name="zzip_inflate_init"></a><div class="titlepage"><div></div><div></div></div><div class="refnamediv"><h2>Name</h2><p> &#8212; (../../zzip/file.c) zzip_inflate_init</p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><pre class="funcsynopsisinfo">
242
 
 #include &lt;zziplib.h&gt;
243
 
</pre><div class="funcsynopsis"><table border="0" summary="Function synopsis" cellspacing="0" cellpadding="0" style="padding-bottom: 1em"><tr><td><code class="funcdef">static int 
244
 
 <b class="fsfunc">zzip_inflate_init</b>(</code></td><td>, </td><td>�</td></tr><tr><td>�</td><td><code>)</code>;</td><td>�</td></tr></table><table border="0" summary="Function argument synopsis" cellspacing="0" cellpadding="0"><tr><td>�</td><td>;</td></tr><tr><td>�</td><td>;</td></tr></table></div></div><div class="refsect1" lang="en"><h2>Description</h2><p>
245
 
    call <tt class="function">inflateInit</tt> and setup fp's iterator variables,  
246
 
    used by lowlevel <tt class="function">_open</tt> functions. 
247
 
 
248
 
</p></div><div class="refsect1" lang="en"><h2>Author</h2><div class="itemizedlist"><ul type="disc"><li><p>Guido Draheim  <tt class="email">&lt;<a href="mailto:guidod@gmx.de">guidod@gmx.de</a>&gt;</tt></p></li><li><p>Tomi Ollila  <tt class="email">&lt;<a href="mailto:Tomi.Ollila@iki.fi">Tomi.Ollila@iki.fi</a>&gt;</tt></p></li></ul></div></div><div class="refsect1" lang="en"><h2>Copyright</h2><pre class="screen">
249
 
(c) 1999,2000,2001,2002 Guido Draheim 
250
 
           All rights reserved, 
251
 
           use under the restrictions of the 
252
 
           Lesser GNU General Public License 
253
 
           note the additional license information  
254
 
           that can be found in COPYING.ZZIP 
255
 
 </pre></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="rn01re08.html">Prev</a>�</td><td width="20%" align="center"><a accesskey="u" href="index.html">Up</a></td><td width="40%" align="right">�<a accesskey="n" href="rn01re10.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">zzip_file_open�</td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top">�zzip_fclose</td></tr></table></div></body></html>
256
 
 
257
 
rn01re10.html/  1060866231  500   0     100664  3619      `
258
 
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
259
 
<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>zzip_fclose</title><meta name="generator" content="DocBook XSL Stylesheets V1.60.1"><link rel="home" href="index.html" title="Manual Pages"><link rel="up" href="index.html" title="Manual Pages"><link rel="previous" href="rn01re09.html" title="zzip_inflate_init"><link rel="next" href="rn01re11.html" title="zzip_file_read"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">zzip_fclose</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="rn01re09.html">Prev</a>�</td><th width="60%" align="center">�</th><td width="20%" align="right">�<a accesskey="n" href="rn01re11.html">Next</a></td></tr></table><hr></div><div class="refentry" lang="en"><a name="zzip_fclose"></a><div class="titlepage"><div></div><div></div></div><div class="refnamediv"><h2>Name</h2><p> &#8212; (../../zzip/file.c) zzip_fclose, zzip_close</p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><pre class="funcsynopsisinfo">
260
 
 #include &lt;zziplib.h&gt;
261
 
</pre><div class="funcsynopsis"><table border="0" summary="Function synopsis" cellspacing="0" cellpadding="0" style="padding-bottom: 1em"><tr><td><code class="funcdef">int 
262
 
 <b class="fsfunc">zzip_fclose</b>(</code></td><td><code>)</code>;</td><td>�</td></tr></table><table border="0" summary="Function argument synopsis" cellspacing="0" cellpadding="0" style="padding-bottom: 1em"><tr><td>�</td><td>;</td></tr></table><table border="0" summary="Function synopsis" cellspacing="0" cellpadding="0" style="padding-bottom: 1em"><tr><td><code class="funcdef">int 
263
 
 <b class="fsfunc">zzip_close</b>(</code></td><td><code>)</code>;</td><td>�</td></tr></table><table border="0" summary="Function argument synopsis" cellspacing="0" cellpadding="0"><tr><td>�</td><td>;</td></tr></table></div></div><div class="refsect1" lang="en"><h2>Description</h2><p>
264
 
   The zzip_fclose function closes the given ZZIP_FILE handle.  
265
 
 
266
 
</p><p>
267
 
 
268
 
   If the ZZIP_FILE wraps a normal stat'fd then it is just that int'fd  
269
 
   that is being closed and the otherwise empty ZZIP_FILE gets freed. 
270
 
 
271
 
</p><p>
272
 
 
273
 
</p></div><div class="refsect1" lang="en"><h2>Author</h2><div class="itemizedlist"><ul type="disc"><li><p>Guido Draheim  <tt class="email">&lt;<a href="mailto:guidod@gmx.de">guidod@gmx.de</a>&gt;</tt></p></li><li><p>Tomi Ollila  <tt class="email">&lt;<a href="mailto:Tomi.Ollila@iki.fi">Tomi.Ollila@iki.fi</a>&gt;</tt></p></li></ul></div></div><div class="refsect1" lang="en"><h2>Copyright</h2><pre class="screen">
274
 
(c) 1999,2000,2001,2002 Guido Draheim 
275
 
           All rights reserved, 
276
 
           use under the restrictions of the 
277
 
           Lesser GNU General Public License 
278
 
           note the additional license information  
279
 
           that can be found in COPYING.ZZIP 
280
 
 </pre></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="rn01re09.html">Prev</a>�</td><td width="20%" align="center"><a accesskey="u" href="index.html">Up</a></td><td width="40%" align="right">�<a accesskey="n" href="rn01re11.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">zzip_inflate_init�</td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top">�zzip_file_read</td></tr></table></div></body></html>
281
 
 
282
 
rn01re11.html/  1060866231  500   0     100664  3858      `
283
 
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
284
 
<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>zzip_file_read</title><meta name="generator" content="DocBook XSL Stylesheets V1.60.1"><link rel="home" href="index.html" title="Manual Pages"><link rel="up" href="index.html" title="Manual Pages"><link rel="previous" href="rn01re10.html" title="zzip_fclose"><link rel="next" href="rn01re12.html" title="zzip_read"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">zzip_file_read</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="rn01re10.html">Prev</a>�</td><th width="60%" align="center">�</th><td width="20%" align="right">�<a accesskey="n" href="rn01re12.html">Next</a></td></tr></table><hr></div><div class="refentry" lang="en"><a name="zzip_file_read"></a><div class="titlepage"><div></div><div></div></div><div class="refnamediv"><h2>Name</h2><p> &#8212; (../../zzip/file.c) zzip_file_read</p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><pre class="funcsynopsisinfo">
285
 
 #include &lt;zziplib.h&gt;
286
 
</pre><div class="funcsynopsis"><table border="0" summary="Function synopsis" cellspacing="0" cellpadding="0" style="padding-bottom: 1em"><tr><td><code class="funcdef">zzip_ssize_t 
287
 
 <b class="fsfunc">zzip_file_read</b>(</code></td><td>, </td><td>�</td></tr><tr><td>�</td><td>, </td><td>�</td></tr><tr><td>�</td><td><code>)</code>;</td><td>�</td></tr></table><table border="0" summary="Function argument synopsis" cellspacing="0" cellpadding="0"><tr><td>�</td><td>;</td></tr><tr><td>�</td><td>;</td></tr><tr><td>�</td><td>;</td></tr></table></div></div><div class="refsect1" lang="en"><h2>Description</h2><p>
288
 
   The zzip_file_read functions read data from zip-contained file. 
289
 
 
290
 
</p><p>
291
 
 
292
 
   It works like <tt class="function">read(2)</tt> and will fill the given buffer with bytes from 
293
 
   the opened file. It will return the number of bytes read, so if the <tt class="function">EOF</tt> 
294
 
   is encountered you will be prompted with the number of bytes actually read. 
295
 
 
296
 
</p><p>
297
 
 
298
 
   This is the routines that needs the <tt class="function">buf32k</tt> buffer, and it would have 
299
 
   need for much more polishing but it does already work quite well. 
300
 
 
301
 
</p><p>
302
 
 
303
 
   Note: the 32K buffer is rather big. The original inflate-algorithm 
304
 
         required just that but the latest zlib would work just fine with 
305
 
         a smaller buffer. 
306
 
 
307
 
</p></div><div class="refsect1" lang="en"><h2>Author</h2><div class="itemizedlist"><ul type="disc"><li><p>Guido Draheim  <tt class="email">&lt;<a href="mailto:guidod@gmx.de">guidod@gmx.de</a>&gt;</tt></p></li><li><p>Tomi Ollila  <tt class="email">&lt;<a href="mailto:Tomi.Ollila@iki.fi">Tomi.Ollila@iki.fi</a>&gt;</tt></p></li></ul></div></div><div class="refsect1" lang="en"><h2>Copyright</h2><pre class="screen">
308
 
(c) 1999,2000,2001,2002 Guido Draheim 
309
 
           All rights reserved, 
310
 
           use under the restrictions of the 
311
 
           Lesser GNU General Public License 
312
 
           note the additional license information  
313
 
           that can be found in COPYING.ZZIP 
314
 
 </pre></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="rn01re10.html">Prev</a>�</td><td width="20%" align="center"><a accesskey="u" href="index.html">Up</a></td><td width="40%" align="right">�<a accesskey="n" href="rn01re12.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">zzip_fclose�</td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top">�zzip_read</td></tr></table></div></body></html>
315
 
rn01re12.html/  1060866231  500   0     100664  4383      `
316
 
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
317
 
<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>zzip_read</title><meta name="generator" content="DocBook XSL Stylesheets V1.60.1"><link rel="home" href="index.html" title="Manual Pages"><link rel="up" href="index.html" title="Manual Pages"><link rel="previous" href="rn01re11.html" title="zzip_file_read"><link rel="next" href="rn01re13.html" title="zzip_fopen"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">zzip_read</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="rn01re11.html">Prev</a>�</td><th width="60%" align="center">�</th><td width="20%" align="right">�<a accesskey="n" href="rn01re13.html">Next</a></td></tr></table><hr></div><div class="refentry" lang="en"><a name="zzip_read"></a><div class="titlepage"><div></div><div></div></div><div class="refnamediv"><h2>Name</h2><p> &#8212; (../../zzip/file.c) zzip_read, zzip_fread</p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><pre class="funcsynopsisinfo">
318
 
 #include &lt;zziplib.h&gt;
319
 
</pre><div class="funcsynopsis"><table border="0" summary="Function synopsis" cellspacing="0" cellpadding="0" style="padding-bottom: 1em"><tr><td><code class="funcdef">zzip_ssize_t
320
 
 <b class="fsfunc">zzip_read</b>(</code></td><td>, </td><td>�</td></tr><tr><td>�</td><td>, </td><td>�</td></tr><tr><td>�</td><td><code>)</code>;</td><td>�</td></tr></table><table border="0" summary="Function argument synopsis" cellspacing="0" cellpadding="0" style="padding-bottom: 1em"><tr><td>�</td><td>;</td></tr><tr><td>�</td><td>;</td></tr><tr><td>�</td><td>;</td></tr></table><table border="0" summary="Function synopsis" cellspacing="0" cellpadding="0" style="padding-bottom: 1em"><tr><td><code class="funcdef">zzip_size_t
321
 
 <b class="fsfunc">zzip_fread</b>(</code></td><td>, </td><td>�</td></tr><tr><td>�</td><td>, </td><td>�</td></tr><tr><td>�</td><td>, </td><td>�</td></tr><tr><td>�</td><td><code>)</code>;</td><td>�</td></tr></table><table border="0" summary="Function argument synopsis" cellspacing="0" cellpadding="0"><tr><td>�</td><td>;</td></tr><tr><td>�</td><td>;</td></tr><tr><td>�</td><td>;</td></tr><tr><td>�</td><td>;</td></tr></table></div></div><div class="refsect1" lang="en"><h2>Description</h2><p>
322
 
   The zzip_read function will read(2) data from a real/zipped file. 
323
 
 
324
 
</p><p>
325
 
 
326
 
   the replacement for <tt class="function">read(2)</tt> will fill the given buffer with bytes from 
327
 
   the opened file. It will return the number of bytes read, so if the EOF 
328
 
   is encountered you will be prompted with the number of bytes actually read. 
329
 
 
330
 
</p><p>
331
 
 
332
 
   If the file-handle is wrapping a stat'able file then it will actually just 
333
 
   perform a normal <tt class="function">read(2)</tt>-call, otherwise <tt class="function">zzip_file_read</tt> is called 
334
 
   to decompress the data stream and any error is mapped to <tt class="function">errno(3)</tt>. 
335
 
 
336
 
</p><p>
337
 
 
338
 
</p></div><div class="refsect1" lang="en"><h2>Author</h2><div class="itemizedlist"><ul type="disc"><li><p>Guido Draheim  <tt class="email">&lt;<a href="mailto:guidod@gmx.de">guidod@gmx.de</a>&gt;</tt></p></li><li><p>Tomi Ollila  <tt class="email">&lt;<a href="mailto:Tomi.Ollila@iki.fi">Tomi.Ollila@iki.fi</a>&gt;</tt></p></li></ul></div></div><div class="refsect1" lang="en"><h2>Copyright</h2><pre class="screen">
339
 
(c) 1999,2000,2001,2002 Guido Draheim 
340
 
           All rights reserved, 
341
 
           use under the restrictions of the 
342
 
           Lesser GNU General Public License 
343
 
           note the additional license information  
344
 
           that can be found in COPYING.ZZIP 
345
 
 </pre></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="rn01re11.html">Prev</a>�</td><td width="20%" align="center"><a accesskey="u" href="index.html">Up</a></td><td width="40%" align="right">�<a accesskey="n" href="rn01re13.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">zzip_file_read�</td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top">�zzip_fopen</td></tr></table></div></body></html>
346
 
 
347
 
rn01re13.html/  1060866231  500   0     100664  7699      `
348
 
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
349
 
<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>zzip_fopen</title><meta name="generator" content="DocBook XSL Stylesheets V1.60.1"><link rel="home" href="index.html" title="Manual Pages"><link rel="up" href="index.html" title="Manual Pages"><link rel="previous" href="rn01re12.html" title="zzip_read"><link rel="next" href="rn01re14.html" title="zzip_open"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">zzip_fopen</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="rn01re12.html">Prev</a>�</td><th width="60%" align="center">�</th><td width="20%" align="right">�<a accesskey="n" href="rn01re14.html">Next</a></td></tr></table><hr></div><div class="refentry" lang="en"><a name="zzip_fopen"></a><div class="titlepage"><div></div><div></div></div><div class="refnamediv"><h2>Name</h2><p> &#8212; (../../zzip/file.c) zzip_fopen, zzip_freopen</p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><pre class="funcsynopsisinfo">
350
 
 #include &lt;zziplib.h&gt;
351
 
</pre><div class="funcsynopsis"><table border="0" summary="Function synopsis" cellspacing="0" cellpadding="0" style="padding-bottom: 1em"><tr><td><code class="funcdef">ZZIP_FILE*
352
 
 <b class="fsfunc">zzip_fopen</b>(</code></td><td>, </td><td>�</td></tr><tr><td>�</td><td><code>)</code>;</td><td>�</td></tr></table><table border="0" summary="Function argument synopsis" cellspacing="0" cellpadding="0" style="padding-bottom: 1em"><tr><td>�</td><td>;</td></tr><tr><td>�</td><td>;</td></tr></table><table border="0" summary="Function synopsis" cellspacing="0" cellpadding="0" style="padding-bottom: 1em"><tr><td><code class="funcdef">ZZIP_FILE*
353
 
 <b class="fsfunc">zzip_freopen</b>(</code></td><td>, </td><td>�</td></tr><tr><td>�</td><td>, </td><td>�</td></tr><tr><td>�</td><td><code>)</code>;</td><td>�</td></tr></table><table border="0" summary="Function argument synopsis" cellspacing="0" cellpadding="0"><tr><td>�</td><td>;</td></tr><tr><td>�</td><td>;</td></tr><tr><td>�</td><td>;</td></tr></table></div></div><div class="refsect1" lang="en"><h2>Description</h2><p>
354
 
   The zzip_fopen function will <tt class="function">fopen(3)</tt> a real/zipped file. 
355
 
 
356
 
</p><p>
357
 
 
358
 
   It has some magic functionality builtin - it will first try to open 
359
 
   the given <span class="emphasis"><em>filename</em></span> as a normal file. If it does not 
360
 
   exist, the given path to the filename (if any) is split into 
361
 
   its directory-part and the file-part. A &quot;.zip&quot; extension is 
362
 
   then added to the directory-part to create the name of a 
363
 
   zip-archive. That zip-archive (if it exists) is being searched 
364
 
   for the file-part, and if found a zzip-handle is returned.  
365
 
 
366
 
</p><p>
367
 
 
368
 
   Note that if the file is found in the normal fs-directory the 
369
 
   returned structure is mostly empty and the <tt class="function">zzip_read</tt> call will 
370
 
   use the libc <tt class="function">read</tt> to obtain data. Otherwise a <tt class="function">zzip_file_open</tt>  
371
 
   is performed and any error mapped to <tt class="function">errno(3)</tt>. 
372
 
 
373
 
</p><p>
374
 
 
375
 
   unlike the posix-wrapper <tt class="function">zzip_open</tt> the mode-argument is 
376
 
   a string which allows for more freedom to support the extra 
377
 
   zzip modes called ZZIP_CASEINSENSITIVE and ZZIP_IGNOREPATH. 
378
 
   Currently, this <tt class="function">zzip_fopen</tt> call will convert the following 
379
 
   characters in the mode-string into their corrsponding mode-bits:  
380
 
    </p><pre class="programlisting">
381
 
<b class="userinput"><tt> &quot;r&quot; : O_RDONLY : </tt></b> read-only 
382
 
   <b class="userinput"><tt> &quot;b&quot; : O_BINARY : </tt></b> binary (win32 specific) 
383
 
   <b class="userinput"><tt> &quot;f&quot; : O_NOCTTY : </tt></b> no char device (unix) 
384
 
   <b class="userinput"><tt> &quot;i&quot; : ZZIP_CASELESS : </tt></b> inside zip file 
385
 
   <b class="userinput"><tt> &quot;*&quot; : ZZIP_NOPATHS : </tt></b> inside zip file only 
386
 
   </pre><p> all other modes will be ignored for zip-contained entries 
387
 
   but they are transferred for compatibility and portability, 
388
 
   including these extra sugar bits: 
389
 
    </p><pre class="programlisting">
390
 
<b class="userinput"><tt> &quot;x&quot; : O_EXCL :</tt></b> fail if file did exist 
391
 
   <b class="userinput"><tt> &quot;s&quot; : O_SYNC :</tt></b> synchronized access 
392
 
   <b class="userinput"><tt> &quot;n&quot; : O_NONBLOCK :</tt></b> nonblocking access 
393
 
   <b class="userinput"><tt> &quot;z#&quot; : compression level :</tt></b> for zlib 
394
 
   <b class="userinput"><tt> &quot;g#&quot; : group access :</tt></b> unix access bits 
395
 
   <b class="userinput"><tt> &quot;u#&quot; : owner access :</tt></b> unix access bits 
396
 
   <b class="userinput"><tt> &quot;o#&quot; : world access :</tt></b> unix access bits 
397
 
   </pre><p>... the access bits are in traditional unix bit format 
398
 
   with 7 = read/write/execute, 6 = read/write, 4 = read-only. 
399
 
 
400
 
</p><p>
401
 
 
402
 
   The default access mode is 0664, and the compression level 
403
 
   is ignored since the lib can not yet write zip files, otherwise 
404
 
   it would be the initialisation value for the zlib deflateInit 
405
 
   where 0 = no-compression, 1 = best-speed, 9 = best-compression. 
406
 
 
407
 
</p><p>
408
 
 
409
 
</p><p>
410
 
 
411
 
   The zzip_freopen function receives an additional argument pointing to 
412
 
   a ZZIP_FILE* being already in use. If this extra argument is 
413
 
   null then the zzip_freopen function is identical with calling <tt class="function">zzip_fopen</tt> 
414
 
 
415
 
</p><p>
416
 
 
417
 
   Per default, the old file stream is closed and only the internal 
418
 
   structures associated with it are kept. These internal structures 
419
 
   may be reused for the return value, and this is a lot quicker when 
420
 
   the filename matches a zipped file that is incidently in the very 
421
 
   same zip arch as the old filename wrapped in the stream struct. 
422
 
 
423
 
</p><p>
424
 
 
425
 
   That's simply because the zip arch's central directory does not  
426
 
   need to be read again. As an extension for the zzip_freopen function, if the  
427
 
   mode-string contains a &quot;q&quot; then the old stream is not closed but 
428
 
   left untouched, instead it is only given as a hint that a new 
429
 
   file handle may share/copy the zip arch structures of the old file 
430
 
   handle if that is possible, i.e when they are in the same zip arch. 
431
 
 
432
 
</p></div><div class="refsect1" lang="en"><h2>Author</h2><div class="itemizedlist"><ul type="disc"><li><p>Guido Draheim  <tt class="email">&lt;<a href="mailto:guidod@gmx.de">guidod@gmx.de</a>&gt;</tt></p></li><li><p>Tomi Ollila  <tt class="email">&lt;<a href="mailto:Tomi.Ollila@iki.fi">Tomi.Ollila@iki.fi</a>&gt;</tt></p></li></ul></div></div><div class="refsect1" lang="en"><h2>Copyright</h2><pre class="screen">
433
 
(c) 1999,2000,2001,2002 Guido Draheim 
434
 
           All rights reserved, 
435
 
           use under the restrictions of the 
436
 
           Lesser GNU General Public License 
437
 
           note the additional license information  
438
 
           that can be found in COPYING.ZZIP 
439
 
 </pre></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="rn01re12.html">Prev</a>�</td><td width="20%" align="center"><a accesskey="u" href="index.html">Up</a></td><td width="40%" align="right">�<a accesskey="n" href="rn01re14.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">zzip_read�</td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top">�zzip_open</td></tr></table></div></body></html>
440
 
 
441
 
rn01re14.html/  1060866231  500   0     100664  7764      `
442
 
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
443
 
<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>zzip_open</title><meta name="generator" content="DocBook XSL Stylesheets V1.60.1"><link rel="home" href="index.html" title="Manual Pages"><link rel="up" href="index.html" title="Manual Pages"><link rel="previous" href="rn01re13.html" title="zzip_fopen"><link rel="next" href="rn01re15.html" title="zzip_rewind"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">zzip_open</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="rn01re13.html">Prev</a>�</td><th width="60%" align="center">�</th><td width="20%" align="right">�<a accesskey="n" href="rn01re15.html">Next</a></td></tr></table><hr></div><div class="refentry" lang="en"><a name="zzip_open"></a><div class="titlepage"><div></div><div></div></div><div class="refnamediv"><h2>Name</h2><p> &#8212; (../../zzip/file.c) zzip_open, zzip_open_ext_io, zzip_open_shared_io</p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><pre class="funcsynopsisinfo">
444
 
 #include &lt;zziplib.h&gt;
445
 
</pre><div class="funcsynopsis"><table border="0" summary="Function synopsis" cellspacing="0" cellpadding="0" style="padding-bottom: 1em"><tr><td><code class="funcdef">ZZIP_FILE*
446
 
 <b class="fsfunc">zzip_open</b>(</code></td><td>, </td><td>�</td></tr><tr><td>�</td><td><code>)</code>;</td><td>�</td></tr></table><table border="0" summary="Function argument synopsis" cellspacing="0" cellpadding="0" style="padding-bottom: 1em"><tr><td>�</td><td>;</td></tr><tr><td>�</td><td>;</td></tr></table><table border="0" summary="Function synopsis" cellspacing="0" cellpadding="0" style="padding-bottom: 1em"><tr><td><code class="funcdef">ZZIP_FILE*
447
 
 <b class="fsfunc">zzip_open_ext_io</b>(</code></td><td>, </td><td>�</td></tr><tr><td>�</td><td>, </td><td>�</td></tr><tr><td>�</td><td>, </td><td>�</td></tr><tr><td>�</td><td>, </td><td>�</td></tr><tr><td>�</td><td><code>)</code>;</td><td>�</td></tr></table><table border="0" summary="Function argument synopsis" cellspacing="0" cellpadding="0" style="padding-bottom: 1em"><tr><td>�</td><td>;</td></tr><tr><td>�</td><td>;</td></tr><tr><td>�</td><td>;</td></tr><tr><td>�</td><td>;</td></tr><tr><td>�</td><td>;</td></tr></table><table border="0" summary="Function synopsis" cellspacing="0" cellpadding="0" style="padding-bottom: 1em"><tr><td><code class="funcdef">ZZIP_FILE*
448
 
 <b class="fsfunc">zzip_open_shared_io</b>(</code></td><td>, </td><td>�</td></tr><tr><td>�</td><td>, </td><td>�</td></tr><tr><td>�</td><td>, </td><td>�</td></tr><tr><td>�</td><td>, </td><td>�</td></tr><tr><td>�</td><td>, </td><td>�</td></tr><tr><td>�</td><td><code>)</code>;</td><td>�</td></tr></table><table border="0" summary="Function argument synopsis" cellspacing="0" cellpadding="0"><tr><td>�</td><td>;</td></tr><tr><td>�</td><td>;</td></tr><tr><td>�</td><td>;</td></tr><tr><td>�</td><td>;</td></tr><tr><td>�</td><td>;</td></tr><tr><td>�</td><td>;</td></tr></table></div></div><div class="refsect1" lang="en"><h2>Description</h2><p>
449
 
   The zzip_open function will <tt class="function">open(2)</tt> a real/zipped file 
450
 
 
451
 
</p><p>
452
 
 
453
 
   It has some magic functionality builtin - it will first try to open 
454
 
   the given <span class="emphasis"><em>filename</em></span> as a normal file. If it does not 
455
 
   exist, the given path to the filename (if any) is split into 
456
 
   its directory-part and the file-part. A &quot;.zip&quot; extension is 
457
 
   then added to the directory-part to create the name of a 
458
 
   zip-archive. That zip-archive (if it exists) is being searched 
459
 
   for the file-part, and if found a zzip-handle is returned.  
460
 
 
461
 
</p><p>
462
 
 
463
 
   Note that if the file is found in the normal fs-directory the 
464
 
   returned structure is mostly empty and the <tt class="function">zzip_read</tt> call will 
465
 
   use the libc <tt class="function">read</tt> to obtain data. Otherwise a <tt class="function">zzip_file_open</tt>  
466
 
   is performed and any error mapped to <tt class="function">errno(3)</tt>. 
467
 
 
468
 
</p><p>
469
 
 
470
 
   There was a possibility to transfer zziplib-specific openmodes 
471
 
   through o_flags but you should please not use them anymore and 
472
 
   look into <tt class="function">zzip_open_ext_io</tt> to submit them down. The zzip_open function 
473
 
   is shallow in that it just extracts the zzipflags and calls </p><pre class="programlisting">
474
 
<b class="userinput"><tt> 
475
 
   zzip_open_ext_io(filename, o_flags, zzipflags|0664, 0, 0) </tt></b></pre><p> 
476
 
   you must stop using this extra functionality (not well known 
477
 
   anyway) since zzip_open might be later usable to open files 
478
 
   for writing in which case the _EXTRAFLAGS will get in conflict. 
479
 
 
480
 
</p><p>
481
 
 
482
 
   compare with  <tt class="function">open(2)</tt> and <tt class="function">zzip_fopen</tt> 
483
 
 
484
 
</p><p>
485
 
 
486
 
</p><p>
487
 
 
488
 
   The zzip_open_ext_io function uses explicit ext and io instead of the internal  
489
 
   defaults, setting them to zero is equivalent to <tt class="function">zzip_open</tt> 
490
 
 
491
 
</p><p>
492
 
 
493
 
   note that the two flag types have been split into an o_flags 
494
 
   (for fcntl-like openflags) and o_modes where the latter shall 
495
 
   carry the zzip_flags and possibly accessmodes for unix filesystems. 
496
 
   Since this version of zziplib can not write zipfiles, it is not 
497
 
   yet used for anything else than zzip-specific modeflags. 
498
 
 
499
 
</p><p>
500
 
 
501
 
</p><p>
502
 
 
503
 
   The zzip_open_shared_io function takes an extra stream argument - if a handle has been 
504
 
   then ext/io can be left null and the new stream handle will pick up  
505
 
   the ext/io. This should be used only in specific environment however  
506
 
   since <tt class="function">zzip_file_real</tt> does not store any ext-sequence. 
507
 
 
508
 
</p><p>
509
 
 
510
 
   The benefit for the zzip_open_shared_io function comes in when the old file handle 
511
 
   was openened from a file within a zip archive. When the new file 
512
 
   is in the same zip archive then the internal zzip_dir structures 
513
 
   will be shared. It is even quicker, as no check needs to be done 
514
 
   anymore trying to guess the zip archive place in the filesystem, 
515
 
   here we just check whether the zip archive's filepath is a prefix 
516
 
   part of the filename to be opened.  
517
 
 
518
 
</p><p>
519
 
 
520
 
   Note that the zzip_open_shared_io function is also used by <tt class="function">zzip_freopen</tt> that 
521
 
   will unshare the old handle, thereby possibly closing the handle. 
522
 
 
523
 
</p></div><div class="refsect1" lang="en"><h2>Author</h2><div class="itemizedlist"><ul type="disc"><li><p>Guido Draheim  <tt class="email">&lt;<a href="mailto:guidod@gmx.de">guidod@gmx.de</a>&gt;</tt></p></li><li><p>Tomi Ollila  <tt class="email">&lt;<a href="mailto:Tomi.Ollila@iki.fi">Tomi.Ollila@iki.fi</a>&gt;</tt></p></li></ul></div></div><div class="refsect1" lang="en"><h2>Copyright</h2><pre class="screen">
524
 
(c) 1999,2000,2001,2002 Guido Draheim 
525
 
           All rights reserved, 
526
 
           use under the restrictions of the 
527
 
           Lesser GNU General Public License 
528
 
           note the additional license information  
529
 
           that can be found in COPYING.ZZIP 
530
 
 </pre></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="rn01re13.html">Prev</a>�</td><td width="20%" align="center"><a accesskey="u" href="index.html">Up</a></td><td width="40%" align="right">�<a accesskey="n" href="rn01re15.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">zzip_fopen�</td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top">�zzip_rewind</td></tr></table></div></body></html>
531
 
rn01re15.html/  1060866231  500   0     100664  3148      `
532
 
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
533
 
<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>zzip_rewind</title><meta name="generator" content="DocBook XSL Stylesheets V1.60.1"><link rel="home" href="index.html" title="Manual Pages"><link rel="up" href="index.html" title="Manual Pages"><link rel="previous" href="rn01re14.html" title="zzip_open"><link rel="next" href="rn01re16.html" title="zzip_seek"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">zzip_rewind</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="rn01re14.html">Prev</a>�</td><th width="60%" align="center">�</th><td width="20%" align="right">�<a accesskey="n" href="rn01re16.html">Next</a></td></tr></table><hr></div><div class="refentry" lang="en"><a name="zzip_rewind"></a><div class="titlepage"><div></div><div></div></div><div class="refnamediv"><h2>Name</h2><p> &#8212; (../../zzip/file.c) zzip_rewind</p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><pre class="funcsynopsisinfo">
534
 
 #include &lt;zziplib.h&gt;
535
 
</pre><div class="funcsynopsis"><table border="0" summary="Function synopsis" cellspacing="0" cellpadding="0" style="padding-bottom: 1em"><tr><td><code class="funcdef">int
536
 
 <b class="fsfunc">zzip_rewind</b>(</code></td><td><code>)</code>;</td><td>�</td></tr></table><table border="0" summary="Function argument synopsis" cellspacing="0" cellpadding="0"><tr><td>�</td><td>;</td></tr></table></div></div><div class="refsect1" lang="en"><h2>Description</h2><p>
537
 
   The zzip_rewind function will rewind a real/zipped file.  
538
 
 
539
 
</p><p>
540
 
 
541
 
   It seeks to the beginning of this file's data in the zip,  
542
 
   or the beginning of the file for a stat'fd. 
543
 
 
544
 
</p></div><div class="refsect1" lang="en"><h2>Author</h2><div class="itemizedlist"><ul type="disc"><li><p>Guido Draheim  <tt class="email">&lt;<a href="mailto:guidod@gmx.de">guidod@gmx.de</a>&gt;</tt></p></li><li><p>Tomi Ollila  <tt class="email">&lt;<a href="mailto:Tomi.Ollila@iki.fi">Tomi.Ollila@iki.fi</a>&gt;</tt></p></li></ul></div></div><div class="refsect1" lang="en"><h2>Copyright</h2><pre class="screen">
545
 
(c) 1999,2000,2001,2002 Guido Draheim 
546
 
           All rights reserved, 
547
 
           use under the restrictions of the 
548
 
           Lesser GNU General Public License 
549
 
           note the additional license information  
550
 
           that can be found in COPYING.ZZIP 
551
 
 </pre></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="rn01re14.html">Prev</a>�</td><td width="20%" align="center"><a accesskey="u" href="index.html">Up</a></td><td width="40%" align="right">�<a accesskey="n" href="rn01re16.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">zzip_open�</td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top">�zzip_seek</td></tr></table></div></body></html>
552
 
rn01re16.html/  1060866231  500   0     100664  3862      `
553
 
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
554
 
<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>zzip_seek</title><meta name="generator" content="DocBook XSL Stylesheets V1.60.1"><link rel="home" href="index.html" title="Manual Pages"><link rel="up" href="index.html" title="Manual Pages"><link rel="previous" href="rn01re15.html" title="zzip_rewind"><link rel="next" href="rn01re17.html" title="zzip_tell"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">zzip_seek</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="rn01re15.html">Prev</a>�</td><th width="60%" align="center">�</th><td width="20%" align="right">�<a accesskey="n" href="rn01re17.html">Next</a></td></tr></table><hr></div><div class="refentry" lang="en"><a name="zzip_seek"></a><div class="titlepage"><div></div><div></div></div><div class="refnamediv"><h2>Name</h2><p> &#8212; (../../zzip/file.c) zzip_seek</p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><pre class="funcsynopsisinfo">
555
 
 #include &lt;zziplib.h&gt;
556
 
</pre><div class="funcsynopsis"><table border="0" summary="Function synopsis" cellspacing="0" cellpadding="0" style="padding-bottom: 1em"><tr><td><code class="funcdef">zzip_off_t
557
 
 <b class="fsfunc">zzip_seek</b>(</code></td><td>, </td><td>�</td></tr><tr><td>�</td><td>, </td><td>�</td></tr><tr><td>�</td><td><code>)</code>;</td><td>�</td></tr></table><table border="0" summary="Function argument synopsis" cellspacing="0" cellpadding="0"><tr><td>�</td><td>;</td></tr><tr><td>�</td><td>;</td></tr><tr><td>�</td><td>;</td></tr></table></div></div><div class="refsect1" lang="en"><h2>Description</h2><p>
558
 
   The zzip_seek function will perform a <tt class="function">lseek(2)</tt> operation on a real/zipped file 
559
 
 
560
 
</p><p>
561
 
 
562
 
   It will try to seek to the offset specified by offset, relative to whence,  
563
 
   which is one of SEEK_SET, SEEK_CUR or SEEK_END. 
564
 
 
565
 
</p><p>
566
 
 
567
 
   If the file-handle is wrapping a stat'able file then it will actually just 
568
 
   perform a normal <tt class="function">lseek(2)</tt>-call. Otherwise the relative offset 
569
 
   is calculated, negative offsets are transformed into positive ones 
570
 
   by rewinding the file, and then data is read until the offset is 
571
 
   reached.  This can make the function terribly slow, but this is 
572
 
   how gzio implements it, so I'm not sure there is a better way 
573
 
   without using the internals of the algorithm. 
574
 
 
575
 
</p></div><div class="refsect1" lang="en"><h2>Author</h2><div class="itemizedlist"><ul type="disc"><li><p>Guido Draheim  <tt class="email">&lt;<a href="mailto:guidod@gmx.de">guidod@gmx.de</a>&gt;</tt></p></li><li><p>Tomi Ollila  <tt class="email">&lt;<a href="mailto:Tomi.Ollila@iki.fi">Tomi.Ollila@iki.fi</a>&gt;</tt></p></li></ul></div></div><div class="refsect1" lang="en"><h2>Copyright</h2><pre class="screen">
576
 
(c) 1999,2000,2001,2002 Guido Draheim 
577
 
           All rights reserved, 
578
 
           use under the restrictions of the 
579
 
           Lesser GNU General Public License 
580
 
           note the additional license information  
581
 
           that can be found in COPYING.ZZIP 
582
 
 </pre></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="rn01re15.html">Prev</a>�</td><td width="20%" align="center"><a accesskey="u" href="index.html">Up</a></td><td width="40%" align="right">�<a accesskey="n" href="rn01re17.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">zzip_rewind�</td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top">�zzip_tell</td></tr></table></div></body></html>
583
 
rn01re17.html/  1060866231  500   0     100664  3469      `
584
 
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
585
 
<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>zzip_tell</title><meta name="generator" content="DocBook XSL Stylesheets V1.60.1"><link rel="home" href="index.html" title="Manual Pages"><link rel="up" href="index.html" title="Manual Pages"><link rel="previous" href="rn01re16.html" title="zzip_seek"><link rel="next" href="rn01re18.html" title="zzip_error"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">zzip_tell</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="rn01re16.html">Prev</a>�</td><th width="60%" align="center">�</th><td width="20%" align="right">�<a accesskey="n" href="rn01re18.html">Next</a></td></tr></table><hr></div><div class="refentry" lang="en"><a name="zzip_tell"></a><div class="titlepage"><div></div><div></div></div><div class="refnamediv"><h2>Name</h2><p> &#8212; (../../zzip/file.c) zzip_tell</p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><pre class="funcsynopsisinfo">
586
 
 #include &lt;zziplib.h&gt;
587
 
</pre><div class="funcsynopsis"><table border="0" summary="Function synopsis" cellspacing="0" cellpadding="0" style="padding-bottom: 1em"><tr><td><code class="funcdef">zzip_off_t
588
 
 <b class="fsfunc">zzip_tell</b>(</code></td><td><code>)</code>;</td><td>�</td></tr></table><table border="0" summary="Function argument synopsis" cellspacing="0" cellpadding="0"><tr><td>�</td><td>;</td></tr></table></div></div><div class="refsect1" lang="en"><h2>Description</h2><p>
589
 
   The zzip_tell function will <tt class="function">tell(2)</tt> the current position in a real/zipped file 
590
 
 
591
 
</p><p>
592
 
 
593
 
   It will return the current offset within the real/zipped file,  
594
 
   measured in uncompressed bytes for the zipped-file case. 
595
 
 
596
 
</p><p>
597
 
 
598
 
   If the file-handle is wrapping a stat'able file then it will actually just 
599
 
   perform a normal <tt class="function">tell(2)</tt>-call, otherwise the offset is 
600
 
   calculated from the amount of data left and the total uncompressed 
601
 
   size; 
602
 
 
603
 
</p></div><div class="refsect1" lang="en"><h2>Author</h2><div class="itemizedlist"><ul type="disc"><li><p>Guido Draheim  <tt class="email">&lt;<a href="mailto:guidod@gmx.de">guidod@gmx.de</a>&gt;</tt></p></li><li><p>Tomi Ollila  <tt class="email">&lt;<a href="mailto:Tomi.Ollila@iki.fi">Tomi.Ollila@iki.fi</a>&gt;</tt></p></li></ul></div></div><div class="refsect1" lang="en"><h2>Copyright</h2><pre class="screen">
604
 
(c) 1999,2000,2001,2002 Guido Draheim 
605
 
           All rights reserved, 
606
 
           use under the restrictions of the 
607
 
           Lesser GNU General Public License 
608
 
           note the additional license information  
609
 
           that can be found in COPYING.ZZIP 
610
 
 </pre></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="rn01re16.html">Prev</a>�</td><td width="20%" align="center"><a accesskey="u" href="index.html">Up</a></td><td width="40%" align="right">�<a accesskey="n" href="rn01re18.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">zzip_seek�</td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top">�zzip_error</td></tr></table></div></body></html>
611
 
 
612
 
rn01re18.html/  1060866231  500   0     100664  3628      `
613
 
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
614
 
<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>zzip_error</title><meta name="generator" content="DocBook XSL Stylesheets V1.60.1"><link rel="home" href="index.html" title="Manual Pages"><link rel="up" href="index.html" title="Manual Pages"><link rel="previous" href="rn01re17.html" title="zzip_tell"><link rel="next" href="rn01re19.html" title="zzip_dirhandle"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">zzip_error</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="rn01re17.html">Prev</a>�</td><th width="60%" align="center">�</th><td width="20%" align="right">�<a accesskey="n" href="rn01re19.html">Next</a></td></tr></table><hr></div><div class="refentry" lang="en"><a name="zzip_error"></a><div class="titlepage"><div></div><div></div></div><div class="refnamediv"><h2>Name</h2><p> &#8212; (../../zzip/info.c) zzip_error, zzip_seterror</p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><pre class="funcsynopsisinfo">
615
 
 #include &lt;zziplib.h&gt;
616
 
</pre><div class="funcsynopsis"><table border="0" summary="Function synopsis" cellspacing="0" cellpadding="0" style="padding-bottom: 1em"><tr><td><code class="funcdef">int 
617
 
 <b class="fsfunc">zzip_error</b>(</code></td><td><code>)</code>;</td><td>�</td></tr></table><table border="0" summary="Function argument synopsis" cellspacing="0" cellpadding="0" style="padding-bottom: 1em"><tr><td>�</td><td>;</td></tr></table><table border="0" summary="Function synopsis" cellspacing="0" cellpadding="0" style="padding-bottom: 1em"><tr><td><code class="funcdef">void 
618
 
 <b class="fsfunc">zzip_seterror</b>(</code></td><td>, </td><td>�</td></tr><tr><td>�</td><td><code>)</code>;</td><td>�</td></tr></table><table border="0" summary="Function argument synopsis" cellspacing="0" cellpadding="0"><tr><td>�</td><td>;</td></tr><tr><td>�</td><td>;</td></tr></table></div></div><div class="refsect1" lang="en"><h2>Description</h2><p>
619
 
    just returns dir-&gt;errcode of the ZZIP_DIR handle  
620
 
    see: <tt class="function">zzip_dir_open</tt>, <tt class="function">zzip_diropen</tt>, <tt class="function">zzip_readdir</tt>, <tt class="function">zzip_dir_read</tt> 
621
 
 
622
 
</p><p>
623
 
    The zzip_seterror function just does dir-&gt;errcode = errcode  
624
 
 
625
 
</p></div><div class="refsect1" lang="en"><h2>Author</h2><div class="itemizedlist"><ul type="disc"><li><p>Guido Draheim  <tt class="email">&lt;<a href="mailto:guidod@gmx.de">guidod@gmx.de</a>&gt;</tt></p></li></ul></div></div><div class="refsect1" lang="en"><h2>Copyright</h2><pre class="screen">
626
 
(c) 2000,2001,2002 Guido Draheim 
627
 
           All rights reserved, 
628
 
           use under the restrictions of the 
629
 
           Lesser GNU General Public License 
630
 
           note the additional license information  
631
 
           that can be found in COPYING.ZZIP 
632
 
 </pre></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="rn01re17.html">Prev</a>�</td><td width="20%" align="center"><a accesskey="u" href="index.html">Up</a></td><td width="40%" align="right">�<a accesskey="n" href="rn01re19.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">zzip_tell�</td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top">�zzip_dirhandle</td></tr></table></div></body></html>
633
 
rn01re19.html/  1060866231  500   0     100664  3795      `
634
 
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
635
 
<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>zzip_dirhandle</title><meta name="generator" content="DocBook XSL Stylesheets V1.60.1"><link rel="home" href="index.html" title="Manual Pages"><link rel="up" href="index.html" title="Manual Pages"><link rel="previous" href="rn01re18.html" title="zzip_error"><link rel="next" href="rn01re20.html" title="zzip_compr_str"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">zzip_dirhandle</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="rn01re18.html">Prev</a>�</td><th width="60%" align="center">�</th><td width="20%" align="right">�<a accesskey="n" href="rn01re20.html">Next</a></td></tr></table><hr></div><div class="refentry" lang="en"><a name="zzip_dirhandle"></a><div class="titlepage"><div></div><div></div></div><div class="refnamediv"><h2>Name</h2><p> &#8212; (../../zzip/info.c) zzip_dirhandle, zzip_dirfd</p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><pre class="funcsynopsisinfo">
636
 
 #include &lt;zziplib.h&gt;
637
 
</pre><div class="funcsynopsis"><table border="0" summary="Function synopsis" cellspacing="0" cellpadding="0" style="padding-bottom: 1em"><tr><td><code class="funcdef">ZZIP_DIR * 
638
 
 <b class="fsfunc">zzip_dirhandle</b>(</code></td><td><code>)</code>;</td><td>�</td></tr></table><table border="0" summary="Function argument synopsis" cellspacing="0" cellpadding="0" style="padding-bottom: 1em"><tr><td>�</td><td>;</td></tr></table><table border="0" summary="Function synopsis" cellspacing="0" cellpadding="0" style="padding-bottom: 1em"><tr><td><code class="funcdef">int 
639
 
 <b class="fsfunc">zzip_dirfd</b>(</code></td><td><code>)</code>;</td><td>�</td></tr></table><table border="0" summary="Function argument synopsis" cellspacing="0" cellpadding="0"><tr><td>�</td><td>;</td></tr></table></div></div><div class="refsect1" lang="en"><h2>Description</h2><p>
640
 
   The zzip_dirhandle function will just return fp-&gt;dir  
641
 
 
642
 
</p><p>
643
 
 
644
 
   If a ZZIP_FILE is contained within a zip-file that one will be a valid 
645
 
   pointer, otherwise a NULL is returned and the ZZIP_FILE wraps a real file. 
646
 
 
647
 
</p><p>
648
 
    The zzip_dirfd function will just return dir-&gt;fd  
649
 
 
650
 
</p><p>
651
 
 
652
 
   If a ZZIP_DIR does point to a zipfile then the file-descriptor of that 
653
 
   zipfile is returned, otherwise a NULL is returned and the ZZIP_DIR wraps  
654
 
   a real directory DIR (if you have dirent on your system). 
655
 
 
656
 
</p></div><div class="refsect1" lang="en"><h2>Author</h2><div class="itemizedlist"><ul type="disc"><li><p>Guido Draheim  <tt class="email">&lt;<a href="mailto:guidod@gmx.de">guidod@gmx.de</a>&gt;</tt></p></li></ul></div></div><div class="refsect1" lang="en"><h2>Copyright</h2><pre class="screen">
657
 
(c) 2000,2001,2002 Guido Draheim 
658
 
           All rights reserved, 
659
 
           use under the restrictions of the 
660
 
           Lesser GNU General Public License 
661
 
           note the additional license information  
662
 
           that can be found in COPYING.ZZIP 
663
 
 </pre></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="rn01re18.html">Prev</a>�</td><td width="20%" align="center"><a accesskey="u" href="index.html">Up</a></td><td width="40%" align="right">�<a accesskey="n" href="rn01re20.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">zzip_error�</td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top">�zzip_compr_str</td></tr></table></div></body></html>
664
 
 
665
 
rn01re20.html/  1060866231  500   0     100664  3000      `
666
 
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
667
 
<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>zzip_compr_str</title><meta name="generator" content="DocBook XSL Stylesheets V1.60.1"><link rel="home" href="index.html" title="Manual Pages"><link rel="up" href="index.html" title="Manual Pages"><link rel="previous" href="rn01re19.html" title="zzip_dirhandle"><link rel="next" href="rn01re21.html" title="zzip_file_real"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">zzip_compr_str</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="rn01re19.html">Prev</a>�</td><th width="60%" align="center">�</th><td width="20%" align="right">�<a accesskey="n" href="rn01re21.html">Next</a></td></tr></table><hr></div><div class="refentry" lang="en"><a name="zzip_compr_str"></a><div class="titlepage"><div></div><div></div></div><div class="refnamediv"><h2>Name</h2><p> &#8212; (../../zzip/info.c) zzip_compr_str</p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><pre class="funcsynopsisinfo">
668
 
 #include &lt;zziplib.h&gt;
669
 
</pre><div class="funcsynopsis"><table border="0" summary="Function synopsis" cellspacing="0" cellpadding="0" style="padding-bottom: 1em"><tr><td><code class="funcdef">zzip_char_t*
670
 
 <b class="fsfunc">zzip_compr_str</b>(</code></td><td><code>)</code>;</td><td>�</td></tr></table><table border="0" summary="Function argument synopsis" cellspacing="0" cellpadding="0"><tr><td>�</td><td>;</td></tr></table></div></div><div class="refsect1" lang="en"><h2>Description</h2><p>
671
 
   return static const string of the known compression methods,  
672
 
   otherwise just &quot;zipped&quot; is returned 
673
 
 
674
 
</p></div><div class="refsect1" lang="en"><h2>Author</h2><div class="itemizedlist"><ul type="disc"><li><p>Guido Draheim  <tt class="email">&lt;<a href="mailto:guidod@gmx.de">guidod@gmx.de</a>&gt;</tt></p></li></ul></div></div><div class="refsect1" lang="en"><h2>Copyright</h2><pre class="screen">
675
 
(c) 2000,2001,2002 Guido Draheim 
676
 
           All rights reserved, 
677
 
           use under the restrictions of the 
678
 
           Lesser GNU General Public License 
679
 
           note the additional license information  
680
 
           that can be found in COPYING.ZZIP 
681
 
 </pre></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="rn01re19.html">Prev</a>�</td><td width="20%" align="center"><a accesskey="u" href="index.html">Up</a></td><td width="40%" align="right">�<a accesskey="n" href="rn01re21.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">zzip_dirhandle�</td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top">�zzip_file_real</td></tr></table></div></body></html>
682
 
rn01re21.html/  1060866231  500   0     100664  4871      `
683
 
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
684
 
<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>zzip_file_real</title><meta name="generator" content="DocBook XSL Stylesheets V1.60.1"><link rel="home" href="index.html" title="Manual Pages"><link rel="up" href="index.html" title="Manual Pages"><link rel="previous" href="rn01re20.html" title="zzip_compr_str"><link rel="next" href="rn01re22.html" title="zzip_init_io"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">zzip_file_real</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="rn01re20.html">Prev</a>�</td><th width="60%" align="center">�</th><td width="20%" align="right">�<a accesskey="n" href="rn01re22.html">Next</a></td></tr></table><hr></div><div class="refentry" lang="en"><a name="zzip_file_real"></a><div class="titlepage"><div></div><div></div></div><div class="refnamediv"><h2>Name</h2><p> &#8212; (../../zzip/info.c) zzip_file_real, zzip_dir_real, zzip_realdir, zzip_realfd</p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><pre class="funcsynopsisinfo">
685
 
 #include &lt;zziplib.h&gt;
686
 
</pre><div class="funcsynopsis"><table border="0" summary="Function synopsis" cellspacing="0" cellpadding="0" style="padding-bottom: 1em"><tr><td><code class="funcdef">int
687
 
 <b class="fsfunc">zzip_file_real</b>(</code></td><td><code>)</code>;</td><td>�</td></tr></table><table border="0" summary="Function argument synopsis" cellspacing="0" cellpadding="0" style="padding-bottom: 1em"><tr><td>�</td><td>;</td></tr></table><table border="0" summary="Function synopsis" cellspacing="0" cellpadding="0" style="padding-bottom: 1em"><tr><td><code class="funcdef">int
688
 
 <b class="fsfunc">zzip_dir_real</b>(</code></td><td><code>)</code>;</td><td>�</td></tr></table><table border="0" summary="Function argument synopsis" cellspacing="0" cellpadding="0" style="padding-bottom: 1em"><tr><td>�</td><td>;</td></tr></table><table border="0" summary="Function synopsis" cellspacing="0" cellpadding="0" style="padding-bottom: 1em"><tr><td><code class="funcdef">void*
689
 
 <b class="fsfunc">zzip_realdir</b>(</code></td><td><code>)</code>;</td><td>�</td></tr></table><table border="0" summary="Function argument synopsis" cellspacing="0" cellpadding="0" style="padding-bottom: 1em"><tr><td>�</td><td>;</td></tr></table><table border="0" summary="Function synopsis" cellspacing="0" cellpadding="0" style="padding-bottom: 1em"><tr><td><code class="funcdef">int
690
 
 <b class="fsfunc">zzip_realfd</b>(</code></td><td><code>)</code>;</td><td>�</td></tr></table><table border="0" summary="Function argument synopsis" cellspacing="0" cellpadding="0"><tr><td>�</td><td>;</td></tr></table></div></div><div class="refsect1" lang="en"><h2>Description</h2><p>
691
 
   The zzip_file_real function checks if the ZZIP_FILE-handle is wrapping  
692
 
   a real file or a zip-contained file.  
693
 
   Returns 1 for a stat'able file, and 0 for a file inside a zip-archive. 
694
 
 
695
 
</p><p>
696
 
   The zzip_dir_real function checks if the ZZIP_DIR-handle is wrapping  
697
 
   a real directory or a zip-archive.  
698
 
   Returns 1 for a stat'able directory, and 0 for a handle to zip-archive. 
699
 
 
700
 
</p><p>
701
 
   The zzip_realdir function returns the posix DIR* handle (if one exists). 
702
 
   Check before with <tt class="function">zzip_dir_real</tt> if the 
703
 
   the ZZIP_DIR points to a real directory. 
704
 
 
705
 
</p><p>
706
 
   The zzip_realfd function returns the posix file descriptor (if one exists). 
707
 
   Check before with <tt class="function">zzip_file_real</tt> if the 
708
 
   the ZZIP_FILE points to a real file. 
709
 
 
710
 
</p></div><div class="refsect1" lang="en"><h2>Author</h2><div class="itemizedlist"><ul type="disc"><li><p>Guido Draheim  <tt class="email">&lt;<a href="mailto:guidod@gmx.de">guidod@gmx.de</a>&gt;</tt></p></li></ul></div></div><div class="refsect1" lang="en"><h2>Copyright</h2><pre class="screen">
711
 
(c) 2000,2001,2002 Guido Draheim 
712
 
           All rights reserved, 
713
 
           use under the restrictions of the 
714
 
           Lesser GNU General Public License 
715
 
           note the additional license information  
716
 
           that can be found in COPYING.ZZIP 
717
 
 </pre></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="rn01re20.html">Prev</a>�</td><td width="20%" align="center"><a accesskey="u" href="index.html">Up</a></td><td width="40%" align="right">�<a accesskey="n" href="rn01re22.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">zzip_compr_str�</td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top">�zzip_init_io</td></tr></table></div></body></html>
718
 
 
719
 
rn01re22.html/  1060866231  500   0     100664  3775      `
720
 
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
721
 
<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>zzip_init_io</title><meta name="generator" content="DocBook XSL Stylesheets V1.60.1"><link rel="home" href="index.html" title="Manual Pages"><link rel="up" href="index.html" title="Manual Pages"><link rel="previous" href="rn01re21.html" title="zzip_file_real"><link rel="next" href="rn01re23.html" title="zzip_dir_stat"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">zzip_init_io</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="rn01re21.html">Prev</a>�</td><th width="60%" align="center">�</th><td width="20%" align="right">�<a accesskey="n" href="rn01re23.html">Next</a></td></tr></table><hr></div><div class="refentry" lang="en"><a name="zzip_init_io"></a><div class="titlepage"><div></div><div></div></div><div class="refnamediv"><h2>Name</h2><p> &#8212; (../../zzip/plugin.c) zzip_init_io, zzip_get_default_io</p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><pre class="funcsynopsisinfo">
722
 
 #include &lt;zziplib.h&gt;
723
 
</pre><div class="funcsynopsis"><table border="0" summary="Function synopsis" cellspacing="0" cellpadding="0" style="padding-bottom: 1em"><tr><td><code class="funcdef">int  <b class="fsfunc">zzip_init_io</b>(</code></td><td>, </td><td>�</td></tr><tr><td>�</td><td><code>)</code>;</td><td>�</td></tr></table><table border="0" summary="Function argument synopsis" cellspacing="0" cellpadding="0" style="padding-bottom: 1em"><tr><td>�</td><td>;</td></tr><tr><td>�</td><td>;</td></tr></table><table border="0" summary="Function synopsis" cellspacing="0" cellpadding="0" style="padding-bottom: 1em"><tr><td><code class="funcdef">zzip_plugin_io_t
724
 
 <b class="fsfunc">zzip_get_default_io</b>(</code></td><td><code>)</code>;</td><td>�</td></tr></table><table border="0" summary="Function argument synopsis" cellspacing="0" cellpadding="0"><tr><td>�</td><td>;</td></tr></table></div></div><div class="refsect1" lang="en"><h2>Description</h2><p>
725
 
   The zzip_init_io function initializes the users handler struct to default values  
726
 
   being the posix io functions in default configured environments. 
727
 
 
728
 
</p><p>
729
 
   The zzip_get_default_io function returns a zzip_plugin_io_t handle to static defaults 
730
 
   wrapping the posix io file functions for actual file access. 
731
 
 
732
 
</p></div><div class="refsect1" lang="en"><h2>Author</h2><div class="itemizedlist"><ul type="disc"><li><p>Guido Draheim  <tt class="email">&lt;<a href="mailto:guidod@gmx.de">guidod@gmx.de</a>&gt;</tt></p></li><li><p>Mike Nordell  <tt class="email">&lt;<a href="mailto:tamlin@algonet.se">tamlin@algonet.se</a>&gt;</tt></p></li></ul></div></div><div class="refsect1" lang="en"><h2>Copyright</h2><pre class="screen">
733
 
(c) 2002 Guido Draheim 
734
 
            All rights reserved, 
735
 
            use under the restrictions of the 
736
 
            Lesser GNU General Public License 
737
 
           note the additional license information  
738
 
           that can be found in COPYING.ZZIP 
739
 
 </pre></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="rn01re21.html">Prev</a>�</td><td width="20%" align="center"><a accesskey="u" href="index.html">Up</a></td><td width="40%" align="right">�<a accesskey="n" href="rn01re23.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">zzip_file_real�</td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top">�zzip_dir_stat</td></tr></table></div></body></html>
740
 
 
741
 
rn01re23.html/  1060866231  500   0     100664  3408      `
742
 
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
743
 
<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>zzip_dir_stat</title><meta name="generator" content="DocBook XSL Stylesheets V1.60.1"><link rel="home" href="index.html" title="Manual Pages"><link rel="up" href="index.html" title="Manual Pages"><link rel="previous" href="rn01re22.html" title="zzip_init_io"><link rel="next" href="rn01re24.html" title="__zzip_get32"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">zzip_dir_stat</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="rn01re22.html">Prev</a>�</td><th width="60%" align="center">�</th><td width="20%" align="right">�<a accesskey="n" href="rn01re24.html">Next</a></td></tr></table><hr></div><div class="refentry" lang="en"><a name="zzip_dir_stat"></a><div class="titlepage"><div></div><div></div></div><div class="refnamediv"><h2>Name</h2><p> &#8212; (../../zzip/stat.c) zzip_dir_stat</p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><pre class="funcsynopsisinfo">
744
 
 #include &lt;zziplib.h&gt;
745
 
</pre><div class="funcsynopsis"><table border="0" summary="Function synopsis" cellspacing="0" cellpadding="0" style="padding-bottom: 1em"><tr><td><code class="funcdef">int 
746
 
 <b class="fsfunc">zzip_dir_stat</b>(</code></td><td>, </td><td>�</td></tr><tr><td>�</td><td>, </td><td>�</td></tr><tr><td>�</td><td>, </td><td>�</td></tr><tr><td>�</td><td><code>)</code>;</td><td>�</td></tr></table><table border="0" summary="Function argument synopsis" cellspacing="0" cellpadding="0"><tr><td>�</td><td>;</td></tr><tr><td>�</td><td>;</td></tr><tr><td>�</td><td>;</td></tr><tr><td>�</td><td>;</td></tr></table></div></div><div class="refsect1" lang="en"><h2>Description</h2><p>
747
 
   obtain information about a filename in an opened zip-archive without  
748
 
   opening that file first. Mostly used to obtain the uncompressed  
749
 
   size of a file inside a zip-archive. see <tt class="function">zzip_dir_open</tt>. 
750
 
 
751
 
</p></div><div class="refsect1" lang="en"><h2>Author</h2><div class="itemizedlist"><ul type="disc"><li><p>Guido Draheim  <tt class="email">&lt;<a href="mailto:guidod@gmx.de">guidod@gmx.de</a>&gt;</tt></p></li><li><p>Tomi Ollila  <tt class="email">&lt;<a href="mailto:Tomi.Ollila@iki.fi">Tomi.Ollila@iki.fi</a>&gt;</tt></p></li></ul></div></div><div class="refsect1" lang="en"><h2>Copyright</h2><pre class="screen">
752
 
(c) 1999,2000,2001,2002 Guido Draheim 
753
 
            All rights reserved, 
754
 
            use under the restrictions of the 
755
 
            Lesser GNU General Public License 
756
 
           note the additional license information  
757
 
           that can be found in COPYING.ZZIP 
758
 
 </pre></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="rn01re22.html">Prev</a>�</td><td width="20%" align="center"><a accesskey="u" href="index.html">Up</a></td><td width="40%" align="right">�<a accesskey="n" href="rn01re24.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">zzip_init_io�</td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top">�__zzip_get32</td></tr></table></div></body></html>
759
 
rn01re24.html/  1060866231  500   0     100664  3152      `
760
 
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
761
 
<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>__zzip_get32</title><meta name="generator" content="DocBook XSL Stylesheets V1.60.1"><link rel="home" href="index.html" title="Manual Pages"><link rel="up" href="index.html" title="Manual Pages"><link rel="previous" href="rn01re23.html" title="zzip_dir_stat"><link rel="next" href="rn01re25.html" title="__zzip_find_disk_trailer"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">__zzip_get32</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="rn01re23.html">Prev</a>�</td><th width="60%" align="center">�</th><td width="20%" align="right">�<a accesskey="n" href="rn01re25.html">Next</a></td></tr></table><hr></div><div class="refentry" lang="en"><a name="__zzip_get32"></a><div class="titlepage"><div></div><div></div></div><div class="refnamediv"><h2>Name</h2><p> &#8212; (../../zzip/zip.c) __zzip_get32</p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><pre class="funcsynopsisinfo">
762
 
 #include &lt;zziplib.h&gt;
763
 
</pre><div class="funcsynopsis"><table border="0" summary="Function synopsis" cellspacing="0" cellpadding="0" style="padding-bottom: 1em"><tr><td><code class="funcdef">uint32_t  <b class="fsfunc">__zzip_get32</b>(</code></td><td><code>)</code>;</td><td>�</td></tr></table><table border="0" summary="Function argument synopsis" cellspacing="0" cellpadding="0"><tr><td>�</td><td>;</td></tr></table></div></div><div class="refsect1" lang="en"><h2>Description</h2><p>
764
 
   Make 32 bit value in host byteorder from little-endian mapped octet-data 
765
 
   (works also on machines which SIGBUS on misaligned data access (eg. 68000)) 
766
 
 
767
 
</p></div><div class="refsect1" lang="en"><h2>Author</h2><div class="itemizedlist"><ul type="disc"><li><p>Guido Draheim  <tt class="email">&lt;<a href="mailto:guidod@gmx.de">guidod@gmx.de</a>&gt;</tt></p></li><li><p>Tomi Ollila  <tt class="email">&lt;<a href="mailto:too@iki.fi">too@iki.fi</a>&gt;</tt></p></li></ul></div></div><div class="refsect1" lang="en"><h2>Copyright</h2><pre class="screen">
768
 
(c) 1999,2000,2001,2002 Guido Draheim 
769
 
           All rights reserved, 
770
 
           use under the restrictions of the  
771
 
           Lesser GNU General Public License 
772
 
           note the additional license information  
773
 
           that can be found in COPYING.ZZIP 
774
 
 </pre></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="rn01re23.html">Prev</a>�</td><td width="20%" align="center"><a accesskey="u" href="index.html">Up</a></td><td width="40%" align="right">�<a accesskey="n" href="rn01re25.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">zzip_dir_stat�</td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top">�__zzip_find_disk_trailer</td></tr></table></div></body></html>
775
 
rn01re25.html/  1060866231  500   0     100664  3468      `
776
 
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
777
 
<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>__zzip_find_disk_trailer</title><meta name="generator" content="DocBook XSL Stylesheets V1.60.1"><link rel="home" href="index.html" title="Manual Pages"><link rel="up" href="index.html" title="Manual Pages"><link rel="previous" href="rn01re24.html" title="__zzip_get32"><link rel="next" href="rn01re26.html" title="__zzip_parse_root_directory"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">__zzip_find_disk_trailer</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="rn01re24.html">Prev</a>�</td><th width="60%" align="center">�</th><td width="20%" align="right">�<a accesskey="n" href="rn01re26.html">Next</a></td></tr></table><hr></div><div class="refentry" lang="en"><a name="__zzip_find_disk_trailer"></a><div class="titlepage"><div></div><div></div></div><div class="refnamediv"><h2>Name</h2><p> &#8212; (../../zzip/zip.c) __zzip_find_disk_trailer</p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><pre class="funcsynopsisinfo">
778
 
 #include &lt;zziplib.h&gt;
779
 
</pre><div class="funcsynopsis"><table border="0" summary="Function synopsis" cellspacing="0" cellpadding="0" style="padding-bottom: 1em"><tr><td><code class="funcdef">int 
780
 
 <b class="fsfunc">__zzip_find_disk_trailer</b>(</code></td><td>, </td><td>�</td></tr><tr><td>�</td><td>, </td><td>�</td></tr><tr><td>�</td><td>, </td><td>�</td></tr><tr><td>�</td><td><code>)</code>;</td><td>�</td></tr></table><table border="0" summary="Function argument synopsis" cellspacing="0" cellpadding="0"><tr><td>�</td><td>;</td></tr><tr><td>�</td><td>;</td></tr><tr><td>�</td><td>;</td></tr><tr><td>�</td><td>;</td></tr></table></div></div><div class="refsect1" lang="en"><h2>Description</h2><p>
781
 
   The __zzip_find_disk_trailer function is used by <tt class="function">zzip_file_open</tt>. It tries to find 
782
 
   the zip's central directory info that is usually a few 
783
 
   bytes off the end of the file. 
784
 
 
785
 
</p></div><div class="refsect1" lang="en"><h2>Author</h2><div class="itemizedlist"><ul type="disc"><li><p>Guido Draheim  <tt class="email">&lt;<a href="mailto:guidod@gmx.de">guidod@gmx.de</a>&gt;</tt></p></li><li><p>Tomi Ollila  <tt class="email">&lt;<a href="mailto:too@iki.fi">too@iki.fi</a>&gt;</tt></p></li></ul></div></div><div class="refsect1" lang="en"><h2>Copyright</h2><pre class="screen">
786
 
(c) 1999,2000,2001,2002 Guido Draheim 
787
 
           All rights reserved, 
788
 
           use under the restrictions of the  
789
 
           Lesser GNU General Public License 
790
 
           note the additional license information  
791
 
           that can be found in COPYING.ZZIP 
792
 
 </pre></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="rn01re24.html">Prev</a>�</td><td width="20%" align="center"><a accesskey="u" href="index.html">Up</a></td><td width="40%" align="right">�<a accesskey="n" href="rn01re26.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">__zzip_get32�</td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top">�__zzip_parse_root_directory</td></tr></table></div></body></html>
793
 
rn01re26.html/  1060866231  500   0     100664  3588      `
794
 
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
795
 
<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>__zzip_parse_root_directory</title><meta name="generator" content="DocBook XSL Stylesheets V1.60.1"><link rel="home" href="index.html" title="Manual Pages"><link rel="up" href="index.html" title="Manual Pages"><link rel="previous" href="rn01re25.html" title="__zzip_find_disk_trailer"><link rel="next" href="rn01re27.html" title="zzip_dir_alloc_ext_io"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">__zzip_parse_root_directory</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="rn01re25.html">Prev</a>�</td><th width="60%" align="center">�</th><td width="20%" align="right">�<a accesskey="n" href="rn01re27.html">Next</a></td></tr></table><hr></div><div class="refentry" lang="en"><a name="__zzip_parse_root_directory"></a><div class="titlepage"><div></div><div></div></div><div class="refnamediv"><h2>Name</h2><p> &#8212; (../../zzip/zip.c) __zzip_parse_root_directory</p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><pre class="funcsynopsisinfo">
796
 
 #include &lt;zziplib.h&gt;
797
 
</pre><div class="funcsynopsis"><table border="0" summary="Function synopsis" cellspacing="0" cellpadding="0" style="padding-bottom: 1em"><tr><td><code class="funcdef">int 
798
 
 <b class="fsfunc">__zzip_parse_root_directory</b>(</code></td><td>, </td><td>�</td></tr><tr><td>�</td><td>, </td><td>�</td></tr><tr><td>�</td><td>, </td><td>�</td></tr><tr><td>�</td><td><code>)</code>;</td><td>�</td></tr></table><table border="0" summary="Function argument synopsis" cellspacing="0" cellpadding="0"><tr><td>�</td><td>;</td></tr><tr><td>�</td><td>;</td></tr><tr><td>�</td><td>;</td></tr><tr><td>�</td><td>;</td></tr></table></div></div><div class="refsect1" lang="en"><h2>Description</h2><p>
799
 
   The __zzip_parse_root_directory function is used by <tt class="function">zzip_file_open</tt>, it is usually called after 
800
 
   <tt class="function">__zzip_find_disk_trailer</tt>. It will parse the zip's central directory 
801
 
   information and create a zziplib private directory table in 
802
 
   memory. 
803
 
 
804
 
</p></div><div class="refsect1" lang="en"><h2>Author</h2><div class="itemizedlist"><ul type="disc"><li><p>Guido Draheim  <tt class="email">&lt;<a href="mailto:guidod@gmx.de">guidod@gmx.de</a>&gt;</tt></p></li><li><p>Tomi Ollila  <tt class="email">&lt;<a href="mailto:too@iki.fi">too@iki.fi</a>&gt;</tt></p></li></ul></div></div><div class="refsect1" lang="en"><h2>Copyright</h2><pre class="screen">
805
 
(c) 1999,2000,2001,2002 Guido Draheim 
806
 
           All rights reserved, 
807
 
           use under the restrictions of the  
808
 
           Lesser GNU General Public License 
809
 
           note the additional license information  
810
 
           that can be found in COPYING.ZZIP 
811
 
 </pre></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="rn01re25.html">Prev</a>�</td><td width="20%" align="center"><a accesskey="u" href="index.html">Up</a></td><td width="40%" align="right">�<a accesskey="n" href="rn01re27.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">__zzip_find_disk_trailer�</td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top">�zzip_dir_alloc_ext_io</td></tr></table></div></body></html>
812
 
rn01re27.html/  1060866231  500   0     100664  4240      `
813
 
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
814
 
<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>zzip_dir_alloc_ext_io</title><meta name="generator" content="DocBook XSL Stylesheets V1.60.1"><link rel="home" href="index.html" title="Manual Pages"><link rel="up" href="index.html" title="Manual Pages"><link rel="previous" href="rn01re26.html" title="__zzip_parse_root_directory"><link rel="next" href="rn01re28.html" title="zzip_dir_free"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">zzip_dir_alloc_ext_io</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="rn01re26.html">Prev</a>�</td><th width="60%" align="center">�</th><td width="20%" align="right">�<a accesskey="n" href="rn01re28.html">Next</a></td></tr></table><hr></div><div class="refentry" lang="en"><a name="zzip_dir_alloc_ext_io"></a><div class="titlepage"><div></div><div></div></div><div class="refnamediv"><h2>Name</h2><p> &#8212; (../../zzip/zip.c) zzip_dir_alloc_ext_io, zzip_dir_alloc</p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><pre class="funcsynopsisinfo">
815
 
 #include &lt;zziplib.h&gt;
816
 
</pre><div class="funcsynopsis"><table border="0" summary="Function synopsis" cellspacing="0" cellpadding="0" style="padding-bottom: 1em"><tr><td><code class="funcdef">ZZIP_DIR*
817
 
 <b class="fsfunc">zzip_dir_alloc_ext_io</b>(</code></td><td>, </td><td>�</td></tr><tr><td>�</td><td><code>)</code>;</td><td>�</td></tr></table><table border="0" summary="Function argument synopsis" cellspacing="0" cellpadding="0" style="padding-bottom: 1em"><tr><td>�</td><td>;</td></tr><tr><td>�</td><td>;</td></tr></table><table border="0" summary="Function synopsis" cellspacing="0" cellpadding="0" style="padding-bottom: 1em"><tr><td><code class="funcdef">ZZIP_DIR*
818
 
 <b class="fsfunc">zzip_dir_alloc</b>(</code></td><td><code>)</code>;</td><td>�</td></tr></table><table border="0" summary="Function argument synopsis" cellspacing="0" cellpadding="0"><tr><td>�</td><td>;</td></tr></table></div></div><div class="refsect1" lang="en"><h2>Description</h2><p>
819
 
   allocate a new ZZIP_DIR handle and do basic  
820
 
   initializations before usage by <tt class="function">zzip_dir_fdopen</tt> 
821
 
   <tt class="function">zzip_dir_open</tt> <tt class="function">zzip_file_open</tt> or through 
822
 
   <tt class="function">zzip_open</tt> 
823
 
   (ext==null flags uses { &quot;.zip&quot; , &quot;.ZIP&quot; } ) 
824
 
   (io ==null flags use of posix io defaults) 
825
 
 
826
 
</p><p>
827
 
   the zzip_dir_alloc function is obsolete - it was generally used for implementation 
828
 
   and exported to let other code build on it. It is now advised to 
829
 
   use <tt class="function">zzip_dir_alloc_ext_io</tt> now on explicitly, just set that second 
830
 
   argument to zero to achieve the same functionality as the old style. 
831
 
 
832
 
</p></div><div class="refsect1" lang="en"><h2>Author</h2><div class="itemizedlist"><ul type="disc"><li><p>Guido Draheim  <tt class="email">&lt;<a href="mailto:guidod@gmx.de">guidod@gmx.de</a>&gt;</tt></p></li><li><p>Tomi Ollila  <tt class="email">&lt;<a href="mailto:too@iki.fi">too@iki.fi</a>&gt;</tt></p></li></ul></div></div><div class="refsect1" lang="en"><h2>Copyright</h2><pre class="screen">
833
 
(c) 1999,2000,2001,2002 Guido Draheim 
834
 
           All rights reserved, 
835
 
           use under the restrictions of the  
836
 
           Lesser GNU General Public License 
837
 
           note the additional license information  
838
 
           that can be found in COPYING.ZZIP 
839
 
 </pre></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="rn01re26.html">Prev</a>�</td><td width="20%" align="center"><a accesskey="u" href="index.html">Up</a></td><td width="40%" align="right">�<a accesskey="n" href="rn01re28.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">__zzip_parse_root_directory�</td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top">�zzip_dir_free</td></tr></table></div></body></html>
840
 
rn01re28.html/  1060866231  500   0     100664  3399      `
841
 
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
842
 
<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>zzip_dir_free</title><meta name="generator" content="DocBook XSL Stylesheets V1.60.1"><link rel="home" href="index.html" title="Manual Pages"><link rel="up" href="index.html" title="Manual Pages"><link rel="previous" href="rn01re27.html" title="zzip_dir_alloc_ext_io"><link rel="next" href="rn01re29.html" title="zzip_dir_close"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">zzip_dir_free</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="rn01re27.html">Prev</a>�</td><th width="60%" align="center">�</th><td width="20%" align="right">�<a accesskey="n" href="rn01re29.html">Next</a></td></tr></table><hr></div><div class="refentry" lang="en"><a name="zzip_dir_free"></a><div class="titlepage"><div></div><div></div></div><div class="refnamediv"><h2>Name</h2><p> &#8212; (../../zzip/zip.c) zzip_dir_free</p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><pre class="funcsynopsisinfo">
843
 
 #include &lt;zziplib.h&gt;
844
 
</pre><div class="funcsynopsis"><table border="0" summary="Function synopsis" cellspacing="0" cellpadding="0" style="padding-bottom: 1em"><tr><td><code class="funcdef">int 
845
 
 <b class="fsfunc">zzip_dir_free</b>(</code></td><td><code>)</code>;</td><td>�</td></tr></table><table border="0" summary="Function argument synopsis" cellspacing="0" cellpadding="0"><tr><td>�</td><td>;</td></tr></table></div></div><div class="refsect1" lang="en"><h2>Description</h2><p>
846
 
   will free the zzip_dir handle unless there are still  
847
 
   zzip_files attached (that may use its cache buffer). 
848
 
   This is the inverse of <tt class="function">zzip_dir_alloc</tt> , and both 
849
 
   are helper functions used implicitly in other zzipcalls 
850
 
   e.g. <tt class="function">zzip_dir_close</tt> = zzip_close  
851
 
 
852
 
</p><p>
853
 
 
854
 
   returns zero on sucess 
855
 
   returns the refcount when files are attached. 
856
 
 
857
 
</p></div><div class="refsect1" lang="en"><h2>Author</h2><div class="itemizedlist"><ul type="disc"><li><p>Guido Draheim  <tt class="email">&lt;<a href="mailto:guidod@gmx.de">guidod@gmx.de</a>&gt;</tt></p></li><li><p>Tomi Ollila  <tt class="email">&lt;<a href="mailto:too@iki.fi">too@iki.fi</a>&gt;</tt></p></li></ul></div></div><div class="refsect1" lang="en"><h2>Copyright</h2><pre class="screen">
858
 
(c) 1999,2000,2001,2002 Guido Draheim 
859
 
           All rights reserved, 
860
 
           use under the restrictions of the  
861
 
           Lesser GNU General Public License 
862
 
           note the additional license information  
863
 
           that can be found in COPYING.ZZIP 
864
 
 </pre></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="rn01re27.html">Prev</a>�</td><td width="20%" align="center"><a accesskey="u" href="index.html">Up</a></td><td width="40%" align="right">�<a accesskey="n" href="rn01re29.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">zzip_dir_alloc_ext_io�</td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top">�zzip_dir_close</td></tr></table></div></body></html>
865
 
 
866
 
rn01re29.html/  1060866231  500   0     100664  3205      `
867
 
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
868
 
<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>zzip_dir_close</title><meta name="generator" content="DocBook XSL Stylesheets V1.60.1"><link rel="home" href="index.html" title="Manual Pages"><link rel="up" href="index.html" title="Manual Pages"><link rel="previous" href="rn01re28.html" title="zzip_dir_free"><link rel="next" href="rn01re30.html" title="zzip_dir_fdopen"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">zzip_dir_close</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="rn01re28.html">Prev</a>�</td><th width="60%" align="center">�</th><td width="20%" align="right">�<a accesskey="n" href="rn01re30.html">Next</a></td></tr></table><hr></div><div class="refentry" lang="en"><a name="zzip_dir_close"></a><div class="titlepage"><div></div><div></div></div><div class="refnamediv"><h2>Name</h2><p> &#8212; (../../zzip/zip.c) zzip_dir_close</p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><pre class="funcsynopsisinfo">
869
 
 #include &lt;zziplib.h&gt;
870
 
</pre><div class="funcsynopsis"><table border="0" summary="Function synopsis" cellspacing="0" cellpadding="0" style="padding-bottom: 1em"><tr><td><code class="funcdef">int 
871
 
 <b class="fsfunc">zzip_dir_close</b>(</code></td><td><code>)</code>;</td><td>�</td></tr></table><table border="0" summary="Function argument synopsis" cellspacing="0" cellpadding="0"><tr><td>�</td><td>;</td></tr></table></div></div><div class="refsect1" lang="en"><h2>Description</h2><p>
872
 
   It will also <tt class="function">free(2)</tt> the <tt class="function">ZZIP_DIR</tt>-handle given.  
873
 
   the counterpart for <tt class="function">zzip_dir_open</tt> 
874
 
   see also <tt class="function">zzip_dir_free</tt> 
875
 
 
876
 
</p></div><div class="refsect1" lang="en"><h2>Author</h2><div class="itemizedlist"><ul type="disc"><li><p>Guido Draheim  <tt class="email">&lt;<a href="mailto:guidod@gmx.de">guidod@gmx.de</a>&gt;</tt></p></li><li><p>Tomi Ollila  <tt class="email">&lt;<a href="mailto:too@iki.fi">too@iki.fi</a>&gt;</tt></p></li></ul></div></div><div class="refsect1" lang="en"><h2>Copyright</h2><pre class="screen">
877
 
(c) 1999,2000,2001,2002 Guido Draheim 
878
 
           All rights reserved, 
879
 
           use under the restrictions of the  
880
 
           Lesser GNU General Public License 
881
 
           note the additional license information  
882
 
           that can be found in COPYING.ZZIP 
883
 
 </pre></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="rn01re28.html">Prev</a>�</td><td width="20%" align="center"><a accesskey="u" href="index.html">Up</a></td><td width="40%" align="right">�<a accesskey="n" href="rn01re30.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">zzip_dir_free�</td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top">�zzip_dir_fdopen</td></tr></table></div></body></html>
884
 
 
885
 
rn01re30.html/  1060866231  500   0     100664  4271      `
886
 
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
887
 
<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>zzip_dir_fdopen</title><meta name="generator" content="DocBook XSL Stylesheets V1.60.1"><link rel="home" href="index.html" title="Manual Pages"><link rel="up" href="index.html" title="Manual Pages"><link rel="previous" href="rn01re29.html" title="zzip_dir_close"><link rel="next" href="rn01re31.html" title="__zzip_try_open"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">zzip_dir_fdopen</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="rn01re29.html">Prev</a>�</td><th width="60%" align="center">�</th><td width="20%" align="right">�<a accesskey="n" href="rn01re31.html">Next</a></td></tr></table><hr></div><div class="refentry" lang="en"><a name="zzip_dir_fdopen"></a><div class="titlepage"><div></div><div></div></div><div class="refnamediv"><h2>Name</h2><p> &#8212; (../../zzip/zip.c) zzip_dir_fdopen, zzip_dir_fdopen_ext_io</p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><pre class="funcsynopsisinfo">
888
 
 #include &lt;zziplib.h&gt;
889
 
</pre><div class="funcsynopsis"><table border="0" summary="Function synopsis" cellspacing="0" cellpadding="0" style="padding-bottom: 1em"><tr><td><code class="funcdef">ZZIP_DIR * 
890
 
 <b class="fsfunc">zzip_dir_fdopen</b>(</code></td><td>, </td><td>�</td></tr><tr><td>�</td><td><code>)</code>;</td><td>�</td></tr></table><table border="0" summary="Function argument synopsis" cellspacing="0" cellpadding="0" style="padding-bottom: 1em"><tr><td>�</td><td>;</td></tr><tr><td>�</td><td>;</td></tr></table><table border="0" summary="Function synopsis" cellspacing="0" cellpadding="0" style="padding-bottom: 1em"><tr><td><code class="funcdef">ZZIP_DIR * 
891
 
 <b class="fsfunc">zzip_dir_fdopen_ext_io</b>(</code></td><td>, </td><td>�</td></tr><tr><td>�</td><td>, </td><td>�</td></tr><tr><td>�</td><td>, </td><td>�</td></tr><tr><td>�</td><td><code>)</code>;</td><td>�</td></tr></table><table border="0" summary="Function argument synopsis" cellspacing="0" cellpadding="0"><tr><td>�</td><td>;</td></tr><tr><td>�</td><td>;</td></tr><tr><td>�</td><td>;</td></tr><tr><td>�</td><td>;</td></tr></table></div></div><div class="refsect1" lang="en"><h2>Description</h2><p>
892
 
   used by the <tt class="function">zzip_dir_open</tt> and zzip_opendir(2) call. Opens the 
893
 
   zip-archive as specified with the fd which points to an 
894
 
   already openend file. The zzip_dir_fdopen function then search and parse 
895
 
   the zip's central directory. 
896
 
   
897
 
</p><p>
898
 
  
899
 
   NOTE: refcount is zero, so an _open/_close pair will also delete  
900
 
         this _dirhandle  
901
 
 
902
 
</p><p>
903
 
   the zzip_dir_fdopen_ext_io function uses explicit ext and io instead of the internal  
904
 
   defaults, setting these to zero is equivalent to <tt class="function">zzip_dir_fdopen</tt> 
905
 
 
906
 
</p></div><div class="refsect1" lang="en"><h2>Author</h2><div class="itemizedlist"><ul type="disc"><li><p>Guido Draheim  <tt class="email">&lt;<a href="mailto:guidod@gmx.de">guidod@gmx.de</a>&gt;</tt></p></li><li><p>Tomi Ollila  <tt class="email">&lt;<a href="mailto:too@iki.fi">too@iki.fi</a>&gt;</tt></p></li></ul></div></div><div class="refsect1" lang="en"><h2>Copyright</h2><pre class="screen">
907
 
(c) 1999,2000,2001,2002 Guido Draheim 
908
 
           All rights reserved, 
909
 
           use under the restrictions of the  
910
 
           Lesser GNU General Public License 
911
 
           note the additional license information  
912
 
           that can be found in COPYING.ZZIP 
913
 
 </pre></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="rn01re29.html">Prev</a>�</td><td width="20%" align="center"><a accesskey="u" href="index.html">Up</a></td><td width="40%" align="right">�<a accesskey="n" href="rn01re31.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">zzip_dir_close�</td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top">�__zzip_try_open</td></tr></table></div></body></html>
914
 
 
915
 
rn01re31.html/  1060866231  500   0     100664  3451      `
916
 
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
917
 
<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>__zzip_try_open</title><meta name="generator" content="DocBook XSL Stylesheets V1.60.1"><link rel="home" href="index.html" title="Manual Pages"><link rel="up" href="index.html" title="Manual Pages"><link rel="previous" href="rn01re30.html" title="zzip_dir_fdopen"><link rel="next" href="rn01re32.html" title="zzip_dir_open"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">__zzip_try_open</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="rn01re30.html">Prev</a>�</td><th width="60%" align="center">�</th><td width="20%" align="right">�<a accesskey="n" href="rn01re32.html">Next</a></td></tr></table><hr></div><div class="refentry" lang="en"><a name="__zzip_try_open"></a><div class="titlepage"><div></div><div></div></div><div class="refnamediv"><h2>Name</h2><p> &#8212; (../../zzip/zip.c) __zzip_try_open</p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><pre class="funcsynopsisinfo">
918
 
 #include &lt;zziplib.h&gt;
919
 
</pre><div class="funcsynopsis"><table border="0" summary="Function synopsis" cellspacing="0" cellpadding="0" style="padding-bottom: 1em"><tr><td><code class="funcdef">int
920
 
 <b class="fsfunc">__zzip_try_open</b>(</code></td><td>, </td><td>�</td></tr><tr><td>�</td><td>, </td><td>�</td></tr><tr><td>�</td><td>, </td><td>�</td></tr><tr><td>�</td><td><code>)</code>;</td><td>�</td></tr></table><table border="0" summary="Function argument synopsis" cellspacing="0" cellpadding="0"><tr><td>�</td><td>;</td></tr><tr><td>�</td><td>;</td></tr><tr><td>�</td><td>;</td></tr><tr><td>�</td><td>;</td></tr></table></div></div><div class="refsect1" lang="en"><h2>Description</h2><p>
921
 
   will attach a .zip extension and tries to open it 
922
 
   the with <tt class="function">open(2)</tt>. This is a helper function for 
923
 
   <tt class="function">zzip_dir_open</tt>, <tt class="function">zzip_opendir</tt> and <tt class="function">zzip_open</tt>. 
924
 
 
925
 
</p></div><div class="refsect1" lang="en"><h2>Author</h2><div class="itemizedlist"><ul type="disc"><li><p>Guido Draheim  <tt class="email">&lt;<a href="mailto:guidod@gmx.de">guidod@gmx.de</a>&gt;</tt></p></li><li><p>Tomi Ollila  <tt class="email">&lt;<a href="mailto:too@iki.fi">too@iki.fi</a>&gt;</tt></p></li></ul></div></div><div class="refsect1" lang="en"><h2>Copyright</h2><pre class="screen">
926
 
(c) 1999,2000,2001,2002 Guido Draheim 
927
 
           All rights reserved, 
928
 
           use under the restrictions of the  
929
 
           Lesser GNU General Public License 
930
 
           note the additional license information  
931
 
           that can be found in COPYING.ZZIP 
932
 
 </pre></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="rn01re30.html">Prev</a>�</td><td width="20%" align="center"><a accesskey="u" href="index.html">Up</a></td><td width="40%" align="right">�<a accesskey="n" href="rn01re32.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">zzip_dir_fdopen�</td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top">�zzip_dir_open</td></tr></table></div></body></html>
933
 
 
934
 
rn01re32.html/  1060866231  500   0     100664  4047      `
935
 
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
936
 
<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>zzip_dir_open</title><meta name="generator" content="DocBook XSL Stylesheets V1.60.1"><link rel="home" href="index.html" title="Manual Pages"><link rel="up" href="index.html" title="Manual Pages"><link rel="previous" href="rn01re31.html" title="__zzip_try_open"><link rel="next" href="rn01re33.html" title="zzip_dir_read"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">zzip_dir_open</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="rn01re31.html">Prev</a>�</td><th width="60%" align="center">�</th><td width="20%" align="right">�<a accesskey="n" href="rn01re33.html">Next</a></td></tr></table><hr></div><div class="refentry" lang="en"><a name="zzip_dir_open"></a><div class="titlepage"><div></div><div></div></div><div class="refnamediv"><h2>Name</h2><p> &#8212; (../../zzip/zip.c) zzip_dir_open, zzip_dir_open_ext_io</p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><pre class="funcsynopsisinfo">
937
 
 #include &lt;zziplib.h&gt;
938
 
</pre><div class="funcsynopsis"><table border="0" summary="Function synopsis" cellspacing="0" cellpadding="0" style="padding-bottom: 1em"><tr><td><code class="funcdef">ZZIP_DIR* 
939
 
 <b class="fsfunc">zzip_dir_open</b>(</code></td><td>, </td><td>�</td></tr><tr><td>�</td><td><code>)</code>;</td><td>�</td></tr></table><table border="0" summary="Function argument synopsis" cellspacing="0" cellpadding="0" style="padding-bottom: 1em"><tr><td>�</td><td>;</td></tr><tr><td>�</td><td>;</td></tr></table><table border="0" summary="Function synopsis" cellspacing="0" cellpadding="0" style="padding-bottom: 1em"><tr><td><code class="funcdef">ZZIP_DIR* 
940
 
 <b class="fsfunc">zzip_dir_open_ext_io</b>(</code></td><td>, </td><td>�</td></tr><tr><td>�</td><td>, </td><td>�</td></tr><tr><td>�</td><td>, </td><td>�</td></tr><tr><td>�</td><td><code>)</code>;</td><td>�</td></tr></table><table border="0" summary="Function argument synopsis" cellspacing="0" cellpadding="0"><tr><td>�</td><td>;</td></tr><tr><td>�</td><td>;</td></tr><tr><td>�</td><td>;</td></tr><tr><td>�</td><td>;</td></tr></table></div></div><div class="refsect1" lang="en"><h2>Description</h2><p>
941
 
   Opens the zip-archive (if available). 
942
 
   the two ext_io arguments will default to use posix io and  
943
 
   a set of default fileext that can atleast add .zip ext itself. 
944
 
 
945
 
</p><p>
946
 
   the zzip_dir_open_ext_io function uses explicit ext and io instead of the internal  
947
 
   defaults. Setting these to zero is equivalent to <tt class="function">zzip_dir_open</tt> 
948
 
 
949
 
</p></div><div class="refsect1" lang="en"><h2>Author</h2><div class="itemizedlist"><ul type="disc"><li><p>Guido Draheim  <tt class="email">&lt;<a href="mailto:guidod@gmx.de">guidod@gmx.de</a>&gt;</tt></p></li><li><p>Tomi Ollila  <tt class="email">&lt;<a href="mailto:too@iki.fi">too@iki.fi</a>&gt;</tt></p></li></ul></div></div><div class="refsect1" lang="en"><h2>Copyright</h2><pre class="screen">
950
 
(c) 1999,2000,2001,2002 Guido Draheim 
951
 
           All rights reserved, 
952
 
           use under the restrictions of the  
953
 
           Lesser GNU General Public License 
954
 
           note the additional license information  
955
 
           that can be found in COPYING.ZZIP 
956
 
 </pre></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="rn01re31.html">Prev</a>�</td><td width="20%" align="center"><a accesskey="u" href="index.html">Up</a></td><td width="40%" align="right">�<a accesskey="n" href="rn01re33.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">__zzip_try_open�</td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top">�zzip_dir_read</td></tr></table></div></body></html>
957
 
 
958
 
rn01re33.html/  1060866231  500   0     100664  3195      `
959
 
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
960
 
<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>zzip_dir_read</title><meta name="generator" content="DocBook XSL Stylesheets V1.60.1"><link rel="home" href="index.html" title="Manual Pages"><link rel="up" href="index.html" title="Manual Pages"><link rel="previous" href="rn01re32.html" title="zzip_dir_open"><link rel="next" href="rn01re34.html" title="zziplib.h"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">zzip_dir_read</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="rn01re32.html">Prev</a>�</td><th width="60%" align="center">�</th><td width="20%" align="right">�<a accesskey="n" href="rn01re34.html">Next</a></td></tr></table><hr></div><div class="refentry" lang="en"><a name="zzip_dir_read"></a><div class="titlepage"><div></div><div></div></div><div class="refnamediv"><h2>Name</h2><p> &#8212; (../../zzip/zip.c) zzip_dir_read</p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><pre class="funcsynopsisinfo">
961
 
 #include &lt;zziplib.h&gt;
962
 
</pre><div class="funcsynopsis"><table border="0" summary="Function synopsis" cellspacing="0" cellpadding="0" style="padding-bottom: 1em"><tr><td><code class="funcdef">int
963
 
 <b class="fsfunc">zzip_dir_read</b>(</code></td><td>, </td><td>�</td></tr><tr><td>�</td><td><code>)</code>;</td><td>�</td></tr></table><table border="0" summary="Function argument synopsis" cellspacing="0" cellpadding="0"><tr><td>�</td><td>;</td></tr><tr><td>�</td><td>;</td></tr></table></div></div><div class="refsect1" lang="en"><h2>Description</h2><p>
964
 
   fills the dirent-argument with the values and  
965
 
   increments the read-pointer of the dir-argument. 
966
 
   
967
 
</p><p>
968
 
 
969
 
   returns 0 if there no entry (anymore). 
970
 
 
971
 
</p></div><div class="refsect1" lang="en"><h2>Author</h2><div class="itemizedlist"><ul type="disc"><li><p>Guido Draheim  <tt class="email">&lt;<a href="mailto:guidod@gmx.de">guidod@gmx.de</a>&gt;</tt></p></li><li><p>Tomi Ollila  <tt class="email">&lt;<a href="mailto:too@iki.fi">too@iki.fi</a>&gt;</tt></p></li></ul></div></div><div class="refsect1" lang="en"><h2>Copyright</h2><pre class="screen">
972
 
(c) 1999,2000,2001,2002 Guido Draheim 
973
 
           All rights reserved, 
974
 
           use under the restrictions of the  
975
 
           Lesser GNU General Public License 
976
 
           note the additional license information  
977
 
           that can be found in COPYING.ZZIP 
978
 
 </pre></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="rn01re32.html">Prev</a>�</td><td width="20%" align="center"><a accesskey="u" href="index.html">Up</a></td><td width="40%" align="right">�<a accesskey="n" href="rn01re34.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">zzip_dir_open�</td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top">�zziplib.h</td></tr></table></div></body></html>
979
 
 
980
 
rn01re34.html/  1060866231  500   0     100664  25801     `
981
 
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
982
 
<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>zziplib.h</title><meta name="generator" content="DocBook XSL Stylesheets V1.60.1"><link rel="home" href="index.html" title="Manual Pages"><link rel="up" href="index.html" title="Manual Pages"><link rel="previous" href="rn01re33.html" title="zzip_dir_read"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">zziplib.h</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="rn01re33.html">Prev</a>�</td><th width="60%" align="center">�</th><td width="20%" align="right">�</td></tr></table><hr></div><div class="refentry" lang="en"><a name="zziplib.h"></a><div class="titlepage"><div></div><div></div></div><div class="refnamediv"><h2>Name</h2><p> &#8212;  library zziplib.h</p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><div class="funcsynopsis"><table border="0" summary="Function synopsis" cellspacing="0" cellpadding="0" style="padding-bottom: 1em"><tr><td><code class="funcdef">void 
983
 
 <b class="fsfunc">zzip_rewinddir</b>(</code></td><td><code>)</code>;</td><td>�</td></tr></table><table border="0" summary="Function argument synopsis" cellspacing="0" cellpadding="0" style="padding-bottom: 1em"><tr><td>�</td><td>;</td></tr></table><table border="0" summary="Function synopsis" cellspacing="0" cellpadding="0" style="padding-bottom: 1em"><tr><td><code class="funcdef">zzip_off_t 
984
 
 <b class="fsfunc">zzip_telldir</b>(</code></td><td><code>)</code>;</td><td>�</td></tr></table><table border="0" summary="Function argument synopsis" cellspacing="0" cellpadding="0" style="padding-bottom: 1em"><tr><td>�</td><td>;</td></tr></table><table border="0" summary="Function synopsis" cellspacing="0" cellpadding="0" style="padding-bottom: 1em"><tr><td><code class="funcdef">void
985
 
 <b class="fsfunc">zzip_seekdir</b>(</code></td><td>, </td><td>�</td></tr><tr><td>�</td><td><code>)</code>;</td><td>�</td></tr></table><table border="0" summary="Function argument synopsis" cellspacing="0" cellpadding="0" style="padding-bottom: 1em"><tr><td>�</td><td>;</td></tr><tr><td>�</td><td>;</td></tr></table><table border="0" summary="Function synopsis" cellspacing="0" cellpadding="0" style="padding-bottom: 1em"><tr><td><code class="funcdef">ZZIP_DIRENT* 
986
 
 <b class="fsfunc">zzip_readdir</b>(</code></td><td><code>)</code>;</td><td>�</td></tr></table><table border="0" summary="Function argument synopsis" cellspacing="0" cellpadding="0" style="padding-bottom: 1em"><tr><td>�</td><td>;</td></tr></table><table border="0" summary="Function synopsis" cellspacing="0" cellpadding="0" style="padding-bottom: 1em"><tr><td><code class="funcdef">ZZIP_DIR* 
987
 
 <b class="fsfunc">zzip_opendir</b>(</code></td><td><code>)</code>;</td><td>�</td></tr></table><table border="0" summary="Function argument synopsis" cellspacing="0" cellpadding="0" style="padding-bottom: 1em"><tr><td>�</td><td>;</td></tr></table><table border="0" summary="Function synopsis" cellspacing="0" cellpadding="0" style="padding-bottom: 1em"><tr><td><code class="funcdef">ZZIP_DIR* 
988
 
 <b class="fsfunc">zzip_opendir_ext_io</b>(</code></td><td>, </td><td>�</td></tr><tr><td>�</td><td>, </td><td>�</td></tr><tr><td>�</td><td>, </td><td>�</td></tr><tr><td>�</td><td><code>)</code>;</td><td>�</td></tr></table><table border="0" summary="Function argument synopsis" cellspacing="0" cellpadding="0" style="padding-bottom: 1em"><tr><td>�</td><td>;</td></tr><tr><td>�</td><td>;</td></tr><tr><td>�</td><td>;</td></tr><tr><td>�</td><td>;</td></tr></table><table border="0" summary="Function synopsis" cellspacing="0" cellpadding="0" style="padding-bottom: 1em"><tr><td><code class="funcdef">int
989
 
 <b class="fsfunc">zzip_closedir</b>(</code></td><td><code>)</code>;</td><td>�</td></tr></table><table border="0" summary="Function argument synopsis" cellspacing="0" cellpadding="0" style="padding-bottom: 1em"><tr><td>�</td><td>;</td></tr></table><table border="0" summary="Function synopsis" cellspacing="0" cellpadding="0" style="padding-bottom: 1em"><tr><td><code class="funcdef">zzip_char_t* 
990
 
 <b class="fsfunc">zzip_strerror</b>(</code></td><td><code>)</code>;</td><td>�</td></tr></table><table border="0" summary="Function argument synopsis" cellspacing="0" cellpadding="0" style="padding-bottom: 1em"><tr><td>�</td><td>;</td></tr></table><table border="0" summary="Function synopsis" cellspacing="0" cellpadding="0" style="padding-bottom: 1em"><tr><td><code class="funcdef">zzip_char_t* 
991
 
 <b class="fsfunc">zzip_strerror_of</b>(</code></td><td><code>)</code>;</td><td>�</td></tr></table><table border="0" summary="Function argument synopsis" cellspacing="0" cellpadding="0" style="padding-bottom: 1em"><tr><td>�</td><td>;</td></tr></table><p><code class="funcdef">int
992
 
 <b class="fsfunc">zzip_errno</b>(</code>
993
 
zzip_errno <code>)</code>;<br>int errcode;</p><table border="0" summary="Function synopsis" cellspacing="0" cellpadding="0" style="padding-bottom: 1em"><tr><td><code class="funcdef">int 
994
 
 <b class="fsfunc">zzip_file_close</b>(</code></td><td><code>)</code>;</td><td>�</td></tr></table><table border="0" summary="Function argument synopsis" cellspacing="0" cellpadding="0" style="padding-bottom: 1em"><tr><td>�</td><td>;</td></tr></table><table border="0" summary="Function synopsis" cellspacing="0" cellpadding="0" style="padding-bottom: 1em"><tr><td><code class="funcdef">ZZIP_FILE * 
995
 
 <b class="fsfunc">zzip_file_open</b>(</code></td><td>, </td><td>�</td></tr><tr><td>�</td><td>, </td><td>�</td></tr><tr><td>�</td><td><code>)</code>;</td><td>�</td></tr></table><table border="0" summary="Function argument synopsis" cellspacing="0" cellpadding="0" style="padding-bottom: 1em"><tr><td>�</td><td>;</td></tr><tr><td>�</td><td>;</td></tr><tr><td>�</td><td>;</td></tr></table><table border="0" summary="Function synopsis" cellspacing="0" cellpadding="0" style="padding-bottom: 1em"><tr><td><code class="funcdef">static int 
996
 
 <b class="fsfunc">zzip_inflate_init</b>(</code></td><td>, </td><td>�</td></tr><tr><td>�</td><td><code>)</code>;</td><td>�</td></tr></table><table border="0" summary="Function argument synopsis" cellspacing="0" cellpadding="0" style="padding-bottom: 1em"><tr><td>�</td><td>;</td></tr><tr><td>�</td><td>;</td></tr></table><table border="0" summary="Function synopsis" cellspacing="0" cellpadding="0" style="padding-bottom: 1em"><tr><td><code class="funcdef">int 
997
 
 <b class="fsfunc">zzip_fclose</b>(</code></td><td><code>)</code>;</td><td>�</td></tr></table><table border="0" summary="Function argument synopsis" cellspacing="0" cellpadding="0" style="padding-bottom: 1em"><tr><td>�</td><td>;</td></tr></table><table border="0" summary="Function synopsis" cellspacing="0" cellpadding="0" style="padding-bottom: 1em"><tr><td><code class="funcdef">int 
998
 
 <b class="fsfunc">zzip_close</b>(</code></td><td><code>)</code>;</td><td>�</td></tr></table><table border="0" summary="Function argument synopsis" cellspacing="0" cellpadding="0" style="padding-bottom: 1em"><tr><td>�</td><td>;</td></tr></table><table border="0" summary="Function synopsis" cellspacing="0" cellpadding="0" style="padding-bottom: 1em"><tr><td><code class="funcdef">zzip_ssize_t 
999
 
 <b class="fsfunc">zzip_file_read</b>(</code></td><td>, </td><td>�</td></tr><tr><td>�</td><td>, </td><td>�</td></tr><tr><td>�</td><td><code>)</code>;</td><td>�</td></tr></table><table border="0" summary="Function argument synopsis" cellspacing="0" cellpadding="0" style="padding-bottom: 1em"><tr><td>�</td><td>;</td></tr><tr><td>�</td><td>;</td></tr><tr><td>�</td><td>;</td></tr></table><table border="0" summary="Function synopsis" cellspacing="0" cellpadding="0" style="padding-bottom: 1em"><tr><td><code class="funcdef">zzip_ssize_t
1000
 
 <b class="fsfunc">zzip_read</b>(</code></td><td>, </td><td>�</td></tr><tr><td>�</td><td>, </td><td>�</td></tr><tr><td>�</td><td><code>)</code>;</td><td>�</td></tr></table><table border="0" summary="Function argument synopsis" cellspacing="0" cellpadding="0" style="padding-bottom: 1em"><tr><td>�</td><td>;</td></tr><tr><td>�</td><td>;</td></tr><tr><td>�</td><td>;</td></tr></table><table border="0" summary="Function synopsis" cellspacing="0" cellpadding="0" style="padding-bottom: 1em"><tr><td><code class="funcdef">zzip_size_t
1001
 
 <b class="fsfunc">zzip_fread</b>(</code></td><td>, </td><td>�</td></tr><tr><td>�</td><td>, </td><td>�</td></tr><tr><td>�</td><td>, </td><td>�</td></tr><tr><td>�</td><td><code>)</code>;</td><td>�</td></tr></table><table border="0" summary="Function argument synopsis" cellspacing="0" cellpadding="0" style="padding-bottom: 1em"><tr><td>�</td><td>;</td></tr><tr><td>�</td><td>;</td></tr><tr><td>�</td><td>;</td></tr><tr><td>�</td><td>;</td></tr></table><table border="0" summary="Function synopsis" cellspacing="0" cellpadding="0" style="padding-bottom: 1em"><tr><td><code class="funcdef">ZZIP_FILE*
1002
 
 <b class="fsfunc">zzip_fopen</b>(</code></td><td>, </td><td>�</td></tr><tr><td>�</td><td><code>)</code>;</td><td>�</td></tr></table><table border="0" summary="Function argument synopsis" cellspacing="0" cellpadding="0" style="padding-bottom: 1em"><tr><td>�</td><td>;</td></tr><tr><td>�</td><td>;</td></tr></table><table border="0" summary="Function synopsis" cellspacing="0" cellpadding="0" style="padding-bottom: 1em"><tr><td><code class="funcdef">ZZIP_FILE*
1003
 
 <b class="fsfunc">zzip_freopen</b>(</code></td><td>, </td><td>�</td></tr><tr><td>�</td><td>, </td><td>�</td></tr><tr><td>�</td><td><code>)</code>;</td><td>�</td></tr></table><table border="0" summary="Function argument synopsis" cellspacing="0" cellpadding="0" style="padding-bottom: 1em"><tr><td>�</td><td>;</td></tr><tr><td>�</td><td>;</td></tr><tr><td>�</td><td>;</td></tr></table><table border="0" summary="Function synopsis" cellspacing="0" cellpadding="0" style="padding-bottom: 1em"><tr><td><code class="funcdef">ZZIP_FILE*
1004
 
 <b class="fsfunc">zzip_open</b>(</code></td><td>, </td><td>�</td></tr><tr><td>�</td><td><code>)</code>;</td><td>�</td></tr></table><table border="0" summary="Function argument synopsis" cellspacing="0" cellpadding="0" style="padding-bottom: 1em"><tr><td>�</td><td>;</td></tr><tr><td>�</td><td>;</td></tr></table><table border="0" summary="Function synopsis" cellspacing="0" cellpadding="0" style="padding-bottom: 1em"><tr><td><code class="funcdef">ZZIP_FILE*
1005
 
 <b class="fsfunc">zzip_open_ext_io</b>(</code></td><td>, </td><td>�</td></tr><tr><td>�</td><td>, </td><td>�</td></tr><tr><td>�</td><td>, </td><td>�</td></tr><tr><td>�</td><td>, </td><td>�</td></tr><tr><td>�</td><td><code>)</code>;</td><td>�</td></tr></table><table border="0" summary="Function argument synopsis" cellspacing="0" cellpadding="0" style="padding-bottom: 1em"><tr><td>�</td><td>;</td></tr><tr><td>�</td><td>;</td></tr><tr><td>�</td><td>;</td></tr><tr><td>�</td><td>;</td></tr><tr><td>�</td><td>;</td></tr></table><table border="0" summary="Function synopsis" cellspacing="0" cellpadding="0" style="padding-bottom: 1em"><tr><td><code class="funcdef">ZZIP_FILE*
1006
 
 <b class="fsfunc">zzip_open_shared_io</b>(</code></td><td>, </td><td>�</td></tr><tr><td>�</td><td>, </td><td>�</td></tr><tr><td>�</td><td>, </td><td>�</td></tr><tr><td>�</td><td>, </td><td>�</td></tr><tr><td>�</td><td>, </td><td>�</td></tr><tr><td>�</td><td><code>)</code>;</td><td>�</td></tr></table><table border="0" summary="Function argument synopsis" cellspacing="0" cellpadding="0" style="padding-bottom: 1em"><tr><td>�</td><td>;</td></tr><tr><td>�</td><td>;</td></tr><tr><td>�</td><td>;</td></tr><tr><td>�</td><td>;</td></tr><tr><td>�</td><td>;</td></tr><tr><td>�</td><td>;</td></tr></table><table border="0" summary="Function synopsis" cellspacing="0" cellpadding="0" style="padding-bottom: 1em"><tr><td><code class="funcdef">int
1007
 
 <b class="fsfunc">zzip_rewind</b>(</code></td><td><code>)</code>;</td><td>�</td></tr></table><table border="0" summary="Function argument synopsis" cellspacing="0" cellpadding="0" style="padding-bottom: 1em"><tr><td>�</td><td>;</td></tr></table><table border="0" summary="Function synopsis" cellspacing="0" cellpadding="0" style="padding-bottom: 1em"><tr><td><code class="funcdef">zzip_off_t
1008
 
 <b class="fsfunc">zzip_seek</b>(</code></td><td>, </td><td>�</td></tr><tr><td>�</td><td>, </td><td>�</td></tr><tr><td>�</td><td><code>)</code>;</td><td>�</td></tr></table><table border="0" summary="Function argument synopsis" cellspacing="0" cellpadding="0" style="padding-bottom: 1em"><tr><td>�</td><td>;</td></tr><tr><td>�</td><td>;</td></tr><tr><td>�</td><td>;</td></tr></table><table border="0" summary="Function synopsis" cellspacing="0" cellpadding="0" style="padding-bottom: 1em"><tr><td><code class="funcdef">zzip_off_t
1009
 
 <b class="fsfunc">zzip_tell</b>(</code></td><td><code>)</code>;</td><td>�</td></tr></table><table border="0" summary="Function argument synopsis" cellspacing="0" cellpadding="0" style="padding-bottom: 1em"><tr><td>�</td><td>;</td></tr></table><table border="0" summary="Function synopsis" cellspacing="0" cellpadding="0" style="padding-bottom: 1em"><tr><td><code class="funcdef">int 
1010
 
 <b class="fsfunc">zzip_error</b>(</code></td><td><code>)</code>;</td><td>�</td></tr></table><table border="0" summary="Function argument synopsis" cellspacing="0" cellpadding="0" style="padding-bottom: 1em"><tr><td>�</td><td>;</td></tr></table><table border="0" summary="Function synopsis" cellspacing="0" cellpadding="0" style="padding-bottom: 1em"><tr><td><code class="funcdef">void 
1011
 
 <b class="fsfunc">zzip_seterror</b>(</code></td><td>, </td><td>�</td></tr><tr><td>�</td><td><code>)</code>;</td><td>�</td></tr></table><table border="0" summary="Function argument synopsis" cellspacing="0" cellpadding="0" style="padding-bottom: 1em"><tr><td>�</td><td>;</td></tr><tr><td>�</td><td>;</td></tr></table><table border="0" summary="Function synopsis" cellspacing="0" cellpadding="0" style="padding-bottom: 1em"><tr><td><code class="funcdef">ZZIP_DIR * 
1012
 
 <b class="fsfunc">zzip_dirhandle</b>(</code></td><td><code>)</code>;</td><td>�</td></tr></table><table border="0" summary="Function argument synopsis" cellspacing="0" cellpadding="0" style="padding-bottom: 1em"><tr><td>�</td><td>;</td></tr></table><table border="0" summary="Function synopsis" cellspacing="0" cellpadding="0" style="padding-bottom: 1em"><tr><td><code class="funcdef">int 
1013
 
 <b class="fsfunc">zzip_dirfd</b>(</code></td><td><code>)</code>;</td><td>�</td></tr></table><table border="0" summary="Function argument synopsis" cellspacing="0" cellpadding="0" style="padding-bottom: 1em"><tr><td>�</td><td>;</td></tr></table><table border="0" summary="Function synopsis" cellspacing="0" cellpadding="0" style="padding-bottom: 1em"><tr><td><code class="funcdef">zzip_char_t*
1014
 
 <b class="fsfunc">zzip_compr_str</b>(</code></td><td><code>)</code>;</td><td>�</td></tr></table><table border="0" summary="Function argument synopsis" cellspacing="0" cellpadding="0" style="padding-bottom: 1em"><tr><td>�</td><td>;</td></tr></table><table border="0" summary="Function synopsis" cellspacing="0" cellpadding="0" style="padding-bottom: 1em"><tr><td><code class="funcdef">int
1015
 
 <b class="fsfunc">zzip_file_real</b>(</code></td><td><code>)</code>;</td><td>�</td></tr></table><table border="0" summary="Function argument synopsis" cellspacing="0" cellpadding="0" style="padding-bottom: 1em"><tr><td>�</td><td>;</td></tr></table><table border="0" summary="Function synopsis" cellspacing="0" cellpadding="0" style="padding-bottom: 1em"><tr><td><code class="funcdef">int
1016
 
 <b class="fsfunc">zzip_dir_real</b>(</code></td><td><code>)</code>;</td><td>�</td></tr></table><table border="0" summary="Function argument synopsis" cellspacing="0" cellpadding="0" style="padding-bottom: 1em"><tr><td>�</td><td>;</td></tr></table><table border="0" summary="Function synopsis" cellspacing="0" cellpadding="0" style="padding-bottom: 1em"><tr><td><code class="funcdef">void*
1017
 
 <b class="fsfunc">zzip_realdir</b>(</code></td><td><code>)</code>;</td><td>�</td></tr></table><table border="0" summary="Function argument synopsis" cellspacing="0" cellpadding="0" style="padding-bottom: 1em"><tr><td>�</td><td>;</td></tr></table><table border="0" summary="Function synopsis" cellspacing="0" cellpadding="0" style="padding-bottom: 1em"><tr><td><code class="funcdef">int
1018
 
 <b class="fsfunc">zzip_realfd</b>(</code></td><td><code>)</code>;</td><td>�</td></tr></table><table border="0" summary="Function argument synopsis" cellspacing="0" cellpadding="0" style="padding-bottom: 1em"><tr><td>�</td><td>;</td></tr></table><table border="0" summary="Function synopsis" cellspacing="0" cellpadding="0" style="padding-bottom: 1em"><tr><td><code class="funcdef">int  <b class="fsfunc">zzip_init_io</b>(</code></td><td>, </td><td>�</td></tr><tr><td>�</td><td><code>)</code>;</td><td>�</td></tr></table><table border="0" summary="Function argument synopsis" cellspacing="0" cellpadding="0" style="padding-bottom: 1em"><tr><td>�</td><td>;</td></tr><tr><td>�</td><td>;</td></tr></table><table border="0" summary="Function synopsis" cellspacing="0" cellpadding="0" style="padding-bottom: 1em"><tr><td><code class="funcdef">zzip_plugin_io_t
1019
 
 <b class="fsfunc">zzip_get_default_io</b>(</code></td><td><code>)</code>;</td><td>�</td></tr></table><table border="0" summary="Function argument synopsis" cellspacing="0" cellpadding="0" style="padding-bottom: 1em"><tr><td>�</td><td>;</td></tr></table><table border="0" summary="Function synopsis" cellspacing="0" cellpadding="0" style="padding-bottom: 1em"><tr><td><code class="funcdef">int 
1020
 
 <b class="fsfunc">zzip_dir_stat</b>(</code></td><td>, </td><td>�</td></tr><tr><td>�</td><td>, </td><td>�</td></tr><tr><td>�</td><td>, </td><td>�</td></tr><tr><td>�</td><td><code>)</code>;</td><td>�</td></tr></table><table border="0" summary="Function argument synopsis" cellspacing="0" cellpadding="0" style="padding-bottom: 1em"><tr><td>�</td><td>;</td></tr><tr><td>�</td><td>;</td></tr><tr><td>�</td><td>;</td></tr><tr><td>�</td><td>;</td></tr></table><table border="0" summary="Function synopsis" cellspacing="0" cellpadding="0" style="padding-bottom: 1em"><tr><td><code class="funcdef">uint32_t  <b class="fsfunc">__zzip_get32</b>(</code></td><td><code>)</code>;</td><td>�</td></tr></table><table border="0" summary="Function argument synopsis" cellspacing="0" cellpadding="0" style="padding-bottom: 1em"><tr><td>�</td><td>;</td></tr></table><table border="0" summary="Function synopsis" cellspacing="0" cellpadding="0" style="padding-bottom: 1em"><tr><td><code class="funcdef">int 
1021
 
 <b class="fsfunc">__zzip_find_disk_trailer</b>(</code></td><td>, </td><td>�</td></tr><tr><td>�</td><td>, </td><td>�</td></tr><tr><td>�</td><td>, </td><td>�</td></tr><tr><td>�</td><td><code>)</code>;</td><td>�</td></tr></table><table border="0" summary="Function argument synopsis" cellspacing="0" cellpadding="0" style="padding-bottom: 1em"><tr><td>�</td><td>;</td></tr><tr><td>�</td><td>;</td></tr><tr><td>�</td><td>;</td></tr><tr><td>�</td><td>;</td></tr></table><table border="0" summary="Function synopsis" cellspacing="0" cellpadding="0" style="padding-bottom: 1em"><tr><td><code class="funcdef">int 
1022
 
 <b class="fsfunc">__zzip_parse_root_directory</b>(</code></td><td>, </td><td>�</td></tr><tr><td>�</td><td>, </td><td>�</td></tr><tr><td>�</td><td>, </td><td>�</td></tr><tr><td>�</td><td><code>)</code>;</td><td>�</td></tr></table><table border="0" summary="Function argument synopsis" cellspacing="0" cellpadding="0" style="padding-bottom: 1em"><tr><td>�</td><td>;</td></tr><tr><td>�</td><td>;</td></tr><tr><td>�</td><td>;</td></tr><tr><td>�</td><td>;</td></tr></table><table border="0" summary="Function synopsis" cellspacing="0" cellpadding="0" style="padding-bottom: 1em"><tr><td><code class="funcdef">ZZIP_DIR*
1023
 
 <b class="fsfunc">zzip_dir_alloc_ext_io</b>(</code></td><td>, </td><td>�</td></tr><tr><td>�</td><td><code>)</code>;</td><td>�</td></tr></table><table border="0" summary="Function argument synopsis" cellspacing="0" cellpadding="0" style="padding-bottom: 1em"><tr><td>�</td><td>;</td></tr><tr><td>�</td><td>;</td></tr></table><table border="0" summary="Function synopsis" cellspacing="0" cellpadding="0" style="padding-bottom: 1em"><tr><td><code class="funcdef">ZZIP_DIR*
1024
 
 <b class="fsfunc">zzip_dir_alloc</b>(</code></td><td><code>)</code>;</td><td>�</td></tr></table><table border="0" summary="Function argument synopsis" cellspacing="0" cellpadding="0" style="padding-bottom: 1em"><tr><td>�</td><td>;</td></tr></table><table border="0" summary="Function synopsis" cellspacing="0" cellpadding="0" style="padding-bottom: 1em"><tr><td><code class="funcdef">int 
1025
 
 <b class="fsfunc">zzip_dir_free</b>(</code></td><td><code>)</code>;</td><td>�</td></tr></table><table border="0" summary="Function argument synopsis" cellspacing="0" cellpadding="0" style="padding-bottom: 1em"><tr><td>�</td><td>;</td></tr></table><table border="0" summary="Function synopsis" cellspacing="0" cellpadding="0" style="padding-bottom: 1em"><tr><td><code class="funcdef">int 
1026
 
 <b class="fsfunc">zzip_dir_close</b>(</code></td><td><code>)</code>;</td><td>�</td></tr></table><table border="0" summary="Function argument synopsis" cellspacing="0" cellpadding="0" style="padding-bottom: 1em"><tr><td>�</td><td>;</td></tr></table><table border="0" summary="Function synopsis" cellspacing="0" cellpadding="0" style="padding-bottom: 1em"><tr><td><code class="funcdef">ZZIP_DIR * 
1027
 
 <b class="fsfunc">zzip_dir_fdopen</b>(</code></td><td>, </td><td>�</td></tr><tr><td>�</td><td><code>)</code>;</td><td>�</td></tr></table><table border="0" summary="Function argument synopsis" cellspacing="0" cellpadding="0" style="padding-bottom: 1em"><tr><td>�</td><td>;</td></tr><tr><td>�</td><td>;</td></tr></table><table border="0" summary="Function synopsis" cellspacing="0" cellpadding="0" style="padding-bottom: 1em"><tr><td><code class="funcdef">ZZIP_DIR * 
1028
 
 <b class="fsfunc">zzip_dir_fdopen_ext_io</b>(</code></td><td>, </td><td>�</td></tr><tr><td>�</td><td>, </td><td>�</td></tr><tr><td>�</td><td>, </td><td>�</td></tr><tr><td>�</td><td><code>)</code>;</td><td>�</td></tr></table><table border="0" summary="Function argument synopsis" cellspacing="0" cellpadding="0" style="padding-bottom: 1em"><tr><td>�</td><td>;</td></tr><tr><td>�</td><td>;</td></tr><tr><td>�</td><td>;</td></tr><tr><td>�</td><td>;</td></tr></table><table border="0" summary="Function synopsis" cellspacing="0" cellpadding="0" style="padding-bottom: 1em"><tr><td><code class="funcdef">int
1029
 
 <b class="fsfunc">__zzip_try_open</b>(</code></td><td>, </td><td>�</td></tr><tr><td>�</td><td>, </td><td>�</td></tr><tr><td>�</td><td>, </td><td>�</td></tr><tr><td>�</td><td><code>)</code>;</td><td>�</td></tr></table><table border="0" summary="Function argument synopsis" cellspacing="0" cellpadding="0" style="padding-bottom: 1em"><tr><td>�</td><td>;</td></tr><tr><td>�</td><td>;</td></tr><tr><td>�</td><td>;</td></tr><tr><td>�</td><td>;</td></tr></table><table border="0" summary="Function synopsis" cellspacing="0" cellpadding="0" style="padding-bottom: 1em"><tr><td><code class="funcdef">ZZIP_DIR* 
1030
 
 <b class="fsfunc">zzip_dir_open</b>(</code></td><td>, </td><td>�</td></tr><tr><td>�</td><td><code>)</code>;</td><td>�</td></tr></table><table border="0" summary="Function argument synopsis" cellspacing="0" cellpadding="0" style="padding-bottom: 1em"><tr><td>�</td><td>;</td></tr><tr><td>�</td><td>;</td></tr></table><table border="0" summary="Function synopsis" cellspacing="0" cellpadding="0" style="padding-bottom: 1em"><tr><td><code class="funcdef">ZZIP_DIR* 
1031
 
 <b class="fsfunc">zzip_dir_open_ext_io</b>(</code></td><td>, </td><td>�</td></tr><tr><td>�</td><td>, </td><td>�</td></tr><tr><td>�</td><td>, </td><td>�</td></tr><tr><td>�</td><td><code>)</code>;</td><td>�</td></tr></table><table border="0" summary="Function argument synopsis" cellspacing="0" cellpadding="0" style="padding-bottom: 1em"><tr><td>�</td><td>;</td></tr><tr><td>�</td><td>;</td></tr><tr><td>�</td><td>;</td></tr><tr><td>�</td><td>;</td></tr></table><table border="0" summary="Function synopsis" cellspacing="0" cellpadding="0" style="padding-bottom: 1em"><tr><td><code class="funcdef">int
1032
 
 <b class="fsfunc">zzip_dir_read</b>(</code></td><td>, </td><td>�</td></tr><tr><td>�</td><td><code>)</code>;</td><td>�</td></tr></table><table border="0" summary="Function argument synopsis" cellspacing="0" cellpadding="0"><tr><td>�</td><td>;</td></tr><tr><td>�</td><td>;</td></tr></table></div></div><div class="refsect1" lang="en"><h2>Description</h2>
1033
 
 : zziplib provides read access to zipped files in a zip-archive,
1034
 
 : using compression based solely on free algorithms provided by zlib.
1035
 
 
1036
 
 
1037
 
</div><div class="refsect1" lang="en"><h2>Author</h2><div class="itemizedlist"><ul type="disc"><li><p>Guido Draheim  <tt class="email">&lt;<a href="mailto:guidod@gmx.de">guidod@gmx.de</a>&gt;</tt></p></li></ul></div></div><div class="refsect1" lang="en"><h2>Copyright</h2><pre class="screen">
1038
 
(c) 1999,2000,2001,2002 Guido Draheim 
1039
 
            All rights reserved, 
1040
 
            use under the restrictions of the 
1041
 
            Lesser GNU General Public License 
1042
 
           note the additional license information  
1043
 
           that can be found in COPYING.ZZIP 
1044
 
 </pre></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="rn01re33.html">Prev</a>�</td><td width="20%" align="center"><a accesskey="u" href="index.html">Up</a></td><td width="40%" align="right">�</td></tr><tr><td width="40%" align="left" valign="top">zzip_dir_read�</td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top">�</td></tr></table></div></body></html>
1045
 
 
1046
 
written.lst/    1060866223  500   0     100664  0         `