File: structmschmd__header.html

package info (click to toggle)
libmspack 0.5-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie-kfreebsd
  • size: 3,916 kB
  • sloc: sh: 11,332; ansic: 7,879; perl: 131; makefile: 97
file content (433 lines) | stat: -rw-r--r-- 24,278 bytes parent folder | download | duplicates (3)
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
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
<!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>libmspack: mschmd_header Struct Reference</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="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">libmspack
   </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 class="current"><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li><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="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li><a href="classes.html"><span>Data&#160;Structure&#160;Index</span></a></li>
      <li><a href="functions.html"><span>Data&#160;Fields</span></a></li>
    </ul>
  </div>
<!-- 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>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Macros</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><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-attribs">Data Fields</a>  </div>
  <div class="headertitle">
<div class="title">mschmd_header Struct Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>A structure which represents a CHM helpfile.  
 <a href="structmschmd__header.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="mspack_8h_source.html">mspack.h</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Data Fields</h2></td></tr>
<tr class="memitem:a273b8a0f48ba7d9c3ffb01426585925c"><td class="memItemLeft" align="right" valign="top">unsigned int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structmschmd__header.html#a273b8a0f48ba7d9c3ffb01426585925c">version</a></td></tr>
<tr class="memdesc:a273b8a0f48ba7d9c3ffb01426585925c"><td class="mdescLeft">&#160;</td><td class="mdescRight">The version of the CHM file format used in this file.  <a href="#a273b8a0f48ba7d9c3ffb01426585925c">More...</a><br/></td></tr>
<tr class="separator:a273b8a0f48ba7d9c3ffb01426585925c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab844b2365051d8c99ce41ae0a0f4c106"><td class="memItemLeft" align="right" valign="top">unsigned int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structmschmd__header.html#ab844b2365051d8c99ce41ae0a0f4c106">timestamp</a></td></tr>
<tr class="memdesc:ab844b2365051d8c99ce41ae0a0f4c106"><td class="mdescLeft">&#160;</td><td class="mdescRight">The "timestamp" of the CHM helpfile.  <a href="#ab844b2365051d8c99ce41ae0a0f4c106">More...</a><br/></td></tr>
<tr class="separator:ab844b2365051d8c99ce41ae0a0f4c106"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abc4bb0ece1933982ebc18263cbc18166"><td class="memItemLeft" align="right" valign="top">unsigned int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structmschmd__header.html#abc4bb0ece1933982ebc18263cbc18166">language</a></td></tr>
<tr class="memdesc:abc4bb0ece1933982ebc18263cbc18166"><td class="mdescLeft">&#160;</td><td class="mdescRight">The default Language and Country ID (LCID) of the user who ran the HTMLHelp Compiler.  <a href="#abc4bb0ece1933982ebc18263cbc18166">More...</a><br/></td></tr>
<tr class="separator:abc4bb0ece1933982ebc18263cbc18166"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a278de93cf1e7de82ab32189ce190dd46"><td class="memItemLeft" align="right" valign="top">const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structmschmd__header.html#a278de93cf1e7de82ab32189ce190dd46">filename</a></td></tr>
<tr class="memdesc:a278de93cf1e7de82ab32189ce190dd46"><td class="mdescLeft">&#160;</td><td class="mdescRight">The filename of the CHM helpfile.  <a href="#a278de93cf1e7de82ab32189ce190dd46">More...</a><br/></td></tr>
<tr class="separator:a278de93cf1e7de82ab32189ce190dd46"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a33ec169354d6d373667847435c566a12"><td class="memItemLeft" align="right" valign="top">off_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structmschmd__header.html#a33ec169354d6d373667847435c566a12">length</a></td></tr>
<tr class="memdesc:a33ec169354d6d373667847435c566a12"><td class="mdescLeft">&#160;</td><td class="mdescRight">The length of the CHM helpfile, in bytes.  <a href="#a33ec169354d6d373667847435c566a12">More...</a><br/></td></tr>
<tr class="separator:a33ec169354d6d373667847435c566a12"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aecdd3b5e84606785e9620a70e8f0d0ed"><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="structmschmd__file.html">mschmd_file</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structmschmd__header.html#aecdd3b5e84606785e9620a70e8f0d0ed">files</a></td></tr>
<tr class="memdesc:aecdd3b5e84606785e9620a70e8f0d0ed"><td class="mdescLeft">&#160;</td><td class="mdescRight">A list of all non-system files in the CHM helpfile.  <a href="#aecdd3b5e84606785e9620a70e8f0d0ed">More...</a><br/></td></tr>
<tr class="separator:aecdd3b5e84606785e9620a70e8f0d0ed"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac38b56f77e2a44d998e57ba9301e39d5"><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="structmschmd__file.html">mschmd_file</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structmschmd__header.html#ac38b56f77e2a44d998e57ba9301e39d5">sysfiles</a></td></tr>
<tr class="memdesc:ac38b56f77e2a44d998e57ba9301e39d5"><td class="mdescLeft">&#160;</td><td class="mdescRight">A list of all system files in the CHM helpfile.  <a href="#ac38b56f77e2a44d998e57ba9301e39d5">More...</a><br/></td></tr>
<tr class="separator:ac38b56f77e2a44d998e57ba9301e39d5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aec45cc37c1baeb665336fc93265ca027"><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="structmschmd__sec__uncompressed.html">mschmd_sec_uncompressed</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structmschmd__header.html#aec45cc37c1baeb665336fc93265ca027">sec0</a></td></tr>
<tr class="memdesc:aec45cc37c1baeb665336fc93265ca027"><td class="mdescLeft">&#160;</td><td class="mdescRight">The section 0 (uncompressed) data in this CHM helpfile.  <a href="#aec45cc37c1baeb665336fc93265ca027">More...</a><br/></td></tr>
<tr class="separator:aec45cc37c1baeb665336fc93265ca027"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ace16a8ee32fb28f8c4c1ec85a8bbb5e6"><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="structmschmd__sec__mscompressed.html">mschmd_sec_mscompressed</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structmschmd__header.html#ace16a8ee32fb28f8c4c1ec85a8bbb5e6">sec1</a></td></tr>
<tr class="memdesc:ace16a8ee32fb28f8c4c1ec85a8bbb5e6"><td class="mdescLeft">&#160;</td><td class="mdescRight">The section 1 (MSCompressed) data in this CHM helpfile.  <a href="#ace16a8ee32fb28f8c4c1ec85a8bbb5e6">More...</a><br/></td></tr>
<tr class="separator:ace16a8ee32fb28f8c4c1ec85a8bbb5e6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a01db28807e9a802d2bb876a44a9dd588"><td class="memItemLeft" align="right" valign="top">off_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structmschmd__header.html#a01db28807e9a802d2bb876a44a9dd588">dir_offset</a></td></tr>
<tr class="memdesc:a01db28807e9a802d2bb876a44a9dd588"><td class="mdescLeft">&#160;</td><td class="mdescRight">The file offset of the first PMGL/PMGI directory chunk.  <a href="#a01db28807e9a802d2bb876a44a9dd588">More...</a><br/></td></tr>
<tr class="separator:a01db28807e9a802d2bb876a44a9dd588"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae68d7261646d8ab18f1191a47d4f5161"><td class="memItemLeft" align="right" valign="top">unsigned int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structmschmd__header.html#ae68d7261646d8ab18f1191a47d4f5161">num_chunks</a></td></tr>
<tr class="memdesc:ae68d7261646d8ab18f1191a47d4f5161"><td class="mdescLeft">&#160;</td><td class="mdescRight">The number of PMGL/PMGI directory chunks in this CHM helpfile.  <a href="#ae68d7261646d8ab18f1191a47d4f5161">More...</a><br/></td></tr>
<tr class="separator:ae68d7261646d8ab18f1191a47d4f5161"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad1322c4778bd1690b2a20766c01e5024"><td class="memItemLeft" align="right" valign="top">unsigned int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structmschmd__header.html#ad1322c4778bd1690b2a20766c01e5024">chunk_size</a></td></tr>
<tr class="memdesc:ad1322c4778bd1690b2a20766c01e5024"><td class="mdescLeft">&#160;</td><td class="mdescRight">The size of each PMGL/PMGI chunk, in bytes.  <a href="#ad1322c4778bd1690b2a20766c01e5024">More...</a><br/></td></tr>
<tr class="separator:ad1322c4778bd1690b2a20766c01e5024"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aec85ac3ed9362995fb8aaf98dc515f03"><td class="memItemLeft" align="right" valign="top">unsigned int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structmschmd__header.html#aec85ac3ed9362995fb8aaf98dc515f03">density</a></td></tr>
<tr class="memdesc:aec85ac3ed9362995fb8aaf98dc515f03"><td class="mdescLeft">&#160;</td><td class="mdescRight">The "density" of the quick-reference section in PMGL/PMGI chunks.  <a href="#aec85ac3ed9362995fb8aaf98dc515f03">More...</a><br/></td></tr>
<tr class="separator:aec85ac3ed9362995fb8aaf98dc515f03"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a40832bde453ea8dc77a07d51c81813d3"><td class="memItemLeft" align="right" valign="top">unsigned int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structmschmd__header.html#a40832bde453ea8dc77a07d51c81813d3">depth</a></td></tr>
<tr class="memdesc:a40832bde453ea8dc77a07d51c81813d3"><td class="mdescLeft">&#160;</td><td class="mdescRight">The depth of the index tree.  <a href="#a40832bde453ea8dc77a07d51c81813d3">More...</a><br/></td></tr>
<tr class="separator:a40832bde453ea8dc77a07d51c81813d3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab53047ee0b1be25b3329d69396f68e9f"><td class="memItemLeft" align="right" valign="top">unsigned int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structmschmd__header.html#ab53047ee0b1be25b3329d69396f68e9f">index_root</a></td></tr>
<tr class="memdesc:ab53047ee0b1be25b3329d69396f68e9f"><td class="mdescLeft">&#160;</td><td class="mdescRight">The number of the root PMGI chunk.  <a href="#ab53047ee0b1be25b3329d69396f68e9f">More...</a><br/></td></tr>
<tr class="separator:ab53047ee0b1be25b3329d69396f68e9f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab3ce14be6b72650d65644c74d9d430d8"><td class="memItemLeft" align="right" valign="top">unsigned int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structmschmd__header.html#ab3ce14be6b72650d65644c74d9d430d8">first_pmgl</a></td></tr>
<tr class="memdesc:ab3ce14be6b72650d65644c74d9d430d8"><td class="mdescLeft">&#160;</td><td class="mdescRight">The number of the first PMGL chunk.  <a href="#ab3ce14be6b72650d65644c74d9d430d8">More...</a><br/></td></tr>
<tr class="separator:ab3ce14be6b72650d65644c74d9d430d8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4931f8fa07c04da9a2fbf30c7e59cbda"><td class="memItemLeft" align="right" valign="top">unsigned int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structmschmd__header.html#a4931f8fa07c04da9a2fbf30c7e59cbda">last_pmgl</a></td></tr>
<tr class="memdesc:a4931f8fa07c04da9a2fbf30c7e59cbda"><td class="mdescLeft">&#160;</td><td class="mdescRight">The number of the last PMGL chunk.  <a href="#a4931f8fa07c04da9a2fbf30c7e59cbda">More...</a><br/></td></tr>
<tr class="separator:a4931f8fa07c04da9a2fbf30c7e59cbda"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a59ebd608e30b578dd5bb4cd9ceaf9bcb"><td class="memItemLeft" align="right" valign="top">unsigned char **&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structmschmd__header.html#a59ebd608e30b578dd5bb4cd9ceaf9bcb">chunk_cache</a></td></tr>
<tr class="memdesc:a59ebd608e30b578dd5bb4cd9ceaf9bcb"><td class="mdescLeft">&#160;</td><td class="mdescRight">A cache of loaded chunks, filled in by mschm_decoder::fast_find().  <a href="#a59ebd608e30b578dd5bb4cd9ceaf9bcb">More...</a><br/></td></tr>
<tr class="separator:a59ebd608e30b578dd5bb4cd9ceaf9bcb"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>A structure which represents a CHM helpfile. </p>
<p>All fields are READ ONLY. </p>
</div><h2 class="groupheader">Field Documentation</h2>
<a class="anchor" id="a59ebd608e30b578dd5bb4cd9ceaf9bcb"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">unsigned char** mschmd_header::chunk_cache</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>A cache of loaded chunks, filled in by mschm_decoder::fast_find(). </p>
<p>Available only in CHM decoder version 2 and above. </p>

