summaryrefslogtreecommitdiff
path: root/file_8h_source.html
blob: b851cf4cc50adee299af71b590f67501f4bd220f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.6"/>
<title>navit: file.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">navit
   &#160;<span id="projectnumber">0.5.1-trunk</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.6 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>Globals</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('file_8h_source.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Data Structures</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark">&#160;</span>Properties</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(10)"><span class="SelectionMark">&#160;</span>Macros</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(11)"><span class="SelectionMark">&#160;</span>Groups</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="headertitle">
<div class="title">file.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="file_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;</div>
<div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;<span class="preprocessor">#ifndef NAVIT_FILE_H</span></div>
<div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define NAVIT_FILE_H</span></div>
<div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;<span class="preprocessor">#ifdef __cplusplus</span></div>
<div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;<span class="preprocessor"></span><span class="keyword">extern</span> <span class="stringliteral">&quot;C&quot;</span> {</div>
<div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;<span class="preprocessor">#ifndef PATH_MAX</span></div>
<div class="line"><a name="l00028"></a><span class="lineno"><a class="line" href="file_8h.html#ae688d728e1acdfe5988c7db45d6f0166">   28</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define PATH_MAX 4096</span></div>
<div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;<span class="preprocessor"></span><span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;<span class="preprocessor"></span><span class="preprocessor">#ifndef __CEGCC__</span></div>
<div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;<span class="preprocessor"></span><span class="preprocessor">#include &lt;time.h&gt;</span></div>
<div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;<span class="preprocessor"></span><span class="preprocessor">#include &quot;<a class="code" href="param_8h.html">param.h</a>&quot;</span></div>
<div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160;<span class="preprocessor">#include &lt;stdio.h&gt;</span></div>
<div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160;</div>
<div class="line"><a name="l00036"></a><span class="lineno"><a class="line" href="structfile.html">   36</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structfile.html">file</a> {</div>
<div class="line"><a name="l00037"></a><span class="lineno"><a class="line" href="structfile.html#a402d6c3ee49f9e34e6d99b62f5d4ea55">   37</a></span>&#160;        <span class="keyword">struct </span><a class="code" href="structfile.html">file</a> *<a class="code" href="structfile.html#a402d6c3ee49f9e34e6d99b62f5d4ea55">next</a>;</div>
<div class="line"><a name="l00038"></a><span class="lineno"><a class="line" href="structfile.html#a88015b7e593a9f276614c613399004e1">   38</a></span>&#160;        <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> *<a class="code" href="structfile.html#a88015b7e593a9f276614c613399004e1">begin</a>;</div>
<div class="line"><a name="l00039"></a><span class="lineno"><a class="line" href="structfile.html#a25b09204a859bbeb0e294b265ea41012">   39</a></span>&#160;        <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> *<a class="code" href="structfile.html#a25b09204a859bbeb0e294b265ea41012">end</a>;</div>
<div class="line"><a name="l00040"></a><span class="lineno"><a class="line" href="structfile.html#a79f1e9d69a869ef922e67ea0244eda24">   40</a></span>&#160;        <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> *<a class="code" href="structfile.html#a79f1e9d69a869ef922e67ea0244eda24">mmap_end</a>;</div>
<div class="line"><a name="l00041"></a><span class="lineno"><a class="line" href="structfile.html#ab3d1fdd2b550e3dbb5c1d55e5a60d529">   41</a></span>&#160;        <span class="keywordtype">long</span> <span class="keywordtype">long</span> <a class="code" href="structfile.html#ab3d1fdd2b550e3dbb5c1d55e5a60d529">size</a>;</div>
<div class="line"><a name="l00042"></a><span class="lineno"><a class="line" href="structfile.html#a2b675977cc6c2eadfdd5fe236248219a">   42</a></span>&#160;        <span class="keywordtype">int</span> <a class="code" href="structfile.html#a2b675977cc6c2eadfdd5fe236248219a">name_id</a>;</div>
<div class="line"><a name="l00043"></a><span class="lineno"><a class="line" href="structfile.html#abcdc3058fcb2b789cd4ce5f62f274363">   43</a></span>&#160;        <span class="keywordtype">int</span> <a class="code" href="structfile.html#abcdc3058fcb2b789cd4ce5f62f274363">fd</a>;</div>
<div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;<span class="preprocessor">#ifndef __CEGCC__</span></div>
<div class="line"><a name="l00045"></a><span class="lineno"><a class="line" href="structfile.html#a7b72869346a12d1d8f1934a31ae5e345">   45</a></span>&#160;<span class="preprocessor"></span>        time_t <a class="code" href="structfile.html#a7b72869346a12d1d8f1934a31ae5e345">mtime</a>;</div>
<div class="line"><a name="l00046"></a><span class="lineno"><a class="line" href="structfile.html#ac02e899522de9895238f0a6e1216eac7">   46</a></span>&#160;        time_t <a class="code" href="structfile.html#ac02e899522de9895238f0a6e1216eac7">ctime</a>;</div>
<div class="line"><a name="l00047"></a><span class="lineno"><a class="line" href="structfile.html#abd7f34cc53378ce024d1163c5af805cd">   47</a></span>&#160;        <span class="keywordtype">int</span> <a class="code" href="structfile.html#abd7f34cc53378ce024d1163c5af805cd">version</a>;                    </div>
<div class="line"><a name="l00048"></a><span class="lineno">   48</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00049"></a><span class="lineno">   49</span>&#160;<span class="preprocessor"></span><span class="preprocessor">#if defined(_WIN32) || defined(__CEGCC__)</span></div>
<div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160;<span class="preprocessor"></span>        <span class="keywordtype">long</span> map_handle;</div>
<div class="line"><a name="l00051"></a><span class="lineno">   51</span>&#160;        <span class="keywordtype">long</span> map_file;</div>
<div class="line"><a name="l00052"></a><span class="lineno">   52</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00053"></a><span class="lineno"><a class="line" href="structfile.html#a93164d6663f12c00df3d65b7b0990cc2">   53</a></span>&#160;<span class="preprocessor"></span>        <span class="keywordtype">char</span> *<a class="code" href="structfile.html#a93164d6663f12c00df3d65b7b0990cc2">name</a>;</div>
<div class="line"><a name="l00054"></a><span class="lineno"><a class="line" href="structfile.html#a7bd67df9611c4c3e15810a10378750cb">   54</a></span>&#160;        <span class="keywordtype">int</span> <a class="code" href="structfile.html#a7bd67df9611c4c3e15810a10378750cb">special</a>;</div>
<div class="line"><a name="l00055"></a><span class="lineno"><a class="line" href="structfile.html#a19862bc9d6935f7b6b806f97c42cfc59">   55</a></span>&#160;        <span class="keywordtype">int</span> <a class="code" href="structfile.html#a19862bc9d6935f7b6b806f97c42cfc59">cache</a>;</div>
<div class="line"><a name="l00056"></a><span class="lineno"><a class="line" href="structfile.html#adb16a445bd031943ab9bd343e752fa73">   56</a></span>&#160;        <span class="keywordtype">int</span> <a class="code" href="structfile.html#adb16a445bd031943ab9bd343e752fa73">requests</a>;</div>
<div class="line"><a name="l00057"></a><span class="lineno"><a class="line" href="structfile.html#abe06876c668097ad750c2cc4cc75f9d9">   57</a></span>&#160;        <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> *<a class="code" href="structfile.html#abe06876c668097ad750c2cc4cc75f9d9">buffer</a>;</div>
<div class="line"><a name="l00058"></a><span class="lineno"><a class="line" href="structfile.html#a07933ed4e00500de90ab37013de4d904">   58</a></span>&#160;        <span class="keywordtype">int</span> <a class="code" href="structfile.html#a07933ed4e00500de90ab37013de4d904">buffer_len</a>;</div>
<div class="line"><a name="l00059"></a><span class="lineno"><a class="line" href="structfile.html#a91abe96a48655022661d39b377ee8981">   59</a></span>&#160;        GHashTable *<a class="code" href="structfile.html#a91abe96a48655022661d39b377ee8981">headers</a>;</div>
<div class="line"><a name="l00060"></a><span class="lineno">   60</span>&#160;};</div>
<div class="line"><a name="l00061"></a><span class="lineno">   61</span>&#160;</div>
<div class="line"><a name="l00062"></a><span class="lineno">   62</span>&#160;<span class="keyword">struct </span><a class="code" href="structattr.html">attr</a>;</div>
<div class="line"><a name="l00063"></a><span class="lineno">   63</span>&#160;</div>
<div class="line"><a name="l00064"></a><span class="lineno">   64</span>&#160;<span class="comment">/* prototypes */</span></div>
<div class="line"><a name="l00065"></a><span class="lineno">   65</span>&#160;<span class="keywordtype">int</span> <a class="code" href="file_8h.html#a7837e684ce0299cb7d31c7e68c230564">file_request</a>(<span class="keyword">struct</span> <a class="code" href="structfile.html">file</a> *f, <span class="keyword">struct</span> <a class="code" href="structattr.html">attr</a> **options);</div>
<div class="line"><a name="l00066"></a><span class="lineno">   66</span>&#160;<span class="keywordtype">char</span> *<a class="code" href="file_8h.html#a75aab3f4fb581fa0d3d728d28c52f1ba">file_http_header</a>(<span class="keyword">struct</span> <a class="code" href="structfile.html">file</a> *f, <span class="keywordtype">char</span> *header);</div>
<div class="line"><a name="l00067"></a><span class="lineno">   67</span>&#160;<span class="keyword">struct </span><a class="code" href="structfile.html">file</a> *<a class="code" href="file_8h.html#a1bcc51983c7b989b94cc08adaceea241">file_create</a>(<span class="keywordtype">char</span> *<a class="code" href="street_8c.html#afd3f693e384b1ee0a0c44d58351eb87d">name</a>, <span class="keyword">struct</span> <a class="code" href="structattr.html">attr</a> **options);</div>
<div class="line"><a name="l00068"></a><span class="lineno">   68</span>&#160;<span class="keywordtype">int</span> <a class="code" href="file_8h.html#a57698e071a4e6fe91c84e4da182c302e">file_is_dir</a>(<span class="keywordtype">char</span> *<a class="code" href="street_8c.html#afd3f693e384b1ee0a0c44d58351eb87d">name</a>);</div>
<div class="line"><a name="l00069"></a><span class="lineno">   69</span>&#160;<span class="keywordtype">long</span> <span class="keywordtype">long</span> <a class="code" href="file_8h.html#a9287e0c07477d0cd493df5b7279f29af">file_size</a>(<span class="keyword">struct</span> <a class="code" href="structfile.html">file</a> *<a class="code" href="structfile.html">file</a>);</div>
<div class="line"><a name="l00070"></a><span class="lineno">   70</span>&#160;<span class="keywordtype">int</span> <a class="code" href="file_8h.html#aac572ac3d8ed79060edee3302c4d5683">file_mkdir</a>(<span class="keywordtype">char</span> *<a class="code" href="street_8c.html#afd3f693e384b1ee0a0c44d58351eb87d">name</a>, <span class="keywordtype">int</span> pflag);</div>
<div class="line"><a name="l00071"></a><span class="lineno">   71</span>&#160;<span class="keywordtype">int</span> <a class="code" href="file_8h.html#a6076c97fa20e70b6da839018c4cb2118">file_mmap</a>(<span class="keyword">struct</span> <a class="code" href="structfile.html">file</a> *<a class="code" href="structfile.html">file</a>);</div>
<div class="line"><a name="l00072"></a><span class="lineno">   72</span>&#160;<span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> *<a class="code" href="file_8h.html#a03434209170de222e8ccfa1eefdd6b99">file_data_read</a>(<span class="keyword">struct</span> <a class="code" href="structfile.html">file</a> *<a class="code" href="structfile.html">file</a>, <span class="keywordtype">long</span> <span class="keywordtype">long</span> <a class="code" href="garmin__img_8c.html#aed7ea92f45bd273dde380a45ddced592">offset</a>, <span class="keywordtype">int</span> <a class="code" href="garmin__img_8c.html#ad2d6a0619c2be768bdc2eeade6cc3073">size</a>);</div>
<div class="line"><a name="l00073"></a><span class="lineno">   73</span>&#160;<span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> *<a class="code" href="file_8h.html#a28a074b20656f1cad1b6c08c620737ba">file_data_read_special</a>(<span class="keyword">struct</span> <a class="code" href="structfile.html">file</a> *<a class="code" href="structfile.html">file</a>, <span class="keywordtype">int</span> <a class="code" href="garmin__img_8c.html#ad2d6a0619c2be768bdc2eeade6cc3073">size</a>, <span class="keywordtype">int</span> *size_ret);</div>
<div class="line"><a name="l00074"></a><span class="lineno">   74</span>&#160;<span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> *<a class="code" href="file_8h.html#aaf5492384d53ce672c47f8d79b17f07b">file_data_read_all</a>(<span class="keyword">struct</span> <a class="code" href="structfile.html">file</a> *<a class="code" href="structfile.html">file</a>);</div>
<div class="line"><a name="l00075"></a><span class="lineno">   75</span>&#160;<span class="keywordtype">void</span> <a class="code" href="file_8h.html#a66ae386e6d7861cccc93027acf4d9567">file_data_flush</a>(<span class="keyword">struct</span> <a class="code" href="structfile.html">file</a> *<a class="code" href="structfile.html">file</a>, <span class="keywordtype">long</span> <span class="keywordtype">long</span> <a class="code" href="garmin__img_8c.html#aed7ea92f45bd273dde380a45ddced592">offset</a>, <span class="keywordtype">int</span> <a class="code" href="garmin__img_8c.html#ad2d6a0619c2be768bdc2eeade6cc3073">size</a>);</div>
<div class="line"><a name="l00076"></a><span class="lineno">   76</span>&#160;<span class="keywordtype">int</span> <a class="code" href="file_8h.html#a41a2651b3329580c4af8247ce5b0d3e7">file_data_write</a>(<span class="keyword">struct</span> <a class="code" href="structfile.html">file</a> *<a class="code" href="structfile.html">file</a>, <span class="keywordtype">long</span> <span class="keywordtype">long</span> <a class="code" href="garmin__img_8c.html#aed7ea92f45bd273dde380a45ddced592">offset</a>, <span class="keywordtype">int</span> <a class="code" href="garmin__img_8c.html#ad2d6a0619c2be768bdc2eeade6cc3073">size</a>, <span class="keyword">const</span> <span class="keywordtype">void</span> *<a class="code" href="garmin__img_8c.html#a433b1c9921d3b90f7c145c781a43f325">data</a>);</div>
<div class="line"><a name="l00077"></a><span class="lineno">   77</span>&#160;<span class="keywordtype">int</span> <a class="code" href="file_8h.html#a3e0f16dad4101c49069636f434ecfc81">file_get_contents</a>(<span class="keywordtype">char</span> *<a class="code" href="street_8c.html#afd3f693e384b1ee0a0c44d58351eb87d">name</a>, <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> **<a class="code" href="structbuffer.html">buffer</a>, <span class="keywordtype">int</span> *<a class="code" href="garmin__img_8c.html#ad2d6a0619c2be768bdc2eeade6cc3073">size</a>);</div>
<div class="line"><a name="l00078"></a><span class="lineno">   78</span>&#160;<span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> *<a class="code" href="file_8h.html#ac64befa3470a016bad07328ff250f7c1">file_data_read_compressed</a>(<span class="keyword">struct</span> <a class="code" href="structfile.html">file</a> *<a class="code" href="structfile.html">file</a>, <span class="keywordtype">long</span> <span class="keywordtype">long</span> <a class="code" href="garmin__img_8c.html#aed7ea92f45bd273dde380a45ddced592">offset</a>, <span class="keywordtype">int</span> <a class="code" href="garmin__img_8c.html#ad2d6a0619c2be768bdc2eeade6cc3073">size</a>, <span class="keywordtype">int</span> size_uncomp);</div>
<div class="line"><a name="l00079"></a><span class="lineno">   79</span>&#160;<span class="keywordtype">void</span> <a class="code" href="file_8h.html#af1ccac5a6ac77ca49518ddc77c76f3ab">file_data_free</a>(<span class="keyword">struct</span> <a class="code" href="structfile.html">file</a> *<a class="code" href="structfile.html">file</a>, <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> *<a class="code" href="garmin__img_8c.html#a433b1c9921d3b90f7c145c781a43f325">data</a>);</div>
<div class="line"><a name="l00080"></a><span class="lineno">   80</span>&#160;<span class="keywordtype">int</span> <a class="code" href="file_8h.html#a497daf06402ad45fba7d8a4390e69945">file_exists</a>(<span class="keywordtype">char</span> <span class="keyword">const</span> *<a class="code" href="street_8c.html#afd3f693e384b1ee0a0c44d58351eb87d">name</a>);</div>
<div class="line"><a name="l00081"></a><span class="lineno">   81</span>&#160;<span class="keywordtype">void</span> <a class="code" href="file_8h.html#ab438e9920d3989f9150eeecd83efe1c3">file_remap_readonly</a>(<span class="keyword">struct</span> <a class="code" href="structfile.html">file</a> *<a class="code" href="structfile.html#ad7428393cba4ebadb117c3665a1ed615">f</a>);</div>
<div class="line"><a name="l00082"></a><span class="lineno">   82</span>&#160;<span class="keywordtype">void</span> <a class="code" href="file_8h.html#ac9dc2bf2692c2eb0ab339e2179d01ed5">file_unmap</a>(<span class="keyword">struct</span> <a class="code" href="structfile.html">file</a> *<a class="code" href="structfile.html#ad7428393cba4ebadb117c3665a1ed615">f</a>);</div>
<div class="line"><a name="l00083"></a><span class="lineno">   83</span>&#160;<span class="keywordtype">void</span> *<a class="code" href="file_8h.html#a4afd4bfd06e780efd3ef98b9965b1af9">file_opendir</a>(<span class="keywordtype">char</span> *dir);</div>
<div class="line"><a name="l00084"></a><span class="lineno">   84</span>&#160;<span class="keywordtype">char</span> *<a class="code" href="file_8h.html#a93af461b791edc3d37bb8add3abf1d9b">file_readdir</a>(<span class="keywordtype">void</span> *hnd);</div>
<div class="line"><a name="l00085"></a><span class="lineno">   85</span>&#160;<span class="keywordtype">void</span> <a class="code" href="file_8h.html#a29a4d5c6f32b8cf25fdec51c37e97619">file_closedir</a>(<span class="keywordtype">void</span> *hnd);</div>
<div class="line"><a name="l00086"></a><span class="lineno">   86</span>&#160;<span class="keyword">struct </span><a class="code" href="structfile.html">file</a> *<a class="code" href="file_8h.html#a31fbbd395a767dd6865427a0fcad772e">file_create_caseinsensitive</a>(<span class="keywordtype">char</span> *<a class="code" href="street_8c.html#afd3f693e384b1ee0a0c44d58351eb87d">name</a>, <span class="keyword">struct</span> <a class="code" href="structattr.html">attr</a> **options);</div>
<div class="line"><a name="l00087"></a><span class="lineno">   87</span>&#160;<span class="keywordtype">void</span> <a class="code" href="file_8h.html#a3068215517adb9e5b8fda5b091338e07">file_fsync</a>(<span class="keyword">struct</span> <a class="code" href="structfile.html">file</a> *<a class="code" href="structfile.html#ad7428393cba4ebadb117c3665a1ed615">f</a>);</div>
<div class="line"><a name="l00088"></a><span class="lineno">   88</span>&#160;<span class="keywordtype">void</span> <a class="code" href="file_8h.html#a0df2369129cd8812480d2247af8fba03">file_destroy</a>(<span class="keyword">struct</span> <a class="code" href="structfile.html">file</a> *<a class="code" href="structfile.html#ad7428393cba4ebadb117c3665a1ed615">f</a>);</div>
<div class="line"><a name="l00089"></a><span class="lineno">   89</span>&#160;<span class="keyword">struct </span><a class="code" href="structfile__wordexp.html">file_wordexp</a> *<a class="code" href="file_8h.html#a4fb029ed11303c5310f4a906266849f0">file_wordexp_new</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="structfile__wordexp.html#a10131b735a1c89b9bd87ab8af0bec9f7">pattern</a>);</div>
<div class="line"><a name="l00090"></a><span class="lineno">   90</span>&#160;<span class="keywordtype">int</span> <a class="code" href="file_8h.html#a39135f90eef7d8849b4e11a0230e0c2e">file_wordexp_get_count</a>(<span class="keyword">struct</span> <a class="code" href="structfile__wordexp.html">file_wordexp</a> *wexp);</div>
<div class="line"><a name="l00091"></a><span class="lineno">   91</span>&#160;<span class="keywordtype">char</span> **<a class="code" href="file_8h.html#a950b5556b74160903d3e71694028bfa5">file_wordexp_get_array</a>(<span class="keyword">struct</span> <a class="code" href="structfile__wordexp.html">file_wordexp</a> *wexp);</div>
<div class="line"><a name="l00092"></a><span class="lineno">   92</span>&#160;<span class="keywordtype">void</span> <a class="code" href="file_8h.html#a869780562fd6e32de697eae8c2e524e6">file_wordexp_destroy</a>(<span class="keyword">struct</span> <a class="code" href="structfile__wordexp.html">file_wordexp</a> *wexp);</div>
<div class="line"><a name="l00093"></a><span class="lineno">   93</span>&#160;<span class="keywordtype">int</span> <a class="code" href="file_8h.html#a46c44b94cde86c80a5cc2c6254905c58">file_get_param</a>(<span class="keyword">struct</span> <a class="code" href="structfile.html">file</a> *<a class="code" href="structfile.html">file</a>, <span class="keyword">struct</span> <a class="code" href="structparam__list.html">param_list</a> *param, <span class="keywordtype">int</span> count);</div>
<div class="line"><a name="l00094"></a><span class="lineno">   94</span>&#160;<span class="keywordtype">int</span> <a class="code" href="file_8h.html#a532006e6063e1d094485f1206b906766">file_version</a>(<span class="keyword">struct</span> <a class="code" href="structfile.html">file</a> *<a class="code" href="structfile.html">file</a>, <span class="keywordtype">int</span> byname);</div>
<div class="line"><a name="l00095"></a><span class="lineno">   95</span>&#160;<span class="keywordtype">void</span> *<a class="code" href="file_8h.html#a7654001e301f22b756082c10b5acda41">file_get_os_handle</a>(<span class="keyword">struct</span> <a class="code" href="structfile.html">file</a> *<a class="code" href="structfile.html">file</a>);</div>
<div class="line"><a name="l00096"></a><span class="lineno">   96</span>&#160;<span class="keywordtype">int</span> <a class="code" href="file_8h.html#a1b20d3ff0c98b84f049c18a2936eb456">file_set_cache_size</a>(<span class="keywordtype">int</span> cache_size);</div>
<div class="line"><a name="l00097"></a><span class="lineno">   97</span>&#160;<span class="keywordtype">void</span> <a class="code" href="file_8h.html#a986f2900e7344f4fa185c9ec97ff0d91">file_init</a>(<span class="keywordtype">void</span>);</div>
<div class="line"><a name="l00098"></a><span class="lineno">   98</span>&#160;<span class="keywordtype">int</span> <a class="code" href="file_8h.html#a3a46f239a596c64f3e5ae73f37453f39">file_is_reg</a>(<span class="keywordtype">char</span> *<a class="code" href="street_8c.html#afd3f693e384b1ee0a0c44d58351eb87d">name</a>);</div>
<div class="line"><a name="l00099"></a><span class="lineno">   99</span>&#160;<span class="keywordtype">void</span> <a class="code" href="file_8h.html#a76031922f1260793df921314aedbafa8">file_data_remove</a>(<span class="keyword">struct</span> <a class="code" href="structfile.html">file</a> *<a class="code" href="structfile.html">file</a>, <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> *<a class="code" href="garmin__img_8c.html#a433b1c9921d3b90f7c145c781a43f325">data</a>);</div>
<div class="line"><a name="l00100"></a><span class="lineno">  100</span>&#160;<span class="comment">/* end of prototypes */</span></div>
<div class="line"><a name="l00101"></a><span class="lineno">  101</span>&#160;</div>
<div class="line"><a name="l00102"></a><span class="lineno">  102</span>&#160;<span class="preprocessor">#ifdef __cplusplus</span></div>
<div class="line"><a name="l00103"></a><span class="lineno">  103</span>&#160;<span class="preprocessor"></span>}</div>
<div class="line"><a name="l00104"></a><span class="lineno">  104</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00105"></a><span class="lineno">  105</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00106"></a><span class="lineno">  106</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="ttc" id="file_8h_html_a1bcc51983c7b989b94cc08adaceea241"><div class="ttname"><a href="file_8h.html#a1bcc51983c7b989b94cc08adaceea241">file_create</a></div><div class="ttdeci">struct file * file_create(char *name, struct attr **options)</div><div class="ttdef"><b>Definition:</b> file.c:194</div></div>
<div class="ttc" id="structfile_html_a7bd67df9611c4c3e15810a10378750cb"><div class="ttname"><a href="structfile.html#a7bd67df9611c4c3e15810a10378750cb">file::special</a></div><div class="ttdeci">int special</div><div class="ttdef"><b>Definition:</b> file.h:54</div></div>
<div class="ttc" id="structfile_html_a402d6c3ee49f9e34e6d99b62f5d4ea55"><div class="ttname"><a href="structfile.html#a402d6c3ee49f9e34e6d99b62f5d4ea55">file::next</a></div><div class="ttdeci">struct file * next</div><div class="ttdef"><b>Definition:</b> file.h:37</div></div>
<div class="ttc" id="file_8h_html_a4fb029ed11303c5310f4a906266849f0"><div class="ttname"><a href="file_8h.html#a4fb029ed11303c5310f4a906266849f0">file_wordexp_new</a></div><div class="ttdeci">struct file_wordexp * file_wordexp_new(const char *pattern)</div><div class="ttdef"><b>Definition:</b> file.c:745</div></div>
<div class="ttc" id="file_8h_html_a869780562fd6e32de697eae8c2e524e6"><div class="ttname"><a href="file_8h.html#a869780562fd6e32de697eae8c2e524e6">file_wordexp_destroy</a></div><div class="ttdeci">void file_wordexp_destroy(struct file_wordexp *wexp)</div><div class="ttdef"><b>Definition:</b> file.c:773</div></div>
<div class="ttc" id="garmin__img_8c_html_aed7ea92f45bd273dde380a45ddced592"><div class="ttname"><a href="garmin__img_8c.html#aed7ea92f45bd273dde380a45ddced592">offset</a></div><div class="ttdeci">int offset</div><div class="ttdef"><b>Definition:</b> garmin_img.c:69</div></div>
<div class="ttc" id="file_8h_html_ac64befa3470a016bad07328ff250f7c1"><div class="ttname"><a href="file_8h.html#ac64befa3470a016bad07328ff250f7c1">file_data_read_compressed</a></div><div class="ttdeci">unsigned char * file_data_read_compressed(struct file *file, long long offset, int size, int size_uncomp)</div><div class="ttdef"><b>Definition:</b> file.c:518</div></div>
<div class="ttc" id="file_8h_html_a76031922f1260793df921314aedbafa8"><div class="ttname"><a href="file_8h.html#a76031922f1260793df921314aedbafa8">file_data_remove</a></div><div class="ttdeci">void file_data_remove(struct file *file, unsigned char *data)</div><div class="ttdef"><b>Definition:</b> file.c:566</div></div>
<div class="ttc" id="file_8h_html_a7837e684ce0299cb7d31c7e68c230564"><div class="ttname"><a href="file_8h.html#a7837e684ce0299cb7d31c7e68c230564">file_request</a></div><div class="ttdeci">int file_request(struct file *f, struct attr **options)</div><div class="ttdef"><b>Definition:</b> file.c:176</div></div>
<div class="ttc" id="file_8h_html_a532006e6063e1d094485f1206b906766"><div class="ttname"><a href="file_8h.html#a532006e6063e1d094485f1206b906766">file_version</a></div><div class="ttdeci">int file_version(struct file *file, int byname)</div><div class="ttdef"><b>Definition:</b> file.c:783</div></div>
<div class="ttc" id="file_8h_html_a39135f90eef7d8849b4e11a0230e0c2e"><div class="ttname"><a href="file_8h.html#a39135f90eef7d8849b4e11a0230e0c2e">file_wordexp_get_count</a></div><div class="ttdeci">int file_wordexp_get_count(struct file_wordexp *wexp)</div><div class="ttdef"><b>Definition:</b> file.c:757</div></div>
<div class="ttc" id="structfile_html_a7b72869346a12d1d8f1934a31ae5e345"><div class="ttname"><a href="structfile.html#a7b72869346a12d1d8f1934a31ae5e345">file::mtime</a></div><div class="ttdeci">time_t mtime</div><div class="ttdef"><b>Definition:</b> file.h:45</div></div>
<div class="ttc" id="garmin__img_8c_html_ad2d6a0619c2be768bdc2eeade6cc3073"><div class="ttname"><a href="garmin__img_8c.html#ad2d6a0619c2be768bdc2eeade6cc3073">size</a></div><div class="ttdeci">int size</div><div class="ttdef"><b>Definition:</b> garmin_img.c:131</div></div>
<div class="ttc" id="structfile_html_a07933ed4e00500de90ab37013de4d904"><div class="ttname"><a href="structfile.html#a07933ed4e00500de90ab37013de4d904">file::buffer_len</a></div><div class="ttdeci">int buffer_len</div><div class="ttdef"><b>Definition:</b> file.h:58</div></div>
<div class="ttc" id="structfile_html_abd7f34cc53378ce024d1163c5af805cd"><div class="ttname"><a href="structfile.html#abd7f34cc53378ce024d1163c5af805cd">file::version</a></div><div class="ttdeci">int version</div><div class="ttdef"><b>Definition:</b> file.h:47</div></div>
<div class="ttc" id="file_8h_html_a7654001e301f22b756082c10b5acda41"><div class="ttname"><a href="file_8h.html#a7654001e301f22b756082c10b5acda41">file_get_os_handle</a></div><div class="ttdeci">void * file_get_os_handle(struct file *file)</div><div class="ttdef"><b>Definition:</b> file.c:816</div></div>
<div class="ttc" id="file_8h_html_a75aab3f4fb581fa0d3d728d28c52f1ba"><div class="ttname"><a href="file_8h.html#a75aab3f4fb581fa0d3d728d28c52f1ba">file_http_header</a></div><div class="ttdeci">char * file_http_header(struct file *f, char *header)</div><div class="ttdef"><b>Definition:</b> file.c:186</div></div>
<div class="ttc" id="file_8h_html_aaf5492384d53ce672c47f8d79b17f07b"><div class="ttname"><a href="file_8h.html#aaf5492384d53ce672c47f8d79b17f07b">file_data_read_all</a></div><div class="ttdeci">unsigned char * file_data_read_all(struct file *file)</div><div class="ttdef"><b>Definition:</b> file.c:445</div></div>
<div class="ttc" id="structfile_html_adb16a445bd031943ab9bd343e752fa73"><div class="ttname"><a href="structfile.html#adb16a445bd031943ab9bd343e752fa73">file::requests</a></div><div class="ttdeci">int requests</div><div class="ttdef"><b>Definition:</b> file.h:56</div></div>
<div class="ttc" id="file_8h_html_a93af461b791edc3d37bb8add3abf1d9b"><div class="ttname"><a href="file_8h.html#a93af461b791edc3d37bb8add3abf1d9b">file_readdir</a></div><div class="ttdeci">char * file_readdir(void *hnd)</div><div class="ttdef"><b>Definition:</b> file.c:634</div></div>
<div class="ttc" id="file_8h_html_a3a46f239a596c64f3e5ae73f37453f39"><div class="ttname"><a href="file_8h.html#a3a46f239a596c64f3e5ae73f37453f39">file_is_reg</a></div><div class="ttdeci">int file_is_reg(char *name)</div><div class="ttdef"><b>Definition:</b> file.c:257</div></div>
<div class="ttc" id="structfile__wordexp_html"><div class="ttname"><a href="structfile__wordexp.html">file_wordexp</a></div><div class="ttdef"><b>Definition:</b> file.c:738</div></div>
<div class="ttc" id="file_8h_html_a950b5556b74160903d3e71694028bfa5"><div class="ttname"><a href="file_8h.html#a950b5556b74160903d3e71694028bfa5">file_wordexp_get_array</a></div><div class="ttdeci">char ** file_wordexp_get_array(struct file_wordexp *wexp)</div><div class="ttdef"><b>Definition:</b> file.c:765</div></div>
<div class="ttc" id="file_8h_html_a3068215517adb9e5b8fda5b091338e07"><div class="ttname"><a href="file_8h.html#a3068215517adb9e5b8fda5b091338e07">file_fsync</a></div><div class="ttdeci">void file_fsync(struct file *f)</div><div class="ttdef"><b>Definition:</b> file.c:709</div></div>
<div class="ttc" id="structfile_html_a19862bc9d6935f7b6b806f97c42cfc59"><div class="ttname"><a href="structfile.html#a19862bc9d6935f7b6b806f97c42cfc59">file::cache</a></div><div class="ttdeci">int cache</div><div class="ttdef"><b>Definition:</b> file.h:55</div></div>
<div class="ttc" id="structfile_html_a93164d6663f12c00df3d65b7b0990cc2"><div class="ttname"><a href="structfile.html#a93164d6663f12c00df3d65b7b0990cc2">file::name</a></div><div class="ttdeci">char * name</div><div class="ttdef"><b>Definition:</b> file.h:53</div></div>
<div class="ttc" id="param_8h_html"><div class="ttname"><a href="param_8h.html">param.h</a></div></div>
<div class="ttc" id="file_8h_html_a31fbbd395a767dd6865427a0fcad772e"><div class="ttname"><a href="file_8h.html#a31fbbd395a767dd6865427a0fcad772e">file_create_caseinsensitive</a></div><div class="ttdeci">struct file * file_create_caseinsensitive(char *name, struct attr **options)</div><div class="ttdef"><b>Definition:</b> file.c:672</div></div>
<div class="ttc" id="file_8h_html_a29a4d5c6f32b8cf25fdec51c37e97619"><div class="ttname"><a href="file_8h.html#a29a4d5c6f32b8cf25fdec51c37e97619">file_closedir</a></div><div class="ttdeci">void file_closedir(void *hnd)</div><div class="ttdef"><b>Definition:</b> file.c:659</div></div>
<div class="ttc" id="structfile_html_a88015b7e593a9f276614c613399004e1"><div class="ttname"><a href="structfile.html#a88015b7e593a9f276614c613399004e1">file::begin</a></div><div class="ttdeci">unsigned char * begin</div><div class="ttdef"><b>Definition:</b> file.h:38</div></div>
<div class="ttc" id="file_8h_html_a986f2900e7344f4fa185c9ec97ff0d91"><div class="ttname"><a href="file_8h.html#a986f2900e7344f4fa185c9ec97ff0d91">file_init</a></div><div class="ttdeci">void file_init(void)</div><div class="ttdef"><b>Definition:</b> file.c:833</div></div>
<div class="ttc" id="structfile__wordexp_html_a10131b735a1c89b9bd87ab8af0bec9f7"><div class="ttname"><a href="structfile__wordexp.html#a10131b735a1c89b9bd87ab8af0bec9f7">file_wordexp::pattern</a></div><div class="ttdeci">char * pattern</div><div class="ttdef"><b>Definition:</b> file.c:740</div></div>
<div class="ttc" id="structparam__list_html"><div class="ttname"><a href="structparam__list.html">param_list</a></div><div class="ttdef"><b>Definition:</b> param.h:23</div></div>
<div class="ttc" id="structfile_html_ac02e899522de9895238f0a6e1216eac7"><div class="ttname"><a href="structfile.html#ac02e899522de9895238f0a6e1216eac7">file::ctime</a></div><div class="ttdeci">time_t ctime</div><div class="ttdef"><b>Definition:</b> file.h:46</div></div>
<div class="ttc" id="structfile_html_abcdc3058fcb2b789cd4ce5f62f274363"><div class="ttname"><a href="structfile.html#abcdc3058fcb2b789cd4ce5f62f274363">file::fd</a></div><div class="ttdeci">int fd</div><div class="ttdef"><b>Definition:</b> file.h:43</div></div>
<div class="ttc" id="file_8h_html_aac572ac3d8ed79060edee3302c4d5683"><div class="ttname"><a href="file_8h.html#aac572ac3d8ed79060edee3302c4d5683">file_mkdir</a></div><div class="ttdeci">int file_mkdir(char *name, int pflag)</div><div class="ttdef"><b>Definition:</b> file.c:272</div></div>
<div class="ttc" id="file_8h_html_ab438e9920d3989f9150eeecd83efe1c3"><div class="ttname"><a href="file_8h.html#ab438e9920d3989f9150eeecd83efe1c3">file_remap_readonly</a></div><div class="ttdeci">void file_remap_readonly(struct file *f)</div><div class="ttdef"><b>Definition:</b> file.c:590</div></div>
<div class="ttc" id="file_8h_html_a28a074b20656f1cad1b6c08c620737ba"><div class="ttname"><a href="file_8h.html#a28a074b20656f1cad1b6c08c620737ba">file_data_read_special</a></div><div class="ttdeci">unsigned char * file_data_read_special(struct file *file, int size, int *size_ret)</div><div class="ttdef"><b>Definition:</b> file.c:396</div></div>
<div class="ttc" id="file_8h_html_a4afd4bfd06e780efd3ef98b9965b1af9"><div class="ttname"><a href="file_8h.html#a4afd4bfd06e780efd3ef98b9965b1af9">file_opendir</a></div><div class="ttdeci">void * file_opendir(char *dir)</div><div class="ttdef"><b>Definition:</b> file.c:614</div></div>
<div class="ttc" id="file_8h_html_a3e0f16dad4101c49069636f434ecfc81"><div class="ttname"><a href="file_8h.html#a3e0f16dad4101c49069636f434ecfc81">file_get_contents</a></div><div class="ttdeci">int file_get_contents(char *name, unsigned char **buffer, int *size)</div><div class="ttdef"><b>Definition:</b> file.c:473</div></div>
<div class="ttc" id="garmin__img_8c_html_a433b1c9921d3b90f7c145c781a43f325"><div class="ttname"><a href="garmin__img_8c.html#a433b1c9921d3b90f7c145c781a43f325">data</a></div><div class="ttdeci">char data</div><div class="ttdef"><b>Definition:</b> garmin_img.c:354</div></div>
<div class="ttc" id="structattr_html"><div class="ttname"><a href="structattr.html">attr</a></div><div class="ttdef"><b>Definition:</b> attr.h:156</div></div>
<div class="ttc" id="file_8h_html_a46c44b94cde86c80a5cc2c6254905c58"><div class="ttname"><a href="file_8h.html#a46c44b94cde86c80a5cc2c6254905c58">file_get_param</a></div><div class="ttdeci">int file_get_param(struct file *file, struct param_list *param, int count)</div></div>
<div class="ttc" id="file_8h_html_ac9dc2bf2692c2eb0ab339e2179d01ed5"><div class="ttname"><a href="file_8h.html#ac9dc2bf2692c2eb0ab339e2179d01ed5">file_unmap</a></div><div class="ttdeci">void file_unmap(struct file *f)</div><div class="ttdef"><b>Definition:</b> file.c:603</div></div>
<div class="ttc" id="file_8h_html_a6076c97fa20e70b6da839018c4cb2118"><div class="ttname"><a href="file_8h.html#a6076c97fa20e70b6da839018c4cb2118">file_mmap</a></div><div class="ttdeci">int file_mmap(struct file *file)</div><div class="ttdef"><b>Definition:</b> file.c:304</div></div>
<div class="ttc" id="file_8h_html_a66ae386e6d7861cccc93027acf4d9567"><div class="ttname"><a href="file_8h.html#a66ae386e6d7861cccc93027acf4d9567">file_data_flush</a></div><div class="ttdeci">void file_data_flush(struct file *file, long long offset, int size)</div><div class="ttdef"><b>Definition:</b> file.c:451</div></div>
<div class="ttc" id="structfile_html_ab3d1fdd2b550e3dbb5c1d55e5a60d529"><div class="ttname"><a href="structfile.html#ab3d1fdd2b550e3dbb5c1d55e5a60d529">file::size</a></div><div class="ttdeci">long long size</div><div class="ttdef"><b>Definition:</b> file.h:41</div></div>
<div class="ttc" id="structfile_html_a2b675977cc6c2eadfdd5fe236248219a"><div class="ttname"><a href="structfile.html#a2b675977cc6c2eadfdd5fe236248219a">file::name_id</a></div><div class="ttdeci">int name_id</div><div class="ttdef"><b>Definition:</b> file.h:42</div></div>
<div class="ttc" id="file_8h_html_af1ccac5a6ac77ca49518ddc77c76f3ab"><div class="ttname"><a href="file_8h.html#af1ccac5a6ac77ca49518ddc77c76f3ab">file_data_free</a></div><div class="ttdeci">void file_data_free(struct file *file, unsigned char *data)</div><div class="ttdef"><b>Definition:</b> file.c:551</div></div>
<div class="ttc" id="file_8h_html_a9287e0c07477d0cd493df5b7279f29af"><div class="ttname"><a href="file_8h.html#a9287e0c07477d0cd493df5b7279f29af">file_size</a></div><div class="ttdeci">long long file_size(struct file *file)</div><div class="ttdef"><b>Definition:</b> file.c:267</div></div>
<div class="ttc" id="structfile_html_abe06876c668097ad750c2cc4cc75f9d9"><div class="ttname"><a href="structfile.html#abe06876c668097ad750c2cc4cc75f9d9">file::buffer</a></div><div class="ttdeci">unsigned char * buffer</div><div class="ttdef"><b>Definition:</b> file.h:57</div></div>
<div class="ttc" id="file_8h_html_a41a2651b3329580c4af8247ce5b0d3e7"><div class="ttname"><a href="file_8h.html#a41a2651b3329580c4af8247ce5b0d3e7">file_data_write</a></div><div class="ttdeci">int file_data_write(struct file *file, long long offset, int size, const void *data)</div><div class="ttdef"><b>Definition:</b> file.c:461</div></div>
<div class="ttc" id="structbuffer_html"><div class="ttname"><a href="structbuffer.html">buffer</a></div><div class="ttdef"><b>Definition:</b> maptool.h:168</div></div>
<div class="ttc" id="structfile_html_ad7428393cba4ebadb117c3665a1ed615"><div class="ttname"><a href="structfile.html#ad7428393cba4ebadb117c3665a1ed615">file::f</a></div><div class="ttdeci">FILE * f</div><div class="ttdef"><b>Definition:</b> garmin_img.c:40</div></div>
<div class="ttc" id="file_8h_html_a1b20d3ff0c98b84f049c18a2936eb456"><div class="ttname"><a href="file_8h.html#a1b20d3ff0c98b84f049c18a2936eb456">file_set_cache_size</a></div><div class="ttdeci">int file_set_cache_size(int cache_size)</div><div class="ttdef"><b>Definition:</b> file.c:822</div></div>
<div class="ttc" id="structfile_html_a91abe96a48655022661d39b377ee8981"><div class="ttname"><a href="structfile.html#a91abe96a48655022661d39b377ee8981">file::headers</a></div><div class="ttdeci">GHashTable * headers</div><div class="ttdef"><b>Definition:</b> file.h:59</div></div>
<div class="ttc" id="structfile_html_a79f1e9d69a869ef922e67ea0244eda24"><div class="ttname"><a href="structfile.html#a79f1e9d69a869ef922e67ea0244eda24">file::mmap_end</a></div><div class="ttdeci">unsigned char * mmap_end</div><div class="ttdef"><b>Definition:</b> file.h:40</div></div>
<div class="ttc" id="street_8c_html_afd3f693e384b1ee0a0c44d58351eb87d"><div class="ttname"><a href="street_8c.html#afd3f693e384b1ee0a0c44d58351eb87d">name</a></div><div class="ttdeci">char name[0]</div><div class="ttdef"><b>Definition:</b> street.c:521</div></div>
<div class="ttc" id="file_8h_html_a497daf06402ad45fba7d8a4390e69945"><div class="ttname"><a href="file_8h.html#a497daf06402ad45fba7d8a4390e69945">file_exists</a></div><div class="ttdeci">int file_exists(char const *name)</div><div class="ttdef"><b>Definition:</b> file.c:581</div></div>
<div class="ttc" id="file_8h_html_a0df2369129cd8812480d2247af8fba03"><div class="ttname"><a href="file_8h.html#a0df2369129cd8812480d2247af8fba03">file_destroy</a></div><div class="ttdeci">void file_destroy(struct file *f)</div><div class="ttdef"><b>Definition:</b> file.c:717</div></div>
<div class="ttc" id="structfile_html_a25b09204a859bbeb0e294b265ea41012"><div class="ttname"><a href="structfile.html#a25b09204a859bbeb0e294b265ea41012">file::end</a></div><div class="ttdeci">unsigned char * end</div><div class="ttdef"><b>Definition:</b> file.h:39</div></div>
<div class="ttc" id="file_8h_html_a03434209170de222e8ccfa1eefdd6b99"><div class="ttname"><a href="file_8h.html#a03434209170de222e8ccfa1eefdd6b99">file_data_read</a></div><div class="ttdeci">unsigned char * file_data_read(struct file *file, long long offset, int size)</div><div class="ttdef"><b>Definition:</b> file.c:329</div></div>
<div class="ttc" id="file_8h_html_a57698e071a4e6fe91c84e4da182c302e"><div class="ttname"><a href="file_8h.html#a57698e071a4e6fe91c84e4da182c302e">file_is_dir</a></div><div class="ttdeci">int file_is_dir(char *name)</div><div class="ttdef"><b>Definition:</b> file.c:247</div></div>
<div class="ttc" id="structfile_html"><div class="ttname"><a href="structfile.html">file</a></div><div class="ttdef"><b>Definition:</b> file.h:36</div></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="file_8h.html">file.h</a></li>
    <li class="footer">Generated by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.6 </li>
  </ul>
</div>
</body>
</html>