</div>
</div>
<a class="anchor" id="ad1322c4778bd1690b2a20766c01e5024"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">unsigned int mschmd_header::chunk_size</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>The size of each PMGL/PMGI chunk, in bytes. </p>

</div>
</div>
<a class="anchor" id="aec85ac3ed9362995fb8aaf98dc515f03"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">unsigned int mschmd_header::density</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>The "density" of the quick-reference section in PMGL/PMGI chunks. </p>

</div>
</div>
<a class="anchor" id="a40832bde453ea8dc77a07d51c81813d3"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">unsigned int mschmd_header::depth</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>The depth of the index tree. </p>
<ul>
<li>if 1, there are no PMGI chunks, only PMGL chunks.</li>
<li>if 2, there is 1 PMGI chunk. All chunk indices point to PMGL chunks.</li>
<li>if 3, the root PMGI chunk points to secondary PMGI chunks, which in turn point to PMGL chunks.</li>
<li>and so on... </li>
</ul>

</div>
</div>
<a class="anchor" id="a01db28807e9a802d2bb876a44a9dd588"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">off_t mschmd_header::dir_offset</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>The file offset of the first PMGL/PMGI directory chunk. </p>

</div>
</div>
<a class="anchor" id="a278de93cf1e7de82ab32189ce190dd46"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const char* mschmd_header::filename</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>The filename of the CHM helpfile. </p>
<p>This is given by the library user and may be in any format. </p>

</div>
</div>
<a class="anchor" id="aecdd3b5e84606785e9620a70e8f0d0ed"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">struct <a class="el" href="structmschmd__file.html">mschmd_file</a>* mschmd_header::files</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>A list of all non-system files in the CHM helpfile. </p>

</div>
</div>
<a class="anchor" id="ab3ce14be6b72650d65644c74d9d430d8"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">unsigned int mschmd_header::first_pmgl</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>The number of the first PMGL chunk. </p>
<p>Usually zero. Available only in CHM decoder version 2 and above. </p>

</div>
</div>
<a class="anchor" id="ab53047ee0b1be25b3329d69396f68e9f"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">unsigned int mschmd_header::index_root</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>The number of the root PMGI chunk. </p>
<p>If there is no index in the CHM helpfile, this will be 0xFFFFFFFF. </p>

</div>
</div>
<a class="anchor" id="abc4bb0ece1933982ebc18263cbc18166"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">unsigned int mschmd_header::language</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>The default Language and Country ID (LCID) of the user who ran the HTMLHelp Compiler. </p>
<p>This is not the language of the CHM file itself. </p>

</div>
</div>
<a class="anchor" id="a4931f8fa07c04da9a2fbf30c7e59cbda"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">unsigned int mschmd_header::last_pmgl</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>The number of the last PMGL chunk. </p>
<p>Usually num_chunks-1. Available only in CHM decoder version 2 and above. </p>

</div>
</div>
<a class="anchor" id="a33ec169354d6d373667847435c566a12"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">off_t mschmd_header::length</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>The length of the CHM helpfile, in bytes. </p>

</div>
</div>
<a class="anchor" id="ae68d7261646d8ab18f1191a47d4f5161"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">unsigned int mschmd_header::num_chunks</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>The number of PMGL/PMGI directory chunks in this CHM helpfile. </p>

</div>
</div>
<a class="anchor" id="aec45cc37c1baeb665336fc93265ca027"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">struct <a class="el" href="structmschmd__sec__uncompressed.html">mschmd_sec_uncompressed</a> mschmd_header::sec0</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>The section 0 (uncompressed) data in this CHM helpfile. </p>

</div>
</div>
<a class="anchor" id="ace16a8ee32fb28f8c4c1ec85a8bbb5e6"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">struct <a class="el" href="structmschmd__sec__mscompressed.html">mschmd_sec_mscompressed</a> mschmd_header::sec1</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>The section 1 (MSCompressed) data in this CHM helpfile. </p>

</div>
</div>
<a class="anchor" id="ac38b56f77e2a44d998e57ba9301e39d5"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">struct <a class="el" href="structmschmd__file.html">mschmd_file</a>* mschmd_header::sysfiles</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>A list of all system files in the CHM helpfile. </p>
<p>System files are files which begin with "::". They are meta-files generated by the CHM creation process. </p>

</div>
</div>
<a class="anchor" id="ab844b2365051d8c99ce41ae0a0f4c106"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">unsigned int mschmd_header::timestamp</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>The "timestamp" of the CHM helpfile. </p>
<p>It is the lower 32 bits of a 64-bit value representing the number of centiseconds since 1601-01-01 00:00:00 UTC, plus 42. It is not useful as a timestamp, but it is useful as a semi-unique ID. </p>

</div>
</div>
<a class="anchor" id="a273b8a0f48ba7d9c3ffb01426585925c"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">unsigned int mschmd_header::version</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>The version of the CHM file format used in this file. </p>

</div>
</div>
<hr/>The documentation for this struct was generated from the following file:<ul>
<li><a class="el" href="mspack_8h_source.html">mspack.h</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.6
</small></address>
</body>
</html>