File: mspack_8h_source.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 (967 lines) | stat: -rw-r--r-- 209,675 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
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
<!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: mspack.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="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><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>
<!-- 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 id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_f4d90282fe865f947a460986b93b960a.html">mspack</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="headertitle">
<div class="title">mspack.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="mspack_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;<span class="comment">/* libmspack -- a library for working with Microsoft compression formats.</span></div>
<div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="comment"> * (C) 2003-2013 Stuart Caie &lt;kyzer@4u.net&gt;</span></div>
<div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="comment"> *</span></div>
<div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="comment"> * libmspack is free software; you can redistribute it and/or modify it under</span></div>
<div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="comment"> * the terms of the GNU Lesser General Public License (LGPL) version 2.1</span></div>
<div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="comment"> *</span></div>
<div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="comment"> * This program is distributed in the hope that it will be useful,</span></div>
<div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="comment"> * but WITHOUT ANY WARRANTY; without even the implied warranty of</span></div>
<div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<span class="comment"> * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the</span></div>
<div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="comment"> * GNU Lesser General Public License for more details.</span></div>
<div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="comment"> *</span></div>
<div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="comment"> * You should have received a copy of the GNU Lesser General Public License</span></div>
<div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;<span class="comment"> * along with this program; if not, write to the Free Software</span></div>
<div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;<span class="comment"> * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.</span></div>
<div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;<span class="comment"> */</span></div>
<div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;</div>
<div class="line"><a name="l00158"></a><span class="lineno">  158</span>&#160;<span class="preprocessor">#ifndef LIB_MSPACK_H</span></div>
<div class="line"><a name="l00159"></a><span class="lineno">  159</span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define LIB_MSPACK_H 1</span></div>
<div class="line"><a name="l00160"></a><span class="lineno">  160</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00161"></a><span class="lineno">  161</span>&#160;<span class="preprocessor">#ifdef __cplusplus</span></div>
<div class="line"><a name="l00162"></a><span class="lineno">  162</span>&#160;<span class="preprocessor"></span><span class="keyword">extern</span> <span class="stringliteral">&quot;C&quot;</span> {</div>
<div class="line"><a name="l00163"></a><span class="lineno">  163</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00164"></a><span class="lineno">  164</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00165"></a><span class="lineno">  165</span>&#160;<span class="preprocessor">#include &lt;sys/types.h&gt;</span></div>
<div class="line"><a name="l00166"></a><span class="lineno">  166</span>&#160;<span class="preprocessor">#include &lt;stdlib.h&gt;</span></div>
<div class="line"><a name="l00167"></a><span class="lineno">  167</span>&#160;</div>
<div class="line"><a name="l00191"></a><span class="lineno"><a class="line" href="mspack_8h.html#a3a94be2216dd1e835733acb7c4645fca">  191</a></span>&#160;<span class="preprocessor">#define MSPACK_SYS_SELFTEST(result)  do { \</span></div>
<div class="line"><a name="l00192"></a><span class="lineno">  192</span>&#160;<span class="preprocessor">  (result) = mspack_sys_selftest_internal(sizeof(off_t)); \</span></div>
<div class="line"><a name="l00193"></a><span class="lineno">  193</span>&#160;<span class="preprocessor">} while (0)</span></div>
<div class="line"><a name="l00194"></a><span class="lineno">  194</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00196"></a><span class="lineno">  196</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="mspack_8h.html#a799d00a8ea939a86f2ed4e5c0dadb00e">mspack_sys_selftest_internal</a>(<span class="keywordtype">int</span>);</div>
<div class="line"><a name="l00197"></a><span class="lineno">  197</span>&#160;</div>
<div class="line"><a name="l00229"></a><span class="lineno">  229</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="mspack_8h.html#a2194442b6f887014905c2f59e43213f7">mspack_version</a>(<span class="keywordtype">int</span> entity);</div>
<div class="line"><a name="l00230"></a><span class="lineno">  230</span>&#160;</div>
<div class="line"><a name="l00232"></a><span class="lineno"><a class="line" href="mspack_8h.html#a8d4ce95586e45fe07a6927b9db45bb28">  232</a></span>&#160;<span class="preprocessor">#define MSPACK_VER_LIBRARY   (0)</span></div>
<div class="line"><a name="l00233"></a><span class="lineno">  233</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00234"></a><span class="lineno"><a class="line" href="mspack_8h.html#a2c88449deeffd838d78ec13e66dc33d5">  234</a></span>&#160;<span class="preprocessor">#define MSPACK_VER_SYSTEM    (1)</span></div>
<div class="line"><a name="l00235"></a><span class="lineno">  235</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00236"></a><span class="lineno"><a class="line" href="mspack_8h.html#a245b413d85c79f06b3293e16911c5a43">  236</a></span>&#160;<span class="preprocessor">#define MSPACK_VER_MSCABD    (2)</span></div>
<div class="line"><a name="l00237"></a><span class="lineno">  237</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00238"></a><span class="lineno"><a class="line" href="mspack_8h.html#acc27e0769e0d422928d5566f4d411b4f">  238</a></span>&#160;<span class="preprocessor">#define MSPACK_VER_MSCABC    (3)</span></div>
<div class="line"><a name="l00239"></a><span class="lineno">  239</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00240"></a><span class="lineno"><a class="line" href="mspack_8h.html#a9b3431066a4a210354fee7b6dd5a21d8">  240</a></span>&#160;<span class="preprocessor">#define MSPACK_VER_MSCHMD    (4)</span></div>
<div class="line"><a name="l00241"></a><span class="lineno">  241</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00242"></a><span class="lineno"><a class="line" href="mspack_8h.html#a247e8e86c98528004a71421bb17da869">  242</a></span>&#160;<span class="preprocessor">#define MSPACK_VER_MSCHMC    (5)</span></div>
<div class="line"><a name="l00243"></a><span class="lineno">  243</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00244"></a><span class="lineno"><a class="line" href="mspack_8h.html#a4923ac5755690e603dfa10f02e05b9cf">  244</a></span>&#160;<span class="preprocessor">#define MSPACK_VER_MSLITD    (6)</span></div>
<div class="line"><a name="l00245"></a><span class="lineno">  245</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00246"></a><span class="lineno"><a class="line" href="mspack_8h.html#ac2e044afae30db7a3889ee5266b24b4c">  246</a></span>&#160;<span class="preprocessor">#define MSPACK_VER_MSLITC    (7)</span></div>
<div class="line"><a name="l00247"></a><span class="lineno">  247</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00248"></a><span class="lineno"><a class="line" href="mspack_8h.html#aeef914819eb6ad5fc7e400ee034891d0">  248</a></span>&#160;<span class="preprocessor">#define MSPACK_VER_MSHLPD    (8)</span></div>
<div class="line"><a name="l00249"></a><span class="lineno">  249</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00250"></a><span class="lineno"><a class="line" href="mspack_8h.html#a7e55e5894cfdca5f14ece25066b4dc92">  250</a></span>&#160;<span class="preprocessor">#define MSPACK_VER_MSHLPC    (9)</span></div>
<div class="line"><a name="l00251"></a><span class="lineno">  251</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00252"></a><span class="lineno"><a class="line" href="mspack_8h.html#ae0fcc17f5a63c506834ed0f4d81bb3da">  252</a></span>&#160;<span class="preprocessor">#define MSPACK_VER_MSSZDDD   (10)</span></div>
<div class="line"><a name="l00253"></a><span class="lineno">  253</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00254"></a><span class="lineno"><a class="line" href="mspack_8h.html#aef8d6f2f5c1881e7e726c278140f634c">  254</a></span>&#160;<span class="preprocessor">#define MSPACK_VER_MSSZDDC   (11)</span></div>
<div class="line"><a name="l00255"></a><span class="lineno">  255</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00256"></a><span class="lineno"><a class="line" href="mspack_8h.html#a37d8857d8e48024953d3cdf78ca84584">  256</a></span>&#160;<span class="preprocessor">#define MSPACK_VER_MSKWAJD   (12)</span></div>
<div class="line"><a name="l00257"></a><span class="lineno">  257</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00258"></a><span class="lineno"><a class="line" href="mspack_8h.html#a6788c51d5aee275d218f4a8de1642801">  258</a></span>&#160;<span class="preprocessor">#define MSPACK_VER_MSKWAJC   (13)</span></div>
<div class="line"><a name="l00259"></a><span class="lineno">  259</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00260"></a><span class="lineno"><a class="line" href="mspack_8h.html#a204b64fa390033d9aa6a90d9b9a2a959">  260</a></span>&#160;<span class="preprocessor">#define MSPACK_VER_MSOABD    (14)</span></div>
<div class="line"><a name="l00261"></a><span class="lineno">  261</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00262"></a><span class="lineno"><a class="line" href="mspack_8h.html#a34df560840e50cdbf22bfec89183dac0">  262</a></span>&#160;<span class="preprocessor">#define MSPACK_VER_MSOABC    (15)</span></div>
<div class="line"><a name="l00263"></a><span class="lineno">  263</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00264"></a><span class="lineno">  264</span>&#160;<span class="comment">/* --- file I/O abstraction ------------------------------------------------ */</span></div>
<div class="line"><a name="l00265"></a><span class="lineno">  265</span>&#160;</div>
<div class="line"><a name="l00285"></a><span class="lineno"><a class="line" href="structmspack__system.html">  285</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structmspack__system.html">mspack_system</a> {</div>
<div class="line"><a name="l00310"></a><span class="lineno"><a class="line" href="structmspack__system.html#a1a85cac5eeb55db6a432fe3824aa04a3">  310</a></span>&#160;  <span class="keyword">struct </span><a class="code" href="structmspack__file.html">mspack_file</a> * (*open)(<span class="keyword">struct </span><a class="code" href="structmspack__system.html">mspack_system</a> *<span class="keyword">self</span>,</div>
<div class="line"><a name="l00311"></a><span class="lineno">  311</span>&#160;                   <span class="keyword">const</span> <span class="keywordtype">char</span> *filename,</div>
<div class="line"><a name="l00312"></a><span class="lineno">  312</span>&#160;                   <span class="keywordtype">int</span> mode);</div>
<div class="line"><a name="l00313"></a><span class="lineno">  313</span>&#160;</div>
<div class="line"><a name="l00321"></a><span class="lineno"><a class="line" href="structmspack__system.html#a266561cea2dcf8ad60a42c2ac88536c2">  321</a></span>&#160;  void (*<a class="code" href="structmspack__system.html#a266561cea2dcf8ad60a42c2ac88536c2">close</a>)(<span class="keyword">struct </span><a class="code" href="structmspack__file.html">mspack_file</a> *file);</div>
<div class="line"><a name="l00322"></a><span class="lineno">  322</span>&#160;</div>
<div class="line"><a name="l00334"></a><span class="lineno"><a class="line" href="structmspack__system.html#ac33dcc54409a7d5da9be475b3938101e">  334</a></span>&#160;  int (*<a class="code" href="structmspack__system.html#ac33dcc54409a7d5da9be475b3938101e">read</a>)(<span class="keyword">struct </span><a class="code" href="structmspack__file.html">mspack_file</a> *file,</div>
<div class="line"><a name="l00335"></a><span class="lineno">  335</span>&#160;          <span class="keywordtype">void</span> *buffer,</div>
<div class="line"><a name="l00336"></a><span class="lineno">  336</span>&#160;          <span class="keywordtype">int</span> bytes);</div>
<div class="line"><a name="l00337"></a><span class="lineno">  337</span>&#160;</div>
<div class="line"><a name="l00351"></a><span class="lineno"><a class="line" href="structmspack__system.html#ac57fb5944e7726abe2272822fa07a30f">  351</a></span>&#160;  int (*<a class="code" href="structmspack__system.html#ac57fb5944e7726abe2272822fa07a30f">write</a>)(<span class="keyword">struct </span><a class="code" href="structmspack__file.html">mspack_file</a> *file,</div>
<div class="line"><a name="l00352"></a><span class="lineno">  352</span>&#160;           <span class="keywordtype">void</span> *buffer,</div>
<div class="line"><a name="l00353"></a><span class="lineno">  353</span>&#160;           <span class="keywordtype">int</span> bytes);</div>
<div class="line"><a name="l00354"></a><span class="lineno">  354</span>&#160;</div>
<div class="line"><a name="l00378"></a><span class="lineno"><a class="line" href="structmspack__system.html#a86ceffde52284d3a57d5d555d7484a03">  378</a></span>&#160;  int (*<a class="code" href="structmspack__system.html#a86ceffde52284d3a57d5d555d7484a03">seek</a>)(<span class="keyword">struct </span><a class="code" href="structmspack__file.html">mspack_file</a> *file,</div>
<div class="line"><a name="l00379"></a><span class="lineno">  379</span>&#160;          off_t offset,</div>
<div class="line"><a name="l00380"></a><span class="lineno">  380</span>&#160;          <span class="keywordtype">int</span> mode);</div>
<div class="line"><a name="l00381"></a><span class="lineno">  381</span>&#160;</div>
<div class="line"><a name="l00389"></a><span class="lineno"><a class="line" href="structmspack__system.html#ae25e8b0ca839867f19041aa20508e548">  389</a></span>&#160;  off_t (*<a class="code" href="structmspack__system.html#ae25e8b0ca839867f19041aa20508e548">tell</a>)(<span class="keyword">struct </span><a class="code" href="structmspack__file.html">mspack_file</a> *file);</div>
<div class="line"><a name="l00390"></a><span class="lineno">  390</span>&#160;  </div>
<div class="line"><a name="l00405"></a><span class="lineno"><a class="line" href="structmspack__system.html#a612c93482eb01d2b97321015716ea24a">  405</a></span>&#160;  void (*<a class="code" href="structmspack__system.html#a612c93482eb01d2b97321015716ea24a">message</a>)(<span class="keyword">struct </span><a class="code" href="structmspack__file.html">mspack_file</a> *file,</div>
<div class="line"><a name="l00406"></a><span class="lineno">  406</span>&#160;          <span class="keyword">const</span> <span class="keywordtype">char</span> *format,</div>
<div class="line"><a name="l00407"></a><span class="lineno">  407</span>&#160;          ...);</div>
<div class="line"><a name="l00408"></a><span class="lineno">  408</span>&#160;</div>
<div class="line"><a name="l00419"></a><span class="lineno"><a class="line" href="structmspack__system.html#ac70dd55eb6eca7a390e5ae143525f36a">  419</a></span>&#160;  <span class="keywordtype">void</span> * (*alloc)(<span class="keyword">struct </span><a class="code" href="structmspack__system.html">mspack_system</a> *<span class="keyword">self</span>,</div>
<div class="line"><a name="l00420"></a><span class="lineno">  420</span>&#160;          <span class="keywordtype">size_t</span> bytes);</div>
<div class="line"><a name="l00421"></a><span class="lineno">  421</span>&#160;  </div>
<div class="line"><a name="l00428"></a><span class="lineno"><a class="line" href="structmspack__system.html#aafe460b1ce55ce69be8c16948250f86c">  428</a></span>&#160;  void (*<a class="code" href="structmspack__system.html#aafe460b1ce55ce69be8c16948250f86c">free</a>)(<span class="keywordtype">void</span> *ptr);</div>
<div class="line"><a name="l00429"></a><span class="lineno">  429</span>&#160;</div>
<div class="line"><a name="l00442"></a><span class="lineno"><a class="line" href="structmspack__system.html#a22cdc77c82dba0f6c58945c816c2732e">  442</a></span>&#160;  void (*<a class="code" href="structmspack__system.html#a22cdc77c82dba0f6c58945c816c2732e">copy</a>)(<span class="keywordtype">void</span> *src,</div>
<div class="line"><a name="l00443"></a><span class="lineno">  443</span>&#160;           <span class="keywordtype">void</span> *dest,</div>
<div class="line"><a name="l00444"></a><span class="lineno">  444</span>&#160;           <span class="keywordtype">size_t</span> bytes);</div>
<div class="line"><a name="l00445"></a><span class="lineno">  445</span>&#160;</div>
<div class="line"><a name="l00452"></a><span class="lineno"><a class="line" href="structmspack__system.html#a8c64d1bd9b6b0ac9455cfde19ccb61b2">  452</a></span>&#160;  <span class="keywordtype">void</span> *<a class="code" href="structmspack__system.html#a8c64d1bd9b6b0ac9455cfde19ccb61b2">null_ptr</a>;</div>
<div class="line"><a name="l00453"></a><span class="lineno">  453</span>&#160;};</div>
<div class="line"><a name="l00454"></a><span class="lineno">  454</span>&#160;</div>
<div class="line"><a name="l00456"></a><span class="lineno"><a class="line" href="mspack_8h.html#a817255b35e433f4adcf907fc97f9b63f">  456</a></span>&#160;<span class="preprocessor">#define MSPACK_SYS_OPEN_READ   (0)</span></div>
<div class="line"><a name="l00457"></a><span class="lineno">  457</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00458"></a><span class="lineno"><a class="line" href="mspack_8h.html#a77508ef49eff6a98f39a3b5021c5c51f">  458</a></span>&#160;<span class="preprocessor">#define MSPACK_SYS_OPEN_WRITE  (1)</span></div>
<div class="line"><a name="l00459"></a><span class="lineno">  459</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00460"></a><span class="lineno"><a class="line" href="mspack_8h.html#ae9f356d2f22c7c236b9bdad87b25b18b">  460</a></span>&#160;<span class="preprocessor">#define MSPACK_SYS_OPEN_UPDATE (2)</span></div>
<div class="line"><a name="l00461"></a><span class="lineno">  461</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00462"></a><span class="lineno"><a class="line" href="mspack_8h.html#a05310a4221173aabf06ab99d09d7504e">  462</a></span>&#160;<span class="preprocessor">#define MSPACK_SYS_OPEN_APPEND (3)</span></div>
<div class="line"><a name="l00463"></a><span class="lineno">  463</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00465"></a><span class="lineno"><a class="line" href="mspack_8h.html#a80228888f03f72c392e138373acfc74e">  465</a></span>&#160;<span class="preprocessor">#define MSPACK_SYS_SEEK_START  (0)</span></div>
<div class="line"><a name="l00466"></a><span class="lineno">  466</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00467"></a><span class="lineno"><a class="line" href="mspack_8h.html#a9b90c177e3582571d0155c4597f85168">  467</a></span>&#160;<span class="preprocessor">#define MSPACK_SYS_SEEK_CUR    (1)</span></div>
<div class="line"><a name="l00468"></a><span class="lineno">  468</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00469"></a><span class="lineno"><a class="line" href="mspack_8h.html#a24e4d3889d52558e7f0c703db94270d6">  469</a></span>&#160;<span class="preprocessor">#define MSPACK_SYS_SEEK_END    (2)</span></div>
<div class="line"><a name="l00470"></a><span class="lineno">  470</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00476"></a><span class="lineno"><a class="line" href="structmspack__file.html">  476</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structmspack__file.html">mspack_file</a> {</div>
<div class="line"><a name="l00477"></a><span class="lineno"><a class="line" href="structmspack__file.html#af92caf003ca38fb1ed1eb03761f9a2dc">  477</a></span>&#160;  <span class="keywordtype">int</span> <a class="code" href="structmspack__file.html#af92caf003ca38fb1ed1eb03761f9a2dc">dummy</a>;</div>
<div class="line"><a name="l00478"></a><span class="lineno">  478</span>&#160;};</div>
<div class="line"><a name="l00479"></a><span class="lineno">  479</span>&#160;</div>
<div class="line"><a name="l00480"></a><span class="lineno">  480</span>&#160;<span class="comment">/* --- error codes --------------------------------------------------------- */</span></div>
<div class="line"><a name="l00481"></a><span class="lineno">  481</span>&#160;</div>
<div class="line"><a name="l00483"></a><span class="lineno"><a class="line" href="mspack_8h.html#a30476cfa36ddee80950e715591cf8832">  483</a></span>&#160;<span class="preprocessor">#define MSPACK_ERR_OK          (0)</span></div>
<div class="line"><a name="l00484"></a><span class="lineno">  484</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00485"></a><span class="lineno"><a class="line" href="mspack_8h.html#aa55388352a27b45993bc8f1399218a75">  485</a></span>&#160;<span class="preprocessor">#define MSPACK_ERR_ARGS        (1)</span></div>
<div class="line"><a name="l00486"></a><span class="lineno">  486</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00487"></a><span class="lineno"><a class="line" href="mspack_8h.html#a55cd1d9f2831f4568dc78a712548ae2d">  487</a></span>&#160;<span class="preprocessor">#define MSPACK_ERR_OPEN        (2)</span></div>
<div class="line"><a name="l00488"></a><span class="lineno">  488</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00489"></a><span class="lineno"><a class="line" href="mspack_8h.html#ae3340b3e95a75e8a5b260fe27fdcfc80">  489</a></span>&#160;<span class="preprocessor">#define MSPACK_ERR_READ        (3)</span></div>
<div class="line"><a name="l00490"></a><span class="lineno">  490</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00491"></a><span class="lineno"><a class="line" href="mspack_8h.html#a6c492a68e998d1b01247b76e2a87d9e4">  491</a></span>&#160;<span class="preprocessor">#define MSPACK_ERR_WRITE       (4)</span></div>
<div class="line"><a name="l00492"></a><span class="lineno">  492</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00493"></a><span class="lineno"><a class="line" href="mspack_8h.html#a0ac9fe1b978784c7cadb221845bb8fb9">  493</a></span>&#160;<span class="preprocessor">#define MSPACK_ERR_SEEK        (5)</span></div>
<div class="line"><a name="l00494"></a><span class="lineno">  494</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00495"></a><span class="lineno"><a class="line" href="mspack_8h.html#af875f31a569da5be5402ad63d07bf63f">  495</a></span>&#160;<span class="preprocessor">#define MSPACK_ERR_NOMEMORY    (6)</span></div>
<div class="line"><a name="l00496"></a><span class="lineno">  496</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00497"></a><span class="lineno"><a class="line" href="mspack_8h.html#a95c571fa9e656de9f0a2976e5715706e">  497</a></span>&#160;<span class="preprocessor">#define MSPACK_ERR_SIGNATURE   (7)</span></div>
<div class="line"><a name="l00498"></a><span class="lineno">  498</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00499"></a><span class="lineno"><a class="line" href="mspack_8h.html#ab8d3d7e4d3000333be6e500874bcee98">  499</a></span>&#160;<span class="preprocessor">#define MSPACK_ERR_DATAFORMAT  (8)</span></div>
<div class="line"><a name="l00500"></a><span class="lineno">  500</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00501"></a><span class="lineno"><a class="line" href="mspack_8h.html#a94655174946aa06763341837d5fe8720">  501</a></span>&#160;<span class="preprocessor">#define MSPACK_ERR_CHECKSUM    (9)</span></div>
<div class="line"><a name="l00502"></a><span class="lineno">  502</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00503"></a><span class="lineno"><a class="line" href="mspack_8h.html#a2d92886c9c02dd2ba2aa45fc36f8a477">  503</a></span>&#160;<span class="preprocessor">#define MSPACK_ERR_CRUNCH      (10)</span></div>
<div class="line"><a name="l00504"></a><span class="lineno">  504</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00505"></a><span class="lineno"><a class="line" href="mspack_8h.html#ad2de97b7f91325169ca1646d123b1509">  505</a></span>&#160;<span class="preprocessor">#define MSPACK_ERR_DECRUNCH    (11)</span></div>
<div class="line"><a name="l00506"></a><span class="lineno">  506</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00507"></a><span class="lineno">  507</span>&#160;<span class="comment">/* --- functions available in library -------------------------------------- */</span></div>
<div class="line"><a name="l00508"></a><span class="lineno">  508</span>&#160;</div>
<div class="line"><a name="l00513"></a><span class="lineno">  513</span>&#160;<span class="keyword">extern</span> <span class="keyword">struct </span><a class="code" href="structmscab__compressor.html">mscab_compressor</a> *</div>
<div class="line"><a name="l00514"></a><span class="lineno">  514</span>&#160;  <a class="code" href="mspack_8h.html#aa11b092e00e6d4862d134a05b97b9c09">mspack_create_cab_compressor</a>(<span class="keyword">struct</span> <a class="code" href="structmspack__system.html">mspack_system</a> *sys);</div>
<div class="line"><a name="l00515"></a><span class="lineno">  515</span>&#160;</div>
<div class="line"><a name="l00520"></a><span class="lineno">  520</span>&#160;<span class="keyword">extern</span> <span class="keyword">struct </span><a class="code" href="structmscab__decompressor.html">mscab_decompressor</a> *</div>
<div class="line"><a name="l00521"></a><span class="lineno">  521</span>&#160;  <a class="code" href="mspack_8h.html#a9964981ec0e6f49814301101e1708f95">mspack_create_cab_decompressor</a>(<span class="keyword">struct</span> <a class="code" href="structmspack__system.html">mspack_system</a> *sys);</div>
<div class="line"><a name="l00522"></a><span class="lineno">  522</span>&#160;</div>
<div class="line"><a name="l00526"></a><span class="lineno">  526</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">void</span> <a class="code" href="mspack_8h.html#a23263871d8dc8d64830e8ff827d6e32d">mspack_destroy_cab_compressor</a>(<span class="keyword">struct</span> <a class="code" href="structmscab__compressor.html">mscab_compressor</a> *<span class="keyword">self</span>);</div>
<div class="line"><a name="l00527"></a><span class="lineno">  527</span>&#160;</div>
<div class="line"><a name="l00531"></a><span class="lineno">  531</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">void</span> <a class="code" href="mspack_8h.html#a13e9100ea34b16693cacb92b212ccadc">mspack_destroy_cab_decompressor</a>(<span class="keyword">struct</span> <a class="code" href="structmscab__decompressor.html">mscab_decompressor</a> *<span class="keyword">self</span>);</div>
<div class="line"><a name="l00532"></a><span class="lineno">  532</span>&#160;</div>
<div class="line"><a name="l00533"></a><span class="lineno">  533</span>&#160;</div>
<div class="line"><a name="l00538"></a><span class="lineno">  538</span>&#160;<span class="keyword">extern</span> <span class="keyword">struct </span><a class="code" href="structmschm__compressor.html">mschm_compressor</a> *</div>
<div class="line"><a name="l00539"></a><span class="lineno">  539</span>&#160;  <a class="code" href="mspack_8h.html#a749d6b350987be706728e020e875b13f">mspack_create_chm_compressor</a>(<span class="keyword">struct</span> <a class="code" href="structmspack__system.html">mspack_system</a> *sys);</div>
<div class="line"><a name="l00540"></a><span class="lineno">  540</span>&#160;</div>
<div class="line"><a name="l00545"></a><span class="lineno">  545</span>&#160;<span class="keyword">extern</span> <span class="keyword">struct </span><a class="code" href="structmschm__decompressor.html">mschm_decompressor</a> *</div>
<div class="line"><a name="l00546"></a><span class="lineno">  546</span>&#160;  <a class="code" href="mspack_8h.html#a5829a2023927ad4dc8bd452f3b294851">mspack_create_chm_decompressor</a>(<span class="keyword">struct</span> <a class="code" href="structmspack__system.html">mspack_system</a> *sys);</div>
<div class="line"><a name="l00547"></a><span class="lineno">  547</span>&#160;</div>
<div class="line"><a name="l00551"></a><span class="lineno">  551</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">void</span> <a class="code" href="mspack_8h.html#a05c47f6572f3966d9495810332356b94">mspack_destroy_chm_compressor</a>(<span class="keyword">struct</span> <a class="code" href="structmschm__compressor.html">mschm_compressor</a> *<span class="keyword">self</span>);</div>
<div class="line"><a name="l00552"></a><span class="lineno">  552</span>&#160;</div>
<div class="line"><a name="l00556"></a><span class="lineno">  556</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">void</span> <a class="code" href="mspack_8h.html#a50c0799f5c1a128672c024a05c79cac8">mspack_destroy_chm_decompressor</a>(<span class="keyword">struct</span> <a class="code" href="structmschm__decompressor.html">mschm_decompressor</a> *<span class="keyword">self</span>);</div>
<div class="line"><a name="l00557"></a><span class="lineno">  557</span>&#160;</div>
<div class="line"><a name="l00558"></a><span class="lineno">  558</span>&#160;</div>
<div class="line"><a name="l00563"></a><span class="lineno">  563</span>&#160;<span class="keyword">extern</span> <span class="keyword">struct </span><a class="code" href="structmslit__compressor.html">mslit_compressor</a> *</div>
<div class="line"><a name="l00564"></a><span class="lineno">  564</span>&#160;  <a class="code" href="mspack_8h.html#a9478967ec3cf95b0a312272d6e78afbe">mspack_create_lit_compressor</a>(<span class="keyword">struct</span> <a class="code" href="structmspack__system.html">mspack_system</a> *sys);</div>
<div class="line"><a name="l00565"></a><span class="lineno">  565</span>&#160;</div>
<div class="line"><a name="l00570"></a><span class="lineno">  570</span>&#160;<span class="keyword">extern</span> <span class="keyword">struct </span><a class="code" href="structmslit__decompressor.html">mslit_decompressor</a> *</div>
<div class="line"><a name="l00571"></a><span class="lineno">  571</span>&#160;  <a class="code" href="mspack_8h.html#a019e19331c50d80a4d424395671219f2">mspack_create_lit_decompressor</a>(<span class="keyword">struct</span> <a class="code" href="structmspack__system.html">mspack_system</a> *sys);</div>
<div class="line"><a name="l00572"></a><span class="lineno">  572</span>&#160;</div>
<div class="line"><a name="l00576"></a><span class="lineno">  576</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">void</span> <a class="code" href="mspack_8h.html#aba0e2b76f4998e914cc96db475e8b598">mspack_destroy_lit_compressor</a>(<span class="keyword">struct</span> <a class="code" href="structmslit__compressor.html">mslit_compressor</a> *<span class="keyword">self</span>);</div>
<div class="line"><a name="l00577"></a><span class="lineno">  577</span>&#160;</div>
<div class="line"><a name="l00581"></a><span class="lineno">  581</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">void</span> <a class="code" href="mspack_8h.html#a51fdfc5b9786dc914ec083510b11fe9f">mspack_destroy_lit_decompressor</a>(<span class="keyword">struct</span> <a class="code" href="structmslit__decompressor.html">mslit_decompressor</a> *<span class="keyword">self</span>);</div>
<div class="line"><a name="l00582"></a><span class="lineno">  582</span>&#160;</div>
<div class="line"><a name="l00583"></a><span class="lineno">  583</span>&#160;</div>
<div class="line"><a name="l00588"></a><span class="lineno">  588</span>&#160;<span class="keyword">extern</span> <span class="keyword">struct </span><a class="code" href="structmshlp__compressor.html">mshlp_compressor</a> *</div>
<div class="line"><a name="l00589"></a><span class="lineno">  589</span>&#160;  <a class="code" href="mspack_8h.html#a9587b6c3bf2907d496a0c438c7904463">mspack_create_hlp_compressor</a>(<span class="keyword">struct</span> <a class="code" href="structmspack__system.html">mspack_system</a> *sys);</div>
<div class="line"><a name="l00590"></a><span class="lineno">  590</span>&#160;</div>
<div class="line"><a name="l00595"></a><span class="lineno">  595</span>&#160;<span class="keyword">extern</span> <span class="keyword">struct </span><a class="code" href="structmshlp__decompressor.html">mshlp_decompressor</a> *</div>
<div class="line"><a name="l00596"></a><span class="lineno">  596</span>&#160;  <a class="code" href="mspack_8h.html#a0bd8ff2ddc155f3bf5ee4f47fdde7f4a">mspack_create_hlp_decompressor</a>(<span class="keyword">struct</span> <a class="code" href="structmspack__system.html">mspack_system</a> *sys);</div>
<div class="line"><a name="l00597"></a><span class="lineno">  597</span>&#160;</div>
<div class="line"><a name="l00601"></a><span class="lineno">  601</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">void</span> <a class="code" href="mspack_8h.html#a5d7d5d89c674847821bb7f270be828c8">mspack_destroy_hlp_compressor</a>(<span class="keyword">struct</span> <a class="code" href="structmshlp__compressor.html">mshlp_compressor</a> *<span class="keyword">self</span>);</div>
<div class="line"><a name="l00602"></a><span class="lineno">  602</span>&#160;</div>
<div class="line"><a name="l00606"></a><span class="lineno">  606</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">void</span> <a class="code" href="mspack_8h.html#a1e2dbd38bdcc255d63c43bbad2f7786f">mspack_destroy_hlp_decompressor</a>(<span class="keyword">struct</span> <a class="code" href="structmshlp__decompressor.html">mshlp_decompressor</a> *<span class="keyword">self</span>);</div>
<div class="line"><a name="l00607"></a><span class="lineno">  607</span>&#160;</div>
<div class="line"><a name="l00608"></a><span class="lineno">  608</span>&#160;</div>
<div class="line"><a name="l00613"></a><span class="lineno">  613</span>&#160;<span class="keyword">extern</span> <span class="keyword">struct </span><a class="code" href="structmsszdd__compressor.html">msszdd_compressor</a> *</div>
<div class="line"><a name="l00614"></a><span class="lineno">  614</span>&#160;  <a class="code" href="mspack_8h.html#a00c23794eac4dab60057cc5b84c2a7ea">mspack_create_szdd_compressor</a>(<span class="keyword">struct</span> <a class="code" href="structmspack__system.html">mspack_system</a> *sys);</div>
<div class="line"><a name="l00615"></a><span class="lineno">  615</span>&#160;</div>
<div class="line"><a name="l00620"></a><span class="lineno">  620</span>&#160;<span class="keyword">extern</span> <span class="keyword">struct </span><a class="code" href="structmsszdd__decompressor.html">msszdd_decompressor</a> *</div>
<div class="line"><a name="l00621"></a><span class="lineno">  621</span>&#160;  <a class="code" href="mspack_8h.html#a81ec853a5fcfad25acdfab6bee1cd3cc">mspack_create_szdd_decompressor</a>(<span class="keyword">struct</span> <a class="code" href="structmspack__system.html">mspack_system</a> *sys);</div>
<div class="line"><a name="l00622"></a><span class="lineno">  622</span>&#160;</div>
<div class="line"><a name="l00626"></a><span class="lineno">  626</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">void</span> <a class="code" href="mspack_8h.html#a4053f06c244cab5e880241ecd0a8a64f">mspack_destroy_szdd_compressor</a>(<span class="keyword">struct</span> <a class="code" href="structmsszdd__compressor.html">msszdd_compressor</a> *<span class="keyword">self</span>);</div>
<div class="line"><a name="l00627"></a><span class="lineno">  627</span>&#160;</div>
<div class="line"><a name="l00631"></a><span class="lineno">  631</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">void</span> <a class="code" href="mspack_8h.html#aaf070981f5d3a3a6bb430070cc2b3e73">mspack_destroy_szdd_decompressor</a>(<span class="keyword">struct</span> <a class="code" href="structmsszdd__decompressor.html">msszdd_decompressor</a> *<span class="keyword">self</span>);</div>
<div class="line"><a name="l00632"></a><span class="lineno">  632</span>&#160;</div>
<div class="line"><a name="l00633"></a><span class="lineno">  633</span>&#160;</div>
<div class="line"><a name="l00638"></a><span class="lineno">  638</span>&#160;<span class="keyword">extern</span> <span class="keyword">struct </span><a class="code" href="structmskwaj__compressor.html">mskwaj_compressor</a> *</div>
<div class="line"><a name="l00639"></a><span class="lineno">  639</span>&#160;  <a class="code" href="mspack_8h.html#aa214297f2f85b56b2a556bf560dba9d2">mspack_create_kwaj_compressor</a>(<span class="keyword">struct</span> <a class="code" href="structmspack__system.html">mspack_system</a> *sys);</div>
<div class="line"><a name="l00640"></a><span class="lineno">  640</span>&#160;</div>
<div class="line"><a name="l00645"></a><span class="lineno">  645</span>&#160;<span class="keyword">extern</span> <span class="keyword">struct </span><a class="code" href="structmskwaj__decompressor.html">mskwaj_decompressor</a> *</div>
<div class="line"><a name="l00646"></a><span class="lineno">  646</span>&#160;  <a class="code" href="mspack_8h.html#abeb6430c01e352502c8c5d4f285a2d97">mspack_create_kwaj_decompressor</a>(<span class="keyword">struct</span> <a class="code" href="structmspack__system.html">mspack_system</a> *sys);</div>
<div class="line"><a name="l00647"></a><span class="lineno">  647</span>&#160;</div>
<div class="line"><a name="l00651"></a><span class="lineno">  651</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">void</span> <a class="code" href="mspack_8h.html#aca7c302fbca1abd91c6d00df191e221c">mspack_destroy_kwaj_compressor</a>(<span class="keyword">struct</span> <a class="code" href="structmskwaj__compressor.html">mskwaj_compressor</a> *<span class="keyword">self</span>);</div>
<div class="line"><a name="l00652"></a><span class="lineno">  652</span>&#160;</div>
<div class="line"><a name="l00656"></a><span class="lineno">  656</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">void</span> <a class="code" href="mspack_8h.html#ae1d6e6754279bad79e73af8fab761f50">mspack_destroy_kwaj_decompressor</a>(<span class="keyword">struct</span> <a class="code" href="structmskwaj__decompressor.html">mskwaj_decompressor</a> *<span class="keyword">self</span>);</div>
<div class="line"><a name="l00657"></a><span class="lineno">  657</span>&#160;</div>
<div class="line"><a name="l00658"></a><span class="lineno">  658</span>&#160;</div>
<div class="line"><a name="l00663"></a><span class="lineno">  663</span>&#160;<span class="keyword">extern</span> <span class="keyword">struct </span><a class="code" href="structmsoab__compressor.html">msoab_compressor</a> *</div>
<div class="line"><a name="l00664"></a><span class="lineno">  664</span>&#160;  <a class="code" href="mspack_8h.html#a9b371f1ecbb8423ffe509e3a023ba962">mspack_create_oab_compressor</a>(<span class="keyword">struct</span> <a class="code" href="structmspack__system.html">mspack_system</a> *sys);</div>
<div class="line"><a name="l00665"></a><span class="lineno">  665</span>&#160;</div>
<div class="line"><a name="l00670"></a><span class="lineno">  670</span>&#160;<span class="keyword">extern</span> <span class="keyword">struct </span><a class="code" href="structmsoab__decompressor.html">msoab_decompressor</a> *</div>
<div class="line"><a name="l00671"></a><span class="lineno">  671</span>&#160;  <a class="code" href="mspack_8h.html#a211700fd8b678d0d529f1cd40ce99e01">mspack_create_oab_decompressor</a>(<span class="keyword">struct</span> <a class="code" href="structmspack__system.html">mspack_system</a> *sys);</div>
<div class="line"><a name="l00672"></a><span class="lineno">  672</span>&#160;</div>
<div class="line"><a name="l00676"></a><span class="lineno">  676</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">void</span> <a class="code" href="mspack_8h.html#af4a43cbea4701b86cf5c0363b46b7c71">mspack_destroy_oab_compressor</a>(<span class="keyword">struct</span> <a class="code" href="structmsoab__compressor.html">msoab_compressor</a> *<span class="keyword">self</span>);</div>
<div class="line"><a name="l00677"></a><span class="lineno">  677</span>&#160;</div>
<div class="line"><a name="l00681"></a><span class="lineno">  681</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">void</span> <a class="code" href="mspack_8h.html#a9a0e8aca53554d477705d81569968ca1">mspack_destroy_oab_decompressor</a>(<span class="keyword">struct</span> <a class="code" href="structmsoab__decompressor.html">msoab_decompressor</a> *<span class="keyword">self</span>);</div>
<div class="line"><a name="l00682"></a><span class="lineno">  682</span>&#160;</div>
<div class="line"><a name="l00683"></a><span class="lineno">  683</span>&#160;</div>
<div class="line"><a name="l00684"></a><span class="lineno">  684</span>&#160;<span class="comment">/* --- support for .CAB (MS Cabinet) file format --------------------------- */</span></div>
<div class="line"><a name="l00685"></a><span class="lineno">  685</span>&#160;</div>
<div class="line"><a name="l00697"></a><span class="lineno"><a class="line" href="structmscabd__cabinet.html">  697</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structmscabd__cabinet.html">mscabd_cabinet</a> {</div>
<div class="line"><a name="l00703"></a><span class="lineno"><a class="line" href="structmscabd__cabinet.html#a94d02cd4adb598945f544d77362d1658">  703</a></span>&#160;  <span class="keyword">struct </span><a class="code" href="structmscabd__cabinet.html">mscabd_cabinet</a> *<a class="code" href="structmscabd__cabinet.html#a94d02cd4adb598945f544d77362d1658">next</a>;</div>
<div class="line"><a name="l00704"></a><span class="lineno">  704</span>&#160;</div>
<div class="line"><a name="l00710"></a><span class="lineno"><a class="line" href="structmscabd__cabinet.html#a8e37f9e7834660a3b752e7c0f9a0da06">  710</a></span>&#160;  <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="structmscabd__cabinet.html#a8e37f9e7834660a3b752e7c0f9a0da06">filename</a>;</div>
<div class="line"><a name="l00711"></a><span class="lineno">  711</span>&#160;  </div>
<div class="line"><a name="l00713"></a><span class="lineno"><a class="line" href="structmscabd__cabinet.html#ac0afbad793dbd0e21802bb2dafbcc0f1">  713</a></span>&#160;  off_t <a class="code" href="structmscabd__cabinet.html#ac0afbad793dbd0e21802bb2dafbcc0f1">base_offset</a>;</div>
<div class="line"><a name="l00714"></a><span class="lineno">  714</span>&#160;</div>
<div class="line"><a name="l00716"></a><span class="lineno"><a class="line" href="structmscabd__cabinet.html#a8714457bd807fe92e42fe2dcaf664796">  716</a></span>&#160;  <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="structmscabd__cabinet.html#a8714457bd807fe92e42fe2dcaf664796">length</a>;</div>
<div class="line"><a name="l00717"></a><span class="lineno">  717</span>&#160;</div>
<div class="line"><a name="l00719"></a><span class="lineno"><a class="line" href="structmscabd__cabinet.html#ad915066d3781892754b6cfd87b08d378">  719</a></span>&#160;  <span class="keyword">struct </span><a class="code" href="structmscabd__cabinet.html">mscabd_cabinet</a> *<a class="code" href="structmscabd__cabinet.html#ad915066d3781892754b6cfd87b08d378">prevcab</a>;</div>
<div class="line"><a name="l00720"></a><span class="lineno">  720</span>&#160;</div>
<div class="line"><a name="l00722"></a><span class="lineno"><a class="line" href="structmscabd__cabinet.html#ae3ab25aa910ea50dca515659848ab5dc">  722</a></span>&#160;  <span class="keyword">struct </span><a class="code" href="structmscabd__cabinet.html">mscabd_cabinet</a> *<a class="code" href="structmscabd__cabinet.html#ae3ab25aa910ea50dca515659848ab5dc">nextcab</a>;</div>
<div class="line"><a name="l00723"></a><span class="lineno">  723</span>&#160;</div>
<div class="line"><a name="l00725"></a><span class="lineno"><a class="line" href="structmscabd__cabinet.html#a1f595a7655daa62ba709ecf40a0cb13c">  725</a></span>&#160;  <span class="keywordtype">char</span> *<a class="code" href="structmscabd__cabinet.html#a1f595a7655daa62ba709ecf40a0cb13c">prevname</a>;</div>
<div class="line"><a name="l00726"></a><span class="lineno">  726</span>&#160;</div>
<div class="line"><a name="l00728"></a><span class="lineno"><a class="line" href="structmscabd__cabinet.html#abe1b8a6ccc9eeeebf2a454bfbe2d4a1a">  728</a></span>&#160;  <span class="keywordtype">char</span> *<a class="code" href="structmscabd__cabinet.html#abe1b8a6ccc9eeeebf2a454bfbe2d4a1a">nextname</a>;</div>
<div class="line"><a name="l00729"></a><span class="lineno">  729</span>&#160;</div>
<div class="line"><a name="l00733"></a><span class="lineno"><a class="line" href="structmscabd__cabinet.html#ae66366dd077ee68f5207c7a93f1ed5b1">  733</a></span>&#160;  <span class="keywordtype">char</span> *<a class="code" href="structmscabd__cabinet.html#ae66366dd077ee68f5207c7a93f1ed5b1">previnfo</a>;</div>
<div class="line"><a name="l00734"></a><span class="lineno">  734</span>&#160;</div>
<div class="line"><a name="l00738"></a><span class="lineno"><a class="line" href="structmscabd__cabinet.html#ae541d57dba76b07e1badb4ad4a6f68bc">  738</a></span>&#160;  <span class="keywordtype">char</span> *<a class="code" href="structmscabd__cabinet.html#ae541d57dba76b07e1badb4ad4a6f68bc">nextinfo</a>;</div>
<div class="line"><a name="l00739"></a><span class="lineno">  739</span>&#160;</div>
<div class="line"><a name="l00741"></a><span class="lineno"><a class="line" href="structmscabd__cabinet.html#ac5cbac5940c3ebe068201bda234a7428">  741</a></span>&#160;  <span class="keyword">struct </span><a class="code" href="structmscabd__file.html">mscabd_file</a> *<a class="code" href="structmscabd__cabinet.html#ac5cbac5940c3ebe068201bda234a7428">files</a>;</div>
<div class="line"><a name="l00742"></a><span class="lineno">  742</span>&#160;</div>
<div class="line"><a name="l00744"></a><span class="lineno"><a class="line" href="structmscabd__cabinet.html#a40c125ef3821bb1b85baee532c9154ac">  744</a></span>&#160;  <span class="keyword">struct </span><a class="code" href="structmscabd__folder.html">mscabd_folder</a> *<a class="code" href="structmscabd__cabinet.html#a40c125ef3821bb1b85baee532c9154ac">folders</a>;</div>
<div class="line"><a name="l00745"></a><span class="lineno">  745</span>&#160;</div>
<div class="line"><a name="l00750"></a><span class="lineno"><a class="line" href="structmscabd__cabinet.html#a1ec19746e85dd1ede4a6568db68ae044">  750</a></span>&#160;  <span class="keywordtype">unsigned</span> <span class="keywordtype">short</span> <a class="code" href="structmscabd__cabinet.html#a1ec19746e85dd1ede4a6568db68ae044">set_id</a>;</div>
<div class="line"><a name="l00751"></a><span class="lineno">  751</span>&#160;</div>
<div class="line"><a name="l00757"></a><span class="lineno"><a class="line" href="structmscabd__cabinet.html#a28b565bad65980597c4db3e7d91f1be2">  757</a></span>&#160;  <span class="keywordtype">unsigned</span> <span class="keywordtype">short</span> <a class="code" href="structmscabd__cabinet.html#a28b565bad65980597c4db3e7d91f1be2">set_index</a>;</div>
<div class="line"><a name="l00758"></a><span class="lineno">  758</span>&#160;</div>
<div class="line"><a name="l00769"></a><span class="lineno"><a class="line" href="structmscabd__cabinet.html#a668bc2203adb0d6ac101eef1e53149d9">  769</a></span>&#160;  <span class="keywordtype">unsigned</span> <span class="keywordtype">short</span> <a class="code" href="structmscabd__cabinet.html#a668bc2203adb0d6ac101eef1e53149d9">header_resv</a>;</div>
<div class="line"><a name="l00770"></a><span class="lineno">  770</span>&#160;</div>
<div class="line"><a name="l00782"></a><span class="lineno"><a class="line" href="structmscabd__cabinet.html#a6c5b8d1773e14b12c70d64d5b8867b01">  782</a></span>&#160;  <span class="keywordtype">int</span> <a class="code" href="structmscabd__cabinet.html#a6c5b8d1773e14b12c70d64d5b8867b01">flags</a>;</div>
<div class="line"><a name="l00783"></a><span class="lineno">  783</span>&#160;};</div>
<div class="line"><a name="l00784"></a><span class="lineno">  784</span>&#160;</div>
<div class="line"><a name="l00786"></a><span class="lineno"><a class="line" href="mspack_8h.html#af5436d0bc295bfafe7c0f6698ac66253">  786</a></span>&#160;<span class="preprocessor">#define MSCAB_HDR_RESV_OFFSET (0x28)</span></div>
<div class="line"><a name="l00787"></a><span class="lineno">  787</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00789"></a><span class="lineno"><a class="line" href="mspack_8h.html#a81b3a9ace98ff7cad4e1775b5dff926d">  789</a></span>&#160;<span class="preprocessor">#define MSCAB_HDR_PREVCAB (0x01)</span></div>
<div class="line"><a name="l00790"></a><span class="lineno">  790</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00791"></a><span class="lineno"><a class="line" href="mspack_8h.html#a1f13e60315526e8ea02aed86563e622d">  791</a></span>&#160;<span class="preprocessor">#define MSCAB_HDR_NEXTCAB (0x02)</span></div>
<div class="line"><a name="l00792"></a><span class="lineno">  792</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00793"></a><span class="lineno"><a class="line" href="mspack_8h.html#a9e843577c73d9caf48f88f4577dc3e44">  793</a></span>&#160;<span class="preprocessor">#define MSCAB_HDR_RESV    (0x04)</span></div>
<div class="line"><a name="l00794"></a><span class="lineno">  794</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00804"></a><span class="lineno"><a class="line" href="structmscabd__folder.html">  804</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structmscabd__folder.html">mscabd_folder</a> {</div>
<div class="line"><a name="l00809"></a><span class="lineno"><a class="line" href="structmscabd__folder.html#a6256ca9a2ee93dbbaa2124146cbad18e">  809</a></span>&#160;  <span class="keyword">struct </span><a class="code" href="structmscabd__folder.html">mscabd_folder</a> *<a class="code" href="structmscabd__folder.html#a6256ca9a2ee93dbbaa2124146cbad18e">next</a>;</div>
<div class="line"><a name="l00810"></a><span class="lineno">  810</span>&#160;</div>
<div class="line"><a name="l00820"></a><span class="lineno"><a class="line" href="structmscabd__folder.html#aede069b566ca8ae21998da02e81ec6f5">  820</a></span>&#160;  <span class="keywordtype">int</span> <a class="code" href="structmscabd__folder.html#aede069b566ca8ae21998da02e81ec6f5">comp_type</a>;</div>
<div class="line"><a name="l00821"></a><span class="lineno">  821</span>&#160;</div>
<div class="line"><a name="l00827"></a><span class="lineno"><a class="line" href="structmscabd__folder.html#a784995a5f0632aa994ef1a5c9a24502a">  827</a></span>&#160;  <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="structmscabd__folder.html#a784995a5f0632aa994ef1a5c9a24502a">num_blocks</a>;</div>
<div class="line"><a name="l00828"></a><span class="lineno">  828</span>&#160;};</div>
<div class="line"><a name="l00829"></a><span class="lineno">  829</span>&#160;</div>
<div class="line"><a name="l00837"></a><span class="lineno"><a class="line" href="mspack_8h.html#acb33fa8e4ca83111850aa4e42dc3df66">  837</a></span>&#160;<span class="preprocessor">#define MSCABD_COMP_METHOD(comp_type) ((comp_type) &amp; 0x0F)</span></div>
<div class="line"><a name="l00838"></a><span class="lineno">  838</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00845"></a><span class="lineno"><a class="line" href="mspack_8h.html#aa8a723f78208feb998cc6e1247ede8ab">  845</a></span>&#160;<span class="preprocessor">#define MSCABD_COMP_LEVEL(comp_type) (((comp_type) &gt;&gt; 8) &amp; 0x1F)</span></div>
<div class="line"><a name="l00846"></a><span class="lineno">  846</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00848"></a><span class="lineno"><a class="line" href="mspack_8h.html#aea2a3bd668e90fa8dee6d09fa92a291e">  848</a></span>&#160;<span class="preprocessor">#define MSCAB_COMP_NONE       (0)</span></div>
<div class="line"><a name="l00849"></a><span class="lineno">  849</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00850"></a><span class="lineno"><a class="line" href="mspack_8h.html#a2f1650e9494e43445dbbd1ab1e68a8d4">  850</a></span>&#160;<span class="preprocessor">#define MSCAB_COMP_MSZIP      (1)</span></div>
<div class="line"><a name="l00851"></a><span class="lineno">  851</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00852"></a><span class="lineno"><a class="line" href="mspack_8h.html#adb1a28aee8ef97788b49f61d8a6fbf6f">  852</a></span>&#160;<span class="preprocessor">#define MSCAB_COMP_QUANTUM    (2)</span></div>
<div class="line"><a name="l00853"></a><span class="lineno">  853</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00854"></a><span class="lineno"><a class="line" href="mspack_8h.html#a2f8fa0eba3aab6ab520d1667f4b01278">  854</a></span>&#160;<span class="preprocessor">#define MSCAB_COMP_LZX        (3)</span></div>
<div class="line"><a name="l00855"></a><span class="lineno">  855</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00861"></a><span class="lineno"><a class="line" href="structmscabd__file.html">  861</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structmscabd__file.html">mscabd_file</a> {</div>
<div class="line"><a name="l00866"></a><span class="lineno"><a class="line" href="structmscabd__file.html#adc04f6cf28d372d235d141a0fd2de73a">  866</a></span>&#160;  <span class="keyword">struct </span><a class="code" href="structmscabd__file.html">mscabd_file</a> *<a class="code" href="structmscabd__file.html#adc04f6cf28d372d235d141a0fd2de73a">next</a>;</div>
<div class="line"><a name="l00867"></a><span class="lineno">  867</span>&#160;</div>
<div class="line"><a name="l00876"></a><span class="lineno"><a class="line" href="structmscabd__file.html#a181b45655523f55ed114b51249d305f8">  876</a></span>&#160;  <span class="keywordtype">char</span> *<a class="code" href="structmscabd__file.html#a181b45655523f55ed114b51249d305f8">filename</a>;</div>
<div class="line"><a name="l00877"></a><span class="lineno">  877</span>&#160;</div>
<div class="line"><a name="l00879"></a><span class="lineno"><a class="line" href="structmscabd__file.html#a251c5d90bd1cf85114987f6da0070714">  879</a></span>&#160;  <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="structmscabd__file.html#a251c5d90bd1cf85114987f6da0070714">length</a>;</div>
<div class="line"><a name="l00880"></a><span class="lineno">  880</span>&#160;</div>
<div class="line"><a name="l00893"></a><span class="lineno"><a class="line" href="structmscabd__file.html#a77eb02b23393f5463e9e445f87bbfa9d">  893</a></span>&#160;  <span class="keywordtype">int</span> <a class="code" href="structmscabd__file.html#a77eb02b23393f5463e9e445f87bbfa9d">attribs</a>;</div>
<div class="line"><a name="l00894"></a><span class="lineno">  894</span>&#160;</div>
<div class="line"><a name="l00896"></a><span class="lineno"><a class="line" href="structmscabd__file.html#ab73696396840d7ed60dc2d376461e036">  896</a></span>&#160;  <span class="keywordtype">char</span> <a class="code" href="structmscabd__file.html#ab73696396840d7ed60dc2d376461e036">time_h</a>;</div>
<div class="line"><a name="l00898"></a><span class="lineno"><a class="line" href="structmscabd__file.html#a703b6af6638b34ff9905de6ca13a77df">  898</a></span>&#160;  <span class="keywordtype">char</span> <a class="code" href="structmscabd__file.html#a703b6af6638b34ff9905de6ca13a77df">time_m</a>;</div>
<div class="line"><a name="l00900"></a><span class="lineno"><a class="line" href="structmscabd__file.html#ad05e4a3fc108988cabbc918a53afd25a">  900</a></span>&#160;  <span class="keywordtype">char</span> <a class="code" href="structmscabd__file.html#ad05e4a3fc108988cabbc918a53afd25a">time_s</a>;</div>
<div class="line"><a name="l00901"></a><span class="lineno">  901</span>&#160;</div>
<div class="line"><a name="l00903"></a><span class="lineno"><a class="line" href="structmscabd__file.html#aa7a6b5c44ad11982018afdb571608ffe">  903</a></span>&#160;  <span class="keywordtype">char</span> <a class="code" href="structmscabd__file.html#aa7a6b5c44ad11982018afdb571608ffe">date_d</a>;</div>
<div class="line"><a name="l00905"></a><span class="lineno"><a class="line" href="structmscabd__file.html#afd4e4b89ac6ca11a08f45a1582de024b">  905</a></span>&#160;  <span class="keywordtype">char</span> <a class="code" href="structmscabd__file.html#afd4e4b89ac6ca11a08f45a1582de024b">date_m</a>;</div>
<div class="line"><a name="l00907"></a><span class="lineno"><a class="line" href="structmscabd__file.html#ac76a68d9aa60c907a0d8c997c070dd2a">  907</a></span>&#160;  <span class="keywordtype">int</span> <a class="code" href="structmscabd__file.html#ac76a68d9aa60c907a0d8c997c070dd2a">date_y</a>;</div>
<div class="line"><a name="l00908"></a><span class="lineno">  908</span>&#160;</div>
<div class="line"><a name="l00910"></a><span class="lineno"><a class="line" href="structmscabd__file.html#a54846aab5d491cabedabe8ba11033ddb">  910</a></span>&#160;  <span class="keyword">struct </span><a class="code" href="structmscabd__folder.html">mscabd_folder</a> *<a class="code" href="structmscabd__file.html#a54846aab5d491cabedabe8ba11033ddb">folder</a>;</div>
<div class="line"><a name="l00911"></a><span class="lineno">  911</span>&#160;</div>
<div class="line"><a name="l00913"></a><span class="lineno"><a class="line" href="structmscabd__file.html#ab71150ec878f202f8e4d8fab763c21e8">  913</a></span>&#160;  <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="structmscabd__file.html#ab71150ec878f202f8e4d8fab763c21e8">offset</a>;</div>
<div class="line"><a name="l00914"></a><span class="lineno">  914</span>&#160;};</div>
<div class="line"><a name="l00915"></a><span class="lineno">  915</span>&#160;</div>
<div class="line"><a name="l00917"></a><span class="lineno"><a class="line" href="mspack_8h.html#aafd9a6de3c6f221cf92de71c0dfd0a93">  917</a></span>&#160;<span class="preprocessor">#define MSCAB_ATTRIB_RDONLY   (0x01)</span></div>
<div class="line"><a name="l00918"></a><span class="lineno">  918</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00919"></a><span class="lineno"><a class="line" href="mspack_8h.html#a0b83bb08ddc82d7fab46ae0531492063">  919</a></span>&#160;<span class="preprocessor">#define MSCAB_ATTRIB_HIDDEN   (0x02)</span></div>
<div class="line"><a name="l00920"></a><span class="lineno">  920</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00921"></a><span class="lineno"><a class="line" href="mspack_8h.html#afc5628ada27b9c183eff006d79f907b7">  921</a></span>&#160;<span class="preprocessor">#define MSCAB_ATTRIB_SYSTEM   (0x04)</span></div>
<div class="line"><a name="l00922"></a><span class="lineno">  922</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00923"></a><span class="lineno"><a class="line" href="mspack_8h.html#a51c521a8611963e5862d956f2dea5e35">  923</a></span>&#160;<span class="preprocessor">#define MSCAB_ATTRIB_ARCH     (0x20)</span></div>
<div class="line"><a name="l00924"></a><span class="lineno">  924</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00925"></a><span class="lineno"><a class="line" href="mspack_8h.html#a18ca3c974e5efc2e9f2f69bc8f758d0a">  925</a></span>&#160;<span class="preprocessor">#define MSCAB_ATTRIB_EXEC     (0x40)</span></div>
<div class="line"><a name="l00926"></a><span class="lineno">  926</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00927"></a><span class="lineno"><a class="line" href="mspack_8h.html#a2dd2069255f1c8fc9d25005d3ca22944">  927</a></span>&#160;<span class="preprocessor">#define MSCAB_ATTRIB_UTF_NAME (0x80)</span></div>
<div class="line"><a name="l00928"></a><span class="lineno">  928</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00930"></a><span class="lineno"><a class="line" href="mspack_8h.html#a3888f5036eae320e691f5de290293a9f">  930</a></span>&#160;<span class="preprocessor">#define MSCABD_PARAM_SEARCHBUF (0)</span></div>
<div class="line"><a name="l00931"></a><span class="lineno">  931</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00932"></a><span class="lineno"><a class="line" href="mspack_8h.html#a852a791d880d602989063128d4ce33d1">  932</a></span>&#160;<span class="preprocessor">#define MSCABD_PARAM_FIXMSZIP  (1)</span></div>
<div class="line"><a name="l00933"></a><span class="lineno">  933</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00934"></a><span class="lineno"><a class="line" href="mspack_8h.html#a197cc07b45645f807bd400ed576b2968">  934</a></span>&#160;<span class="preprocessor">#define MSCABD_PARAM_DECOMPBUF (2)</span></div>
<div class="line"><a name="l00935"></a><span class="lineno">  935</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00937"></a><span class="lineno"><a class="line" href="structmscab__compressor.html">  937</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structmscab__compressor.html">mscab_compressor</a> {</div>
<div class="line"><a name="l00938"></a><span class="lineno"><a class="line" href="structmscab__compressor.html#a7ee33e593f24d9ef35a78cc3d304a769">  938</a></span>&#160;  <span class="keywordtype">int</span> <a class="code" href="structmscab__compressor.html#a7ee33e593f24d9ef35a78cc3d304a769">dummy</a>; </div>
<div class="line"><a name="l00939"></a><span class="lineno">  939</span>&#160;};</div>
<div class="line"><a name="l00940"></a><span class="lineno">  940</span>&#160;</div>
<div class="line"><a name="l00948"></a><span class="lineno"><a class="line" href="structmscab__decompressor.html">  948</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structmscab__decompressor.html">mscab_decompressor</a> {</div>
<div class="line"><a name="l00969"></a><span class="lineno"><a class="line" href="structmscab__decompressor.html#ad2d5af33948f587fcb9b57d4f70a621e">  969</a></span>&#160;  <span class="keyword">struct </span><a class="code" href="structmscabd__cabinet.html">mscabd_cabinet</a> * (*open) (<span class="keyword">struct </span><a class="code" href="structmscab__decompressor.html">mscab_decompressor</a> *<span class="keyword">self</span>,</div>
<div class="line"><a name="l00970"></a><span class="lineno">  970</span>&#160;                   <span class="keyword">const</span> <span class="keywordtype">char</span> *filename);</div>
<div class="line"><a name="l00971"></a><span class="lineno">  971</span>&#160;</div>
<div class="line"><a name="l01001"></a><span class="lineno"><a class="line" href="structmscab__decompressor.html#ab469fdadc4bd9a58574427bcd0138a01"> 1001</a></span>&#160;  void (*<a class="code" href="structmscab__decompressor.html#ab469fdadc4bd9a58574427bcd0138a01">close</a>)(<span class="keyword">struct </span><a class="code" href="structmscab__decompressor.html">mscab_decompressor</a> *<span class="keyword">self</span>,</div>
<div class="line"><a name="l01002"></a><span class="lineno"> 1002</span>&#160;        <span class="keyword">struct </span><a class="code" href="structmscabd__cabinet.html">mscabd_cabinet</a> *cab);</div>
<div class="line"><a name="l01003"></a><span class="lineno"> 1003</span>&#160;</div>
<div class="line"><a name="l01038"></a><span class="lineno"><a class="line" href="structmscab__decompressor.html#aac389b8ac60162e33f6292de8b94d2d0"> 1038</a></span>&#160;  <span class="keyword">struct </span><a class="code" href="structmscabd__cabinet.html">mscabd_cabinet</a> * (*search) (<span class="keyword">struct </span><a class="code" href="structmscab__decompressor.html">mscab_decompressor</a> *<span class="keyword">self</span>,</div>
<div class="line"><a name="l01039"></a><span class="lineno"> 1039</span>&#160;                     <span class="keyword">const</span> <span class="keywordtype">char</span> *filename);</div>
<div class="line"><a name="l01040"></a><span class="lineno"> 1040</span>&#160;</div>
<div class="line"><a name="l01081"></a><span class="lineno"><a class="line" href="structmscab__decompressor.html#a00eb7059f80ef8bed33f8bd410c9d665"> 1081</a></span>&#160;  int (*<a class="code" href="structmscab__decompressor.html#a00eb7059f80ef8bed33f8bd410c9d665">append</a>) (<span class="keyword">struct </span><a class="code" href="structmscab__decompressor.html">mscab_decompressor</a> *<span class="keyword">self</span>,</div>
<div class="line"><a name="l01082"></a><span class="lineno"> 1082</span>&#160;         <span class="keyword">struct </span><a class="code" href="structmscabd__cabinet.html">mscabd_cabinet</a> *cab,</div>
<div class="line"><a name="l01083"></a><span class="lineno"> 1083</span>&#160;         <span class="keyword">struct </span><a class="code" href="structmscabd__cabinet.html">mscabd_cabinet</a> *<a class="code" href="structmscabd__cabinet.html#ae3ab25aa910ea50dca515659848ab5dc">nextcab</a>);</div>
<div class="line"><a name="l01084"></a><span class="lineno"> 1084</span>&#160;</div>
<div class="line"><a name="l01103"></a><span class="lineno"><a class="line" href="structmscab__decompressor.html#a8cd61b0d08747508291a9e1e6c753ec7"> 1103</a></span>&#160;  int (*<a class="code" href="structmscab__decompressor.html#a8cd61b0d08747508291a9e1e6c753ec7">prepend</a>) (<span class="keyword">struct </span><a class="code" href="structmscab__decompressor.html">mscab_decompressor</a> *<span class="keyword">self</span>,</div>
<div class="line"><a name="l01104"></a><span class="lineno"> 1104</span>&#160;          <span class="keyword">struct </span><a class="code" href="structmscabd__cabinet.html">mscabd_cabinet</a> *cab,</div>
<div class="line"><a name="l01105"></a><span class="lineno"> 1105</span>&#160;          <span class="keyword">struct </span><a class="code" href="structmscabd__cabinet.html">mscabd_cabinet</a> *<a class="code" href="structmscabd__cabinet.html#ad915066d3781892754b6cfd87b08d378">prevcab</a>);</div>
<div class="line"><a name="l01106"></a><span class="lineno"> 1106</span>&#160;</div>
<div class="line"><a name="l01129"></a><span class="lineno"><a class="line" href="structmscab__decompressor.html#a8224719c30138a5f6322048859b8ca52"> 1129</a></span>&#160;  int (*<a class="code" href="structmscab__decompressor.html#a8224719c30138a5f6322048859b8ca52">extract</a>)(<span class="keyword">struct </span><a class="code" href="structmscab__decompressor.html">mscab_decompressor</a> *<span class="keyword">self</span>,</div>
<div class="line"><a name="l01130"></a><span class="lineno"> 1130</span>&#160;         <span class="keyword">struct </span><a class="code" href="structmscabd__file.html">mscabd_file</a> *file,</div>
<div class="line"><a name="l01131"></a><span class="lineno"> 1131</span>&#160;         <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="structmscabd__file.html#a181b45655523f55ed114b51249d305f8">filename</a>);</div>
<div class="line"><a name="l01132"></a><span class="lineno"> 1132</span>&#160;</div>
<div class="line"><a name="l01155"></a><span class="lineno"><a class="line" href="structmscab__decompressor.html#ae818d71d1b62101c063edefcaa43fb08"> 1155</a></span>&#160;  int (*<a class="code" href="structmscab__decompressor.html#ae818d71d1b62101c063edefcaa43fb08">set_param</a>)(<span class="keyword">struct </span><a class="code" href="structmscab__decompressor.html">mscab_decompressor</a> *<span class="keyword">self</span>,</div>
<div class="line"><a name="l01156"></a><span class="lineno"> 1156</span>&#160;           <span class="keywordtype">int</span> param,</div>
<div class="line"><a name="l01157"></a><span class="lineno"> 1157</span>&#160;           <span class="keywordtype">int</span> value);</div>
<div class="line"><a name="l01158"></a><span class="lineno"> 1158</span>&#160;</div>
<div class="line"><a name="l01170"></a><span class="lineno"><a class="line" href="structmscab__decompressor.html#a52b374b473d3144407ae2ca0e704a6a5"> 1170</a></span>&#160;  int (*<a class="code" href="structmscab__decompressor.html#a52b374b473d3144407ae2ca0e704a6a5">last_error</a>)(<span class="keyword">struct </span><a class="code" href="structmscab__decompressor.html">mscab_decompressor</a> *<span class="keyword">self</span>);</div>
<div class="line"><a name="l01171"></a><span class="lineno"> 1171</span>&#160;};</div>
<div class="line"><a name="l01172"></a><span class="lineno"> 1172</span>&#160;</div>
<div class="line"><a name="l01173"></a><span class="lineno"> 1173</span>&#160;<span class="comment">/* --- support for .CHM (HTMLHelp) file format ----------------------------- */</span></div>
<div class="line"><a name="l01174"></a><span class="lineno"> 1174</span>&#160;</div>
<div class="line"><a name="l01183"></a><span class="lineno"><a class="line" href="structmschmc__file.html"> 1183</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structmschmc__file.html">mschmc_file</a> {</div>
<div class="line"><a name="l01185"></a><span class="lineno"><a class="line" href="structmschmc__file.html#a11c5bd77b0142d3c3a94c5a24126e030"> 1185</a></span>&#160;  <span class="keywordtype">int</span> <a class="code" href="structmschmc__file.html#a11c5bd77b0142d3c3a94c5a24126e030">section</a>;</div>
<div class="line"><a name="l01186"></a><span class="lineno"> 1186</span>&#160;</div>
<div class="line"><a name="l01189"></a><span class="lineno"><a class="line" href="structmschmc__file.html#a60dcb986ab210e9f9674daaa813c6ca6"> 1189</a></span>&#160;  <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="structmschmc__file.html#a60dcb986ab210e9f9674daaa813c6ca6">filename</a>;</div>
<div class="line"><a name="l01190"></a><span class="lineno"> 1190</span>&#160;</div>
<div class="line"><a name="l01193"></a><span class="lineno"><a class="line" href="structmschmc__file.html#ab2979483302579db0111fe5cff3d4eb5"> 1193</a></span>&#160;  <span class="keywordtype">char</span> *<a class="code" href="structmschmc__file.html#ab2979483302579db0111fe5cff3d4eb5">chm_filename</a>;</div>
<div class="line"><a name="l01194"></a><span class="lineno"> 1194</span>&#160;</div>
<div class="line"><a name="l01198"></a><span class="lineno"><a class="line" href="structmschmc__file.html#aee5c029845e1ce6112c8d050d9b23fda"> 1198</a></span>&#160;  off_t <a class="code" href="structmschmc__file.html#aee5c029845e1ce6112c8d050d9b23fda">length</a>;</div>
<div class="line"><a name="l01199"></a><span class="lineno"> 1199</span>&#160;};</div>
<div class="line"><a name="l01200"></a><span class="lineno"> 1200</span>&#160;</div>
<div class="line"><a name="l01209"></a><span class="lineno"><a class="line" href="structmschmd__section.html"> 1209</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structmschmd__section.html">mschmd_section</a> {</div>
<div class="line"><a name="l01211"></a><span class="lineno"><a class="line" href="structmschmd__section.html#af1291ed269c7387b416e9ade36875621"> 1211</a></span>&#160;  <span class="keyword">struct </span><a class="code" href="structmschmd__header.html">mschmd_header</a> *<a class="code" href="structmschmd__section.html#af1291ed269c7387b416e9ade36875621">chm</a>;</div>
<div class="line"><a name="l01212"></a><span class="lineno"> 1212</span>&#160;</div>
<div class="line"><a name="l01218"></a><span class="lineno"><a class="line" href="structmschmd__section.html#a68d357e2150602c47a9cd5c4b5ce0465"> 1218</a></span>&#160;  <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="structmschmd__section.html#a68d357e2150602c47a9cd5c4b5ce0465">id</a>;</div>
<div class="line"><a name="l01219"></a><span class="lineno"> 1219</span>&#160;};</div>
<div class="line"><a name="l01220"></a><span class="lineno"> 1220</span>&#160;</div>
<div class="line"><a name="l01226"></a><span class="lineno"><a class="line" href="structmschmd__sec__uncompressed.html"> 1226</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structmschmd__sec__uncompressed.html">mschmd_sec_uncompressed</a> {</div>
<div class="line"><a name="l01228"></a><span class="lineno"><a class="line" href="structmschmd__sec__uncompressed.html#adc27f4dcbfa0d906da01020c71759d4b"> 1228</a></span>&#160;  <span class="keyword">struct </span><a class="code" href="structmschmd__section.html">mschmd_section</a> <a class="code" href="structmschmd__sec__uncompressed.html#adc27f4dcbfa0d906da01020c71759d4b">base</a>;</div>
<div class="line"><a name="l01229"></a><span class="lineno"> 1229</span>&#160;</div>
<div class="line"><a name="l01231"></a><span class="lineno"><a class="line" href="structmschmd__sec__uncompressed.html#af8b34d247b2e197f5d835f8eed564e64"> 1231</a></span>&#160;  off_t <a class="code" href="structmschmd__sec__uncompressed.html#af8b34d247b2e197f5d835f8eed564e64">offset</a>;</div>
<div class="line"><a name="l01232"></a><span class="lineno"> 1232</span>&#160;};</div>
<div class="line"><a name="l01233"></a><span class="lineno"> 1233</span>&#160;</div>
<div class="line"><a name="l01239"></a><span class="lineno"><a class="line" href="structmschmd__sec__mscompressed.html"> 1239</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structmschmd__sec__mscompressed.html">mschmd_sec_mscompressed</a> {</div>
<div class="line"><a name="l01241"></a><span class="lineno"><a class="line" href="structmschmd__sec__mscompressed.html#a875b322e139225194ec6d0f9e1762e32"> 1241</a></span>&#160;  <span class="keyword">struct </span><a class="code" href="structmschmd__section.html">mschmd_section</a> <a class="code" href="structmschmd__sec__mscompressed.html#a875b322e139225194ec6d0f9e1762e32">base</a>;</div>
<div class="line"><a name="l01242"></a><span class="lineno"> 1242</span>&#160;</div>
<div class="line"><a name="l01244"></a><span class="lineno"><a class="line" href="structmschmd__sec__mscompressed.html#aab9eb91f43471abcdbcb075c8264a787"> 1244</a></span>&#160;  <span class="keyword">struct </span><a class="code" href="structmschmd__file.html">mschmd_file</a> *<a class="code" href="structmschmd__sec__mscompressed.html#aab9eb91f43471abcdbcb075c8264a787">content</a>;</div>
<div class="line"><a name="l01245"></a><span class="lineno"> 1245</span>&#160;</div>
<div class="line"><a name="l01247"></a><span class="lineno"><a class="line" href="structmschmd__sec__mscompressed.html#a5d5406ee96c11e096301bdbae930c744"> 1247</a></span>&#160;  <span class="keyword">struct </span><a class="code" href="structmschmd__file.html">mschmd_file</a> *<a class="code" href="structmschmd__sec__mscompressed.html#a5d5406ee96c11e096301bdbae930c744">control</a>;</div>
<div class="line"><a name="l01248"></a><span class="lineno"> 1248</span>&#160;</div>
<div class="line"><a name="l01250"></a><span class="lineno"><a class="line" href="structmschmd__sec__mscompressed.html#ab00872a655bd36de99d3c960458c3bc3"> 1250</a></span>&#160;  <span class="keyword">struct </span><a class="code" href="structmschmd__file.html">mschmd_file</a> *<a class="code" href="structmschmd__sec__mscompressed.html#ab00872a655bd36de99d3c960458c3bc3">rtable</a>;</div>
<div class="line"><a name="l01251"></a><span class="lineno"> 1251</span>&#160;</div>
<div class="line"><a name="l01255"></a><span class="lineno"><a class="line" href="structmschmd__sec__mscompressed.html#afd6f3b28b37e10704d8584d9b4c093f1"> 1255</a></span>&#160;  <span class="keyword">struct </span><a class="code" href="structmschmd__file.html">mschmd_file</a> *<a class="code" href="structmschmd__sec__mscompressed.html#afd6f3b28b37e10704d8584d9b4c093f1">spaninfo</a>;</div>
<div class="line"><a name="l01256"></a><span class="lineno"> 1256</span>&#160;};</div>
<div class="line"><a name="l01257"></a><span class="lineno"> 1257</span>&#160;</div>
<div class="line"><a name="l01263"></a><span class="lineno"><a class="line" href="structmschmd__header.html"> 1263</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structmschmd__header.html">mschmd_header</a> {</div>
<div class="line"><a name="l01265"></a><span class="lineno"><a class="line" href="structmschmd__header.html#a273b8a0f48ba7d9c3ffb01426585925c"> 1265</a></span>&#160;  <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="structmschmd__header.html#a273b8a0f48ba7d9c3ffb01426585925c">version</a>;</div>
<div class="line"><a name="l01266"></a><span class="lineno"> 1266</span>&#160;</div>
<div class="line"><a name="l01274"></a><span class="lineno"><a class="line" href="structmschmd__header.html#ab844b2365051d8c99ce41ae0a0f4c106"> 1274</a></span>&#160;  <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="structmschmd__header.html#ab844b2365051d8c99ce41ae0a0f4c106">timestamp</a>;</div>
<div class="line"><a name="l01275"></a><span class="lineno"> 1275</span>&#160;      </div>
<div class="line"><a name="l01280"></a><span class="lineno"><a class="line" href="structmschmd__header.html#abc4bb0ece1933982ebc18263cbc18166"> 1280</a></span>&#160;  <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="structmschmd__header.html#abc4bb0ece1933982ebc18263cbc18166">language</a>;</div>
<div class="line"><a name="l01281"></a><span class="lineno"> 1281</span>&#160;</div>
<div class="line"><a name="l01286"></a><span class="lineno"><a class="line" href="structmschmd__header.html#a278de93cf1e7de82ab32189ce190dd46"> 1286</a></span>&#160;  <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="structmschmd__header.html#a278de93cf1e7de82ab32189ce190dd46">filename</a>;</div>
<div class="line"><a name="l01287"></a><span class="lineno"> 1287</span>&#160;</div>
<div class="line"><a name="l01289"></a><span class="lineno"><a class="line" href="structmschmd__header.html#a33ec169354d6d373667847435c566a12"> 1289</a></span>&#160;  off_t <a class="code" href="structmschmd__header.html#a33ec169354d6d373667847435c566a12">length</a>;</div>
<div class="line"><a name="l01290"></a><span class="lineno"> 1290</span>&#160;</div>
<div class="line"><a name="l01292"></a><span class="lineno"><a class="line" href="structmschmd__header.html#aecdd3b5e84606785e9620a70e8f0d0ed"> 1292</a></span>&#160;  <span class="keyword">struct </span><a class="code" href="structmschmd__file.html">mschmd_file</a> *<a class="code" href="structmschmd__header.html#aecdd3b5e84606785e9620a70e8f0d0ed">files</a>;</div>
<div class="line"><a name="l01293"></a><span class="lineno"> 1293</span>&#160;</div>
<div class="line"><a name="l01300"></a><span class="lineno"><a class="line" href="structmschmd__header.html#ac38b56f77e2a44d998e57ba9301e39d5"> 1300</a></span>&#160;  <span class="keyword">struct </span><a class="code" href="structmschmd__file.html">mschmd_file</a> *<a class="code" href="structmschmd__header.html#ac38b56f77e2a44d998e57ba9301e39d5">sysfiles</a>;</div>
<div class="line"><a name="l01301"></a><span class="lineno"> 1301</span>&#160;</div>
<div class="line"><a name="l01303"></a><span class="lineno"><a class="line" href="structmschmd__header.html#aec45cc37c1baeb665336fc93265ca027"> 1303</a></span>&#160;  <span class="keyword">struct </span><a class="code" href="structmschmd__sec__uncompressed.html">mschmd_sec_uncompressed</a> <a class="code" href="structmschmd__header.html#aec45cc37c1baeb665336fc93265ca027">sec0</a>;</div>
<div class="line"><a name="l01304"></a><span class="lineno"> 1304</span>&#160;</div>
<div class="line"><a name="l01306"></a><span class="lineno"><a class="line" href="structmschmd__header.html#ace16a8ee32fb28f8c4c1ec85a8bbb5e6"> 1306</a></span>&#160;  <span class="keyword">struct </span><a class="code" href="structmschmd__sec__mscompressed.html">mschmd_sec_mscompressed</a> <a class="code" href="structmschmd__header.html#ace16a8ee32fb28f8c4c1ec85a8bbb5e6">sec1</a>;</div>
<div class="line"><a name="l01307"></a><span class="lineno"> 1307</span>&#160;</div>
<div class="line"><a name="l01309"></a><span class="lineno"><a class="line" href="structmschmd__header.html#a01db28807e9a802d2bb876a44a9dd588"> 1309</a></span>&#160;  off_t <a class="code" href="structmschmd__header.html#a01db28807e9a802d2bb876a44a9dd588">dir_offset</a>;</div>
<div class="line"><a name="l01310"></a><span class="lineno"> 1310</span>&#160;</div>
<div class="line"><a name="l01312"></a><span class="lineno"><a class="line" href="structmschmd__header.html#ae68d7261646d8ab18f1191a47d4f5161"> 1312</a></span>&#160;  <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="structmschmd__header.html#ae68d7261646d8ab18f1191a47d4f5161">num_chunks</a>;</div>
<div class="line"><a name="l01313"></a><span class="lineno"> 1313</span>&#160;</div>
<div class="line"><a name="l01315"></a><span class="lineno"><a class="line" href="structmschmd__header.html#ad1322c4778bd1690b2a20766c01e5024"> 1315</a></span>&#160;  <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="structmschmd__header.html#ad1322c4778bd1690b2a20766c01e5024">chunk_size</a>;</div>
<div class="line"><a name="l01316"></a><span class="lineno"> 1316</span>&#160;</div>
<div class="line"><a name="l01318"></a><span class="lineno"><a class="line" href="structmschmd__header.html#aec85ac3ed9362995fb8aaf98dc515f03"> 1318</a></span>&#160;  <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="structmschmd__header.html#aec85ac3ed9362995fb8aaf98dc515f03">density</a>;</div>
<div class="line"><a name="l01319"></a><span class="lineno"> 1319</span>&#160;</div>
<div class="line"><a name="l01328"></a><span class="lineno"><a class="line" href="structmschmd__header.html#a40832bde453ea8dc77a07d51c81813d3"> 1328</a></span>&#160;  <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="structmschmd__header.html#a40832bde453ea8dc77a07d51c81813d3">depth</a>;</div>
<div class="line"><a name="l01329"></a><span class="lineno"> 1329</span>&#160;</div>
<div class="line"><a name="l01335"></a><span class="lineno"><a class="line" href="structmschmd__header.html#ab53047ee0b1be25b3329d69396f68e9f"> 1335</a></span>&#160;  <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="structmschmd__header.html#ab53047ee0b1be25b3329d69396f68e9f">index_root</a>;</div>
<div class="line"><a name="l01336"></a><span class="lineno"> 1336</span>&#160;</div>
<div class="line"><a name="l01341"></a><span class="lineno"><a class="line" href="structmschmd__header.html#ab3ce14be6b72650d65644c74d9d430d8"> 1341</a></span>&#160;  <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="structmschmd__header.html#ab3ce14be6b72650d65644c74d9d430d8">first_pmgl</a>;</div>
<div class="line"><a name="l01342"></a><span class="lineno"> 1342</span>&#160;</div>
<div class="line"><a name="l01347"></a><span class="lineno"><a class="line" href="structmschmd__header.html#a4931f8fa07c04da9a2fbf30c7e59cbda"> 1347</a></span>&#160;  <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="structmschmd__header.html#a4931f8fa07c04da9a2fbf30c7e59cbda">last_pmgl</a>;</div>
<div class="line"><a name="l01348"></a><span class="lineno"> 1348</span>&#160;</div>
<div class="line"><a name="l01353"></a><span class="lineno"><a class="line" href="structmschmd__header.html#a59ebd608e30b578dd5bb4cd9ceaf9bcb"> 1353</a></span>&#160;  <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> **<a class="code" href="structmschmd__header.html#a59ebd608e30b578dd5bb4cd9ceaf9bcb">chunk_cache</a>;</div>
<div class="line"><a name="l01354"></a><span class="lineno"> 1354</span>&#160;};</div>
<div class="line"><a name="l01355"></a><span class="lineno"> 1355</span>&#160;</div>
<div class="line"><a name="l01361"></a><span class="lineno"><a class="line" href="structmschmd__file.html"> 1361</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structmschmd__file.html">mschmd_file</a> {</div>
<div class="line"><a name="l01366"></a><span class="lineno"><a class="line" href="structmschmd__file.html#aacdeb0d33c01266beb36e0b48af09055"> 1366</a></span>&#160;  <span class="keyword">struct </span><a class="code" href="structmschmd__file.html">mschmd_file</a> *<a class="code" href="structmschmd__file.html#aacdeb0d33c01266beb36e0b48af09055">next</a>;</div>
<div class="line"><a name="l01367"></a><span class="lineno"> 1367</span>&#160;</div>
<div class="line"><a name="l01372"></a><span class="lineno"><a class="line" href="structmschmd__file.html#ab8c413e3759fae57732a09e7060c1225"> 1372</a></span>&#160;  <span class="keyword">struct </span><a class="code" href="structmschmd__section.html">mschmd_section</a> *<a class="code" href="structmschmd__file.html#ab8c413e3759fae57732a09e7060c1225">section</a>;</div>
<div class="line"><a name="l01373"></a><span class="lineno"> 1373</span>&#160;</div>
<div class="line"><a name="l01375"></a><span class="lineno"><a class="line" href="structmschmd__file.html#ad085b530903f47a4d908d04ce0a37499"> 1375</a></span>&#160;  off_t <a class="code" href="structmschmd__file.html#ad085b530903f47a4d908d04ce0a37499">offset</a>;</div>
<div class="line"><a name="l01376"></a><span class="lineno"> 1376</span>&#160;</div>
<div class="line"><a name="l01378"></a><span class="lineno"><a class="line" href="structmschmd__file.html#a95fd0339c2cca86fe152924ac1777521"> 1378</a></span>&#160;  off_t <a class="code" href="structmschmd__file.html#a95fd0339c2cca86fe152924ac1777521">length</a>;</div>
<div class="line"><a name="l01379"></a><span class="lineno"> 1379</span>&#160;</div>
<div class="line"><a name="l01381"></a><span class="lineno"><a class="line" href="structmschmd__file.html#a80b7f519909795b2cfe0cc7baf6d4e30"> 1381</a></span>&#160;  <span class="keywordtype">char</span> *<a class="code" href="structmschmd__file.html#a80b7f519909795b2cfe0cc7baf6d4e30">filename</a>;</div>
<div class="line"><a name="l01382"></a><span class="lineno"> 1382</span>&#160;};</div>
<div class="line"><a name="l01383"></a><span class="lineno"> 1383</span>&#160;</div>
<div class="line"><a name="l01385"></a><span class="lineno"><a class="line" href="mspack_8h.html#a80f996d3fbc7800630b9542d5e4620ec"> 1385</a></span>&#160;<span class="preprocessor">#define MSCHMC_ENDLIST   (0)</span></div>
<div class="line"><a name="l01386"></a><span class="lineno"> 1386</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l01387"></a><span class="lineno"><a class="line" href="mspack_8h.html#aa015256b5218d8a85f9be15dac719fa9"> 1387</a></span>&#160;<span class="preprocessor">#define MSCHMC_UNCOMP    (1)</span></div>
<div class="line"><a name="l01388"></a><span class="lineno"> 1388</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l01389"></a><span class="lineno"><a class="line" href="mspack_8h.html#aa7b2bc5521ce3004703fd808662017be"> 1389</a></span>&#160;<span class="preprocessor">#define MSCHMC_MSCOMP    (2)</span></div>
<div class="line"><a name="l01390"></a><span class="lineno"> 1390</span>&#160;<span class="preprocessor"></span> </div>
<div class="line"><a name="l01392"></a><span class="lineno"><a class="line" href="mspack_8h.html#aa33210e31d2272c1c015849281bc8028"> 1392</a></span>&#160;<span class="preprocessor">#define MSCHMC_PARAM_TIMESTAMP  (0)</span></div>
<div class="line"><a name="l01393"></a><span class="lineno"> 1393</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l01394"></a><span class="lineno"><a class="line" href="mspack_8h.html#a0ad26bd80adf64598352066814153335"> 1394</a></span>&#160;<span class="preprocessor">#define MSCHMC_PARAM_LANGUAGE   (1)</span></div>
<div class="line"><a name="l01395"></a><span class="lineno"> 1395</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l01396"></a><span class="lineno"><a class="line" href="mspack_8h.html#a0ee4a588079a3f6bf65b63ce388c9a45"> 1396</a></span>&#160;<span class="preprocessor">#define MSCHMC_PARAM_LZXWINDOW  (2)</span></div>
<div class="line"><a name="l01397"></a><span class="lineno"> 1397</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l01398"></a><span class="lineno"><a class="line" href="mspack_8h.html#ad17047eb4450c7476d29d47fb5f1ce35"> 1398</a></span>&#160;<span class="preprocessor">#define MSCHMC_PARAM_DENSITY    (3)</span></div>
<div class="line"><a name="l01399"></a><span class="lineno"> 1399</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l01400"></a><span class="lineno"><a class="line" href="mspack_8h.html#ac6c61f24c4d9ad2a5a9bcdbb8057723a"> 1400</a></span>&#160;<span class="preprocessor">#define MSCHMC_PARAM_INDEX      (4)</span></div>
<div class="line"><a name="l01401"></a><span class="lineno"> 1401</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l01409"></a><span class="lineno"><a class="line" href="structmschm__compressor.html"> 1409</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structmschm__compressor.html">mschm_compressor</a> {</div>
<div class="line"><a name="l01441"></a><span class="lineno"><a class="line" href="structmschm__compressor.html#a1d2f3746c1573c1bc174bf6caca77312"> 1441</a></span>&#160;  int (*<a class="code" href="structmschm__compressor.html#a1d2f3746c1573c1bc174bf6caca77312">generate</a>)(<span class="keyword">struct </span><a class="code" href="structmschm__compressor.html">mschm_compressor</a> *<span class="keyword">self</span>,</div>
<div class="line"><a name="l01442"></a><span class="lineno"> 1442</span>&#160;          <span class="keyword">struct </span><a class="code" href="structmschmc__file.html">mschmc_file</a> file_list[],</div>
<div class="line"><a name="l01443"></a><span class="lineno"> 1443</span>&#160;          const char *output_file);</div>
<div class="line"><a name="l01444"></a><span class="lineno"> 1444</span>&#160;</div>
<div class="line"><a name="l01498"></a><span class="lineno"><a class="line" href="structmschm__compressor.html#a8ba1f823ef2a1ed388cd9bf34d007141"> 1498</a></span>&#160;  int (*<a class="code" href="structmschm__compressor.html#a8ba1f823ef2a1ed388cd9bf34d007141">use_temporary_file</a>)(<span class="keyword">struct </span><a class="code" href="structmschm__compressor.html">mschm_compressor</a> *<span class="keyword">self</span>,</div>
<div class="line"><a name="l01499"></a><span class="lineno"> 1499</span>&#160;                <span class="keywordtype">int</span> use_temp_file,</div>
<div class="line"><a name="l01500"></a><span class="lineno"> 1500</span>&#160;                <span class="keyword">const</span> <span class="keywordtype">char</span> *temp_file);</div>
<div class="line"><a name="l01546"></a><span class="lineno"><a class="line" href="structmschm__compressor.html#abb48d706306afc67607493b850838b49"> 1546</a></span>&#160;  int (*<a class="code" href="structmschm__compressor.html#abb48d706306afc67607493b850838b49">set_param</a>)(<span class="keyword">struct </span><a class="code" href="structmschm__compressor.html">mschm_compressor</a> *<span class="keyword">self</span>,</div>
<div class="line"><a name="l01547"></a><span class="lineno"> 1547</span>&#160;           <span class="keywordtype">int</span> param,</div>
<div class="line"><a name="l01548"></a><span class="lineno"> 1548</span>&#160;           <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> value);</div>
<div class="line"><a name="l01549"></a><span class="lineno"> 1549</span>&#160;</div>
<div class="line"><a name="l01558"></a><span class="lineno"><a class="line" href="structmschm__compressor.html#a88c6c1ab6787f04cf70eb53bb8195cfb"> 1558</a></span>&#160;  int (*<a class="code" href="structmschm__compressor.html#a88c6c1ab6787f04cf70eb53bb8195cfb">last_error</a>)(<span class="keyword">struct </span><a class="code" href="structmschm__compressor.html">mschm_compressor</a> *<span class="keyword">self</span>);</div>
<div class="line"><a name="l01559"></a><span class="lineno"> 1559</span>&#160;};</div>
<div class="line"><a name="l01560"></a><span class="lineno"> 1560</span>&#160;</div>
<div class="line"><a name="l01568"></a><span class="lineno"><a class="line" href="structmschm__decompressor.html"> 1568</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structmschm__decompressor.html">mschm_decompressor</a> {</div>
<div class="line"><a name="l01589"></a><span class="lineno"><a class="line" href="structmschm__decompressor.html#ab42830f8ef4b434654e50a283852f0a1"> 1589</a></span>&#160;  <span class="keyword">struct </span><a class="code" href="structmschmd__header.html">mschmd_header</a> *(*open)(<span class="keyword">struct </span><a class="code" href="structmschm__decompressor.html">mschm_decompressor</a> *<span class="keyword">self</span>,</div>
<div class="line"><a name="l01590"></a><span class="lineno"> 1590</span>&#160;                <span class="keyword">const</span> <span class="keywordtype">char</span> *filename);</div>
<div class="line"><a name="l01591"></a><span class="lineno"> 1591</span>&#160;</div>
<div class="line"><a name="l01609"></a><span class="lineno"><a class="line" href="structmschm__decompressor.html#a21c15034a3ae43acf6c817728fa566f1"> 1609</a></span>&#160;  void (*<a class="code" href="structmschm__decompressor.html#a21c15034a3ae43acf6c817728fa566f1">close</a>)(<span class="keyword">struct </span><a class="code" href="structmschm__decompressor.html">mschm_decompressor</a> *<span class="keyword">self</span>,</div>
<div class="line"><a name="l01610"></a><span class="lineno"> 1610</span>&#160;        <span class="keyword">struct </span><a class="code" href="structmschmd__header.html">mschmd_header</a> *chm);</div>
<div class="line"><a name="l01611"></a><span class="lineno"> 1611</span>&#160;</div>
<div class="line"><a name="l01630"></a><span class="lineno"><a class="line" href="structmschm__decompressor.html#aaeb393cbab926a072719f14c0fbe29d6"> 1630</a></span>&#160;  int (*<a class="code" href="structmschm__decompressor.html#aaeb393cbab926a072719f14c0fbe29d6">extract</a>)(<span class="keyword">struct </span><a class="code" href="structmschm__decompressor.html">mschm_decompressor</a> *<span class="keyword">self</span>,</div>
<div class="line"><a name="l01631"></a><span class="lineno"> 1631</span>&#160;         <span class="keyword">struct </span><a class="code" href="structmschmd__file.html">mschmd_file</a> *file,</div>
<div class="line"><a name="l01632"></a><span class="lineno"> 1632</span>&#160;         <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="structmschmd__file.html#a80b7f519909795b2cfe0cc7baf6d4e30">filename</a>);</div>
<div class="line"><a name="l01633"></a><span class="lineno"> 1633</span>&#160;</div>
<div class="line"><a name="l01645"></a><span class="lineno"><a class="line" href="structmschm__decompressor.html#adc4595f636c976e7c2713f09963e9147"> 1645</a></span>&#160;  int (*<a class="code" href="structmschm__decompressor.html#adc4595f636c976e7c2713f09963e9147">last_error</a>)(<span class="keyword">struct </span><a class="code" href="structmschm__decompressor.html">mschm_decompressor</a> *<span class="keyword">self</span>);</div>
<div class="line"><a name="l01646"></a><span class="lineno"> 1646</span>&#160;</div>
<div class="line"><a name="l01669"></a><span class="lineno"><a class="line" href="structmschm__decompressor.html#a2efa8bb3ce3908506595500e9e3087a7"> 1669</a></span>&#160;  <span class="keyword">struct </span><a class="code" href="structmschmd__header.html">mschmd_header</a> *(*fast_open)(<span class="keyword">struct </span><a class="code" href="structmschm__decompressor.html">mschm_decompressor</a> *<span class="keyword">self</span>,</div>
<div class="line"><a name="l01670"></a><span class="lineno"> 1670</span>&#160;                     <span class="keyword">const</span> <span class="keywordtype">char</span> *filename);</div>
<div class="line"><a name="l01671"></a><span class="lineno"> 1671</span>&#160;</div>
<div class="line"><a name="l01710"></a><span class="lineno"><a class="line" href="structmschm__decompressor.html#abeeb6197f7f9ba92f226dc2dc07ed85e"> 1710</a></span>&#160;  int (*<a class="code" href="structmschm__decompressor.html#abeeb6197f7f9ba92f226dc2dc07ed85e">fast_find</a>)(<span class="keyword">struct </span><a class="code" href="structmschm__decompressor.html">mschm_decompressor</a> *<span class="keyword">self</span>,</div>
<div class="line"><a name="l01711"></a><span class="lineno"> 1711</span>&#160;           <span class="keyword">struct </span><a class="code" href="structmschmd__header.html">mschmd_header</a> *chm,</div>
<div class="line"><a name="l01712"></a><span class="lineno"> 1712</span>&#160;           <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="structmschmd__header.html#a278de93cf1e7de82ab32189ce190dd46">filename</a>,</div>
<div class="line"><a name="l01713"></a><span class="lineno"> 1713</span>&#160;           <span class="keyword">struct </span><a class="code" href="structmschmd__file.html">mschmd_file</a> *f_ptr,</div>
<div class="line"><a name="l01714"></a><span class="lineno"> 1714</span>&#160;           <span class="keywordtype">int</span> f_size);</div>
<div class="line"><a name="l01715"></a><span class="lineno"> 1715</span>&#160;};</div>
<div class="line"><a name="l01716"></a><span class="lineno"> 1716</span>&#160;</div>
<div class="line"><a name="l01717"></a><span class="lineno"> 1717</span>&#160;<span class="comment">/* --- support for .LIT (EBook) file format -------------------------------- */</span></div>
<div class="line"><a name="l01718"></a><span class="lineno"> 1718</span>&#160;</div>
<div class="line"><a name="l01720"></a><span class="lineno"><a class="line" href="structmslit__compressor.html"> 1720</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structmslit__compressor.html">mslit_compressor</a> {</div>
<div class="line"><a name="l01721"></a><span class="lineno"><a class="line" href="structmslit__compressor.html#a04223946071ea2bc11b0ae297d54c787"> 1721</a></span>&#160;  <span class="keywordtype">int</span> <a class="code" href="structmslit__compressor.html#a04223946071ea2bc11b0ae297d54c787">dummy</a>; </div>
<div class="line"><a name="l01722"></a><span class="lineno"> 1722</span>&#160;};</div>
<div class="line"><a name="l01723"></a><span class="lineno"> 1723</span>&#160;</div>
<div class="line"><a name="l01725"></a><span class="lineno"><a class="line" href="structmslit__decompressor.html"> 1725</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structmslit__decompressor.html">mslit_decompressor</a> {</div>
<div class="line"><a name="l01726"></a><span class="lineno"><a class="line" href="structmslit__decompressor.html#af8297f10d4276bf794a290261ad9f0fe"> 1726</a></span>&#160;  <span class="keywordtype">int</span> <a class="code" href="structmslit__decompressor.html#af8297f10d4276bf794a290261ad9f0fe">dummy</a>; </div>
<div class="line"><a name="l01727"></a><span class="lineno"> 1727</span>&#160;};</div>
<div class="line"><a name="l01728"></a><span class="lineno"> 1728</span>&#160;</div>
<div class="line"><a name="l01729"></a><span class="lineno"> 1729</span>&#160;</div>
<div class="line"><a name="l01730"></a><span class="lineno"> 1730</span>&#160;<span class="comment">/* --- support for .HLP (MS Help) file format ------------------------------ */</span></div>
<div class="line"><a name="l01731"></a><span class="lineno"> 1731</span>&#160;</div>
<div class="line"><a name="l01733"></a><span class="lineno"><a class="line" href="structmshlp__compressor.html"> 1733</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structmshlp__compressor.html">mshlp_compressor</a> {</div>
<div class="line"><a name="l01734"></a><span class="lineno"><a class="line" href="structmshlp__compressor.html#a74080b8a522b2b793df2bd0cbaedb144"> 1734</a></span>&#160;  <span class="keywordtype">int</span> <a class="code" href="structmshlp__compressor.html#a74080b8a522b2b793df2bd0cbaedb144">dummy</a>; </div>
<div class="line"><a name="l01735"></a><span class="lineno"> 1735</span>&#160;};</div>
<div class="line"><a name="l01736"></a><span class="lineno"> 1736</span>&#160;</div>
<div class="line"><a name="l01738"></a><span class="lineno"><a class="line" href="structmshlp__decompressor.html"> 1738</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structmshlp__decompressor.html">mshlp_decompressor</a> {</div>
<div class="line"><a name="l01739"></a><span class="lineno"><a class="line" href="structmshlp__decompressor.html#a13b976323edd534de4e3d9dda435893d"> 1739</a></span>&#160;  <span class="keywordtype">int</span> <a class="code" href="structmshlp__decompressor.html#a13b976323edd534de4e3d9dda435893d">dummy</a>; </div>
<div class="line"><a name="l01740"></a><span class="lineno"> 1740</span>&#160;};</div>
<div class="line"><a name="l01741"></a><span class="lineno"> 1741</span>&#160;</div>
<div class="line"><a name="l01742"></a><span class="lineno"> 1742</span>&#160;</div>
<div class="line"><a name="l01743"></a><span class="lineno"> 1743</span>&#160;<span class="comment">/* --- support for SZDD file format ---------------------------------------- */</span></div>
<div class="line"><a name="l01744"></a><span class="lineno"> 1744</span>&#160;</div>
<div class="line"><a name="l01746"></a><span class="lineno"><a class="line" href="mspack_8h.html#aadada238862d04556488c0da24517a30"> 1746</a></span>&#160;<span class="preprocessor">#define MSSZDDC_PARAM_MISSINGCHAR (0)</span></div>
<div class="line"><a name="l01747"></a><span class="lineno"> 1747</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l01749"></a><span class="lineno"><a class="line" href="mspack_8h.html#a100f40cf4f4acfeb5e5226c099ed8bcc"> 1749</a></span>&#160;<span class="preprocessor">#define MSSZDD_FMT_NORMAL (0)</span></div>
<div class="line"><a name="l01750"></a><span class="lineno"> 1750</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l01752"></a><span class="lineno"><a class="line" href="mspack_8h.html#ac39767cd5bb89a70cc3a43c392f7c410"> 1752</a></span>&#160;<span class="preprocessor">#define MSSZDD_FMT_QBASIC (1)</span></div>
<div class="line"><a name="l01753"></a><span class="lineno"> 1753</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l01759"></a><span class="lineno"><a class="line" href="structmsszddd__header.html"> 1759</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structmsszddd__header.html">msszddd_header</a> {</div>
<div class="line"><a name="l01761"></a><span class="lineno"><a class="line" href="structmsszddd__header.html#a8cef0aad40e715b84d1a2206e16634a0"> 1761</a></span>&#160;  <span class="keywordtype">int</span> <a class="code" href="structmsszddd__header.html#a8cef0aad40e715b84d1a2206e16634a0">format</a>;</div>
<div class="line"><a name="l01762"></a><span class="lineno"> 1762</span>&#160;</div>
<div class="line"><a name="l01764"></a><span class="lineno"><a class="line" href="structmsszddd__header.html#a294653b0ad896a0fa736457dbe455341"> 1764</a></span>&#160;  off_t <a class="code" href="structmsszddd__header.html#a294653b0ad896a0fa736457dbe455341">length</a>;</div>
<div class="line"><a name="l01765"></a><span class="lineno"> 1765</span>&#160;</div>
<div class="line"><a name="l01773"></a><span class="lineno"><a class="line" href="structmsszddd__header.html#a9f06c9f3b46051a677cd7ce6c67ee53d"> 1773</a></span>&#160;  <span class="keywordtype">char</span> <a class="code" href="structmsszddd__header.html#a9f06c9f3b46051a677cd7ce6c67ee53d">missing_char</a>;</div>
<div class="line"><a name="l01774"></a><span class="lineno"> 1774</span>&#160;};</div>
<div class="line"><a name="l01775"></a><span class="lineno"> 1775</span>&#160;</div>
<div class="line"><a name="l01783"></a><span class="lineno"><a class="line" href="structmsszdd__compressor.html"> 1783</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structmsszdd__compressor.html">msszdd_compressor</a> {</div>
<div class="line"><a name="l01819"></a><span class="lineno"><a class="line" href="structmsszdd__compressor.html#af3dbd82a982d79c80ad624760cb6b2fb"> 1819</a></span>&#160;  int (*<a class="code" href="structmsszdd__compressor.html#af3dbd82a982d79c80ad624760cb6b2fb">compress</a>)(<span class="keyword">struct </span><a class="code" href="structmsszdd__compressor.html">msszdd_compressor</a> *<span class="keyword">self</span>,</div>
<div class="line"><a name="l01820"></a><span class="lineno"> 1820</span>&#160;          <span class="keyword">const</span> <span class="keywordtype">char</span> *input,</div>
<div class="line"><a name="l01821"></a><span class="lineno"> 1821</span>&#160;          <span class="keyword">const</span> <span class="keywordtype">char</span> *output,</div>
<div class="line"><a name="l01822"></a><span class="lineno"> 1822</span>&#160;          off_t length);</div>
<div class="line"><a name="l01823"></a><span class="lineno"> 1823</span>&#160;</div>
<div class="line"><a name="l01845"></a><span class="lineno"><a class="line" href="structmsszdd__compressor.html#af76f143c2131bcccf0f3d10ea8968742"> 1845</a></span>&#160;  int (*<a class="code" href="structmsszdd__compressor.html#af76f143c2131bcccf0f3d10ea8968742">set_param</a>)(<span class="keyword">struct </span><a class="code" href="structmsszdd__compressor.html">msszdd_compressor</a> *<span class="keyword">self</span>,</div>
<div class="line"><a name="l01846"></a><span class="lineno"> 1846</span>&#160;           <span class="keywordtype">int</span> param,</div>
<div class="line"><a name="l01847"></a><span class="lineno"> 1847</span>&#160;           <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> value);</div>
<div class="line"><a name="l01848"></a><span class="lineno"> 1848</span>&#160;</div>
<div class="line"><a name="l01857"></a><span class="lineno"><a class="line" href="structmsszdd__compressor.html#a4917ae85330b8a827564b69d533b7de7"> 1857</a></span>&#160;  int (*<a class="code" href="structmsszdd__compressor.html#a4917ae85330b8a827564b69d533b7de7">last_error</a>)(<span class="keyword">struct </span><a class="code" href="structmschm__decompressor.html">mschm_decompressor</a> *<span class="keyword">self</span>);</div>
<div class="line"><a name="l01858"></a><span class="lineno"> 1858</span>&#160;};</div>
<div class="line"><a name="l01859"></a><span class="lineno"> 1859</span>&#160;</div>
<div class="line"><a name="l01867"></a><span class="lineno"><a class="line" href="structmsszdd__decompressor.html"> 1867</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structmsszdd__decompressor.html">msszdd_decompressor</a> {</div>
<div class="line"><a name="l01887"></a><span class="lineno"><a class="line" href="structmsszdd__decompressor.html#afb164f3bff4752cc93c9cec90ffb42bc"> 1887</a></span>&#160;  <span class="keyword">struct </span><a class="code" href="structmsszddd__header.html">msszddd_header</a> *(*open)(<span class="keyword">struct </span><a class="code" href="structmsszdd__decompressor.html">msszdd_decompressor</a> *<span class="keyword">self</span>,</div>
<div class="line"><a name="l01888"></a><span class="lineno"> 1888</span>&#160;                 <span class="keyword">const</span> <span class="keywordtype">char</span> *filename);</div>
<div class="line"><a name="l01889"></a><span class="lineno"> 1889</span>&#160;</div>
<div class="line"><a name="l01903"></a><span class="lineno"><a class="line" href="structmsszdd__decompressor.html#a9a2c9aa3d5f85b4ea247130ddabbd490"> 1903</a></span>&#160;  void (*<a class="code" href="structmsszdd__decompressor.html#a9a2c9aa3d5f85b4ea247130ddabbd490">close</a>)(<span class="keyword">struct </span><a class="code" href="structmsszdd__decompressor.html">msszdd_decompressor</a> *<span class="keyword">self</span>,</div>
<div class="line"><a name="l01904"></a><span class="lineno"> 1904</span>&#160;        <span class="keyword">struct </span><a class="code" href="structmsszddd__header.html">msszddd_header</a> *szdd);</div>
<div class="line"><a name="l01905"></a><span class="lineno"> 1905</span>&#160;</div>
<div class="line"><a name="l01919"></a><span class="lineno"><a class="line" href="structmsszdd__decompressor.html#a161502b1f6e58ef0692186fdf0223c3d"> 1919</a></span>&#160;  int (*<a class="code" href="structmsszdd__decompressor.html#a161502b1f6e58ef0692186fdf0223c3d">extract</a>)(<span class="keyword">struct </span><a class="code" href="structmsszdd__decompressor.html">msszdd_decompressor</a> *<span class="keyword">self</span>,</div>
<div class="line"><a name="l01920"></a><span class="lineno"> 1920</span>&#160;         <span class="keyword">struct </span><a class="code" href="structmsszddd__header.html">msszddd_header</a> *szdd,</div>
<div class="line"><a name="l01921"></a><span class="lineno"> 1921</span>&#160;         <span class="keyword">const</span> <span class="keywordtype">char</span> *filename);</div>
<div class="line"><a name="l01922"></a><span class="lineno"> 1922</span>&#160;</div>
<div class="line"><a name="l01940"></a><span class="lineno"><a class="line" href="structmsszdd__decompressor.html#a1821c0005fd14f206688359c3be237f1"> 1940</a></span>&#160;  int (*<a class="code" href="structmsszdd__decompressor.html#a1821c0005fd14f206688359c3be237f1">decompress</a>)(<span class="keyword">struct </span><a class="code" href="structmsszdd__decompressor.html">msszdd_decompressor</a> *<span class="keyword">self</span>,</div>
<div class="line"><a name="l01941"></a><span class="lineno"> 1941</span>&#160;            <span class="keyword">const</span> <span class="keywordtype">char</span> *input,</div>
<div class="line"><a name="l01942"></a><span class="lineno"> 1942</span>&#160;            <span class="keyword">const</span> <span class="keywordtype">char</span> *output);</div>
<div class="line"><a name="l01943"></a><span class="lineno"> 1943</span>&#160;</div>
<div class="line"><a name="l01955"></a><span class="lineno"><a class="line" href="structmsszdd__decompressor.html#a24b2cbdf6ad4745987e2162dffeaeaa7"> 1955</a></span>&#160;  int (*<a class="code" href="structmsszdd__decompressor.html#a24b2cbdf6ad4745987e2162dffeaeaa7">last_error</a>)(<span class="keyword">struct </span><a class="code" href="structmsszdd__decompressor.html">msszdd_decompressor</a> *<span class="keyword">self</span>);</div>
<div class="line"><a name="l01956"></a><span class="lineno"> 1956</span>&#160;};</div>
<div class="line"><a name="l01957"></a><span class="lineno"> 1957</span>&#160;</div>
<div class="line"><a name="l01958"></a><span class="lineno"> 1958</span>&#160;<span class="comment">/* --- support for KWAJ file format ---------------------------------------- */</span></div>
<div class="line"><a name="l01959"></a><span class="lineno"> 1959</span>&#160;</div>
<div class="line"><a name="l01961"></a><span class="lineno"><a class="line" href="mspack_8h.html#a9075a9264cc87f05e1d27e39982fe722"> 1961</a></span>&#160;<span class="preprocessor">#define MSKWAJC_PARAM_COMP_TYPE  (0)</span></div>
<div class="line"><a name="l01962"></a><span class="lineno"> 1962</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l01966"></a><span class="lineno"><a class="line" href="mspack_8h.html#aa5b7b5364e70f3c3c134a6a7ec5847c7"> 1966</a></span>&#160;<span class="preprocessor">#define MSKWAJC_PARAM_INCLUDE_LENGTH (1)</span></div>
<div class="line"><a name="l01967"></a><span class="lineno"> 1967</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l01969"></a><span class="lineno"><a class="line" href="mspack_8h.html#a7a422bbe045d6c4d2137432ccaa87287"> 1969</a></span>&#160;<span class="preprocessor">#define MSKWAJ_COMP_NONE (0)</span></div>
<div class="line"><a name="l01970"></a><span class="lineno"> 1970</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l01971"></a><span class="lineno"><a class="line" href="mspack_8h.html#a1921fcc0b096f13ee40eb78328f8e1c9"> 1971</a></span>&#160;<span class="preprocessor">#define MSKWAJ_COMP_XOR (1)</span></div>
<div class="line"><a name="l01972"></a><span class="lineno"> 1972</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l01973"></a><span class="lineno"><a class="line" href="mspack_8h.html#a10b39d2b4edb12e70d92ede3b2290cf7"> 1973</a></span>&#160;<span class="preprocessor">#define MSKWAJ_COMP_SZDD (2)</span></div>
<div class="line"><a name="l01974"></a><span class="lineno"> 1974</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l01975"></a><span class="lineno"><a class="line" href="mspack_8h.html#af61a7a99713aab5cbb64bc0d58189e02"> 1975</a></span>&#160;<span class="preprocessor">#define MSKWAJ_COMP_LZH (3)</span></div>
<div class="line"><a name="l01976"></a><span class="lineno"> 1976</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l01977"></a><span class="lineno"><a class="line" href="mspack_8h.html#ad0652e954399690b969625397969e0b1"> 1977</a></span>&#160;<span class="preprocessor">#define MSKWAJ_COMP_MSZIP (4)</span></div>
<div class="line"><a name="l01978"></a><span class="lineno"> 1978</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l01980"></a><span class="lineno"><a class="line" href="mspack_8h.html#a208332840889024ba383d4e9f79ac5e0"> 1980</a></span>&#160;<span class="preprocessor">#define MSKWAJ_HDR_HASLENGTH (0x01)</span></div>
<div class="line"><a name="l01981"></a><span class="lineno"> 1981</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l01983"></a><span class="lineno"><a class="line" href="mspack_8h.html#a0cdbfc4dc7b50c221dbecb3fb30ca09a"> 1983</a></span>&#160;<span class="preprocessor">#define MSKWAJ_HDR_HASUNKNOWN1 (0x02)</span></div>
<div class="line"><a name="l01984"></a><span class="lineno"> 1984</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l01986"></a><span class="lineno"><a class="line" href="mspack_8h.html#abefc89852b5f2f1621696caeac1d502a"> 1986</a></span>&#160;<span class="preprocessor">#define MSKWAJ_HDR_HASUNKNOWN2 (0x04)</span></div>
<div class="line"><a name="l01987"></a><span class="lineno"> 1987</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l01989"></a><span class="lineno"><a class="line" href="mspack_8h.html#a4e00bc8b9c084c0d10fbdbdc20a0d581"> 1989</a></span>&#160;<span class="preprocessor">#define MSKWAJ_HDR_HASFILENAME (0x08)</span></div>
<div class="line"><a name="l01990"></a><span class="lineno"> 1990</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l01992"></a><span class="lineno"><a class="line" href="mspack_8h.html#a96fcc79aa6be1e00c8384d4b12802dc6"> 1992</a></span>&#160;<span class="preprocessor">#define MSKWAJ_HDR_HASFILEEXT (0x10)</span></div>
<div class="line"><a name="l01993"></a><span class="lineno"> 1993</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l01995"></a><span class="lineno"><a class="line" href="mspack_8h.html#ab7c5d1a390217716b2e780afdfc5837a"> 1995</a></span>&#160;<span class="preprocessor">#define MSKWAJ_HDR_HASEXTRATEXT (0x20)</span></div>
<div class="line"><a name="l01996"></a><span class="lineno"> 1996</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l02002"></a><span class="lineno"><a class="line" href="structmskwajd__header.html"> 2002</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structmskwajd__header.html">mskwajd_header</a> {</div>
<div class="line"><a name="l02006"></a><span class="lineno"><a class="line" href="structmskwajd__header.html#a3e715be39a9022552f730948d13085ab"> 2006</a></span>&#160;  <span class="keywordtype">unsigned</span> <span class="keywordtype">short</span> <a class="code" href="structmskwajd__header.html#a3e715be39a9022552f730948d13085ab">comp_type</a>;</div>
<div class="line"><a name="l02007"></a><span class="lineno"> 2007</span>&#160;</div>
<div class="line"><a name="l02009"></a><span class="lineno"><a class="line" href="structmskwajd__header.html#ace36762bb483edb0f8365b6463708d72"> 2009</a></span>&#160;  off_t <a class="code" href="structmskwajd__header.html#ace36762bb483edb0f8365b6463708d72">data_offset</a>;</div>
<div class="line"><a name="l02010"></a><span class="lineno"> 2010</span>&#160;</div>
<div class="line"><a name="l02012"></a><span class="lineno"><a class="line" href="structmskwajd__header.html#a62b3852fcc90781f98a1017b32679fab"> 2012</a></span>&#160;  <span class="keywordtype">int</span> <a class="code" href="structmskwajd__header.html#a62b3852fcc90781f98a1017b32679fab">headers</a>;</div>
<div class="line"><a name="l02013"></a><span class="lineno"> 2013</span>&#160;</div>
<div class="line"><a name="l02015"></a><span class="lineno"><a class="line" href="structmskwajd__header.html#afac7807b7f2ae032cd765ec7b875fef1"> 2015</a></span>&#160;  off_t <a class="code" href="structmskwajd__header.html#afac7807b7f2ae032cd765ec7b875fef1">length</a>;</div>
<div class="line"><a name="l02016"></a><span class="lineno"> 2016</span>&#160;</div>
<div class="line"><a name="l02018"></a><span class="lineno"><a class="line" href="structmskwajd__header.html#a1f6bdf2cdb6bf2425327eb3c8a480564"> 2018</a></span>&#160;  <span class="keywordtype">char</span> *<a class="code" href="structmskwajd__header.html#a1f6bdf2cdb6bf2425327eb3c8a480564">filename</a>;</div>
<div class="line"><a name="l02019"></a><span class="lineno"> 2019</span>&#160;</div>
<div class="line"><a name="l02023"></a><span class="lineno"><a class="line" href="structmskwajd__header.html#a67205e9e87199ec6ce1e1d6569cd077c"> 2023</a></span>&#160;  <span class="keywordtype">char</span> *<a class="code" href="structmskwajd__header.html#a67205e9e87199ec6ce1e1d6569cd077c">extra</a>;</div>
<div class="line"><a name="l02024"></a><span class="lineno"> 2024</span>&#160;</div>
<div class="line"><a name="l02026"></a><span class="lineno"><a class="line" href="structmskwajd__header.html#a150dd01507ddef57a4d77c5f4f9914fa"> 2026</a></span>&#160;  <span class="keywordtype">unsigned</span> <span class="keywordtype">short</span> <a class="code" href="structmskwajd__header.html#a150dd01507ddef57a4d77c5f4f9914fa">extra_length</a>;</div>
<div class="line"><a name="l02027"></a><span class="lineno"> 2027</span>&#160;};</div>
<div class="line"><a name="l02028"></a><span class="lineno"> 2028</span>&#160;</div>
<div class="line"><a name="l02036"></a><span class="lineno"><a class="line" href="structmskwaj__compressor.html"> 2036</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structmskwaj__compressor.html">mskwaj_compressor</a> {</div>
<div class="line"><a name="l02055"></a><span class="lineno"><a class="line" href="structmskwaj__compressor.html#a6ca91769afc7b31e01613eb3a2acf437"> 2055</a></span>&#160;  int (*<a class="code" href="structmskwaj__compressor.html#a6ca91769afc7b31e01613eb3a2acf437">compress</a>)(<span class="keyword">struct </span><a class="code" href="structmskwaj__compressor.html">mskwaj_compressor</a> *<span class="keyword">self</span>,</div>
<div class="line"><a name="l02056"></a><span class="lineno"> 2056</span>&#160;          <span class="keyword">const</span> <span class="keywordtype">char</span> *input,</div>
<div class="line"><a name="l02057"></a><span class="lineno"> 2057</span>&#160;          <span class="keyword">const</span> <span class="keywordtype">char</span> *output,</div>
<div class="line"><a name="l02058"></a><span class="lineno"> 2058</span>&#160;          off_t length);</div>
<div class="line"><a name="l02059"></a><span class="lineno"> 2059</span>&#160;</div>
<div class="line"><a name="l02083"></a><span class="lineno"><a class="line" href="structmskwaj__compressor.html#a12c3d6e1e18d14cd880f336e5897d5a8"> 2083</a></span>&#160;  int (*<a class="code" href="structmskwaj__compressor.html#a12c3d6e1e18d14cd880f336e5897d5a8">set_param</a>)(<span class="keyword">struct </span><a class="code" href="structmskwaj__compressor.html">mskwaj_compressor</a> *<span class="keyword">self</span>,</div>
<div class="line"><a name="l02084"></a><span class="lineno"> 2084</span>&#160;           <span class="keywordtype">int</span> param,</div>
<div class="line"><a name="l02085"></a><span class="lineno"> 2085</span>&#160;           <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> value);</div>
<div class="line"><a name="l02086"></a><span class="lineno"> 2086</span>&#160;</div>
<div class="line"><a name="l02087"></a><span class="lineno"> 2087</span>&#160;</div>
<div class="line"><a name="l02105"></a><span class="lineno"><a class="line" href="structmskwaj__compressor.html#a48afe3babb35fb8c1a0a32c309be6dc7"> 2105</a></span>&#160;  int (*<a class="code" href="structmskwaj__compressor.html#a48afe3babb35fb8c1a0a32c309be6dc7">set_filename</a>)(<span class="keyword">struct </span><a class="code" href="structmskwaj__compressor.html">mskwaj_compressor</a> *<span class="keyword">self</span>,</div>
<div class="line"><a name="l02106"></a><span class="lineno"> 2106</span>&#160;              <span class="keyword">const</span> <span class="keywordtype">char</span> *filename);</div>
<div class="line"><a name="l02107"></a><span class="lineno"> 2107</span>&#160;</div>
<div class="line"><a name="l02125"></a><span class="lineno"><a class="line" href="structmskwaj__compressor.html#a955181e65ccab556da4eee4854b90867"> 2125</a></span>&#160;  int (*<a class="code" href="structmskwaj__compressor.html#a955181e65ccab556da4eee4854b90867">set_extra_data</a>)(<span class="keyword">struct </span><a class="code" href="structmskwaj__compressor.html">mskwaj_compressor</a> *<span class="keyword">self</span>,</div>
<div class="line"><a name="l02126"></a><span class="lineno"> 2126</span>&#160;            <span class="keywordtype">void</span> *data,</div>
<div class="line"><a name="l02127"></a><span class="lineno"> 2127</span>&#160;            <span class="keywordtype">size_t</span> bytes);</div>
<div class="line"><a name="l02128"></a><span class="lineno"> 2128</span>&#160;</div>
<div class="line"><a name="l02137"></a><span class="lineno"><a class="line" href="structmskwaj__compressor.html#acbe5ab5920c60d8468a6de6e8efa33a5"> 2137</a></span>&#160;  int (*<a class="code" href="structmskwaj__compressor.html#acbe5ab5920c60d8468a6de6e8efa33a5">last_error</a>)(<span class="keyword">struct </span><a class="code" href="structmschm__decompressor.html">mschm_decompressor</a> *<span class="keyword">self</span>);</div>
<div class="line"><a name="l02138"></a><span class="lineno"> 2138</span>&#160;};</div>
<div class="line"><a name="l02139"></a><span class="lineno"> 2139</span>&#160;</div>
<div class="line"><a name="l02147"></a><span class="lineno"><a class="line" href="structmskwaj__decompressor.html"> 2147</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structmskwaj__decompressor.html">mskwaj_decompressor</a> {</div>
<div class="line"><a name="l02167"></a><span class="lineno"><a class="line" href="structmskwaj__decompressor.html#a7a1c7435c5cd60634616bca31789c4b1"> 2167</a></span>&#160;  <span class="keyword">struct </span><a class="code" href="structmskwajd__header.html">mskwajd_header</a> *(*open)(<span class="keyword">struct </span><a class="code" href="structmskwaj__decompressor.html">mskwaj_decompressor</a> *<span class="keyword">self</span>,</div>
<div class="line"><a name="l02168"></a><span class="lineno"> 2168</span>&#160;                 <span class="keyword">const</span> <span class="keywordtype">char</span> *filename);</div>
<div class="line"><a name="l02169"></a><span class="lineno"> 2169</span>&#160;</div>
<div class="line"><a name="l02182"></a><span class="lineno"><a class="line" href="structmskwaj__decompressor.html#af99b9edd149e0766eea46a86adaac757"> 2182</a></span>&#160;  void (*<a class="code" href="structmskwaj__decompressor.html#af99b9edd149e0766eea46a86adaac757">close</a>)(<span class="keyword">struct </span><a class="code" href="structmskwaj__decompressor.html">mskwaj_decompressor</a> *<span class="keyword">self</span>,</div>
<div class="line"><a name="l02183"></a><span class="lineno"> 2183</span>&#160;        <span class="keyword">struct </span><a class="code" href="structmskwajd__header.html">mskwajd_header</a> *kwaj);</div>
<div class="line"><a name="l02184"></a><span class="lineno"> 2184</span>&#160;</div>
<div class="line"><a name="l02198"></a><span class="lineno"><a class="line" href="structmskwaj__decompressor.html#a98574bcd492d59c345a7d692886d03cd"> 2198</a></span>&#160;  int (*<a class="code" href="structmskwaj__decompressor.html#a98574bcd492d59c345a7d692886d03cd">extract</a>)(<span class="keyword">struct </span><a class="code" href="structmskwaj__decompressor.html">mskwaj_decompressor</a> *<span class="keyword">self</span>,</div>
<div class="line"><a name="l02199"></a><span class="lineno"> 2199</span>&#160;         <span class="keyword">struct </span><a class="code" href="structmskwajd__header.html">mskwajd_header</a> *kwaj,</div>
<div class="line"><a name="l02200"></a><span class="lineno"> 2200</span>&#160;         <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="structmskwajd__header.html#a1f6bdf2cdb6bf2425327eb3c8a480564">filename</a>);</div>
<div class="line"><a name="l02201"></a><span class="lineno"> 2201</span>&#160;</div>
<div class="line"><a name="l02219"></a><span class="lineno"><a class="line" href="structmskwaj__decompressor.html#af5556f7bd315b6faae4aace57df8fc24"> 2219</a></span>&#160;  int (*<a class="code" href="structmskwaj__decompressor.html#af5556f7bd315b6faae4aace57df8fc24">decompress</a>)(<span class="keyword">struct </span><a class="code" href="structmskwaj__decompressor.html">mskwaj_decompressor</a> *<span class="keyword">self</span>,</div>
<div class="line"><a name="l02220"></a><span class="lineno"> 2220</span>&#160;            <span class="keyword">const</span> <span class="keywordtype">char</span> *input,</div>
<div class="line"><a name="l02221"></a><span class="lineno"> 2221</span>&#160;            <span class="keyword">const</span> <span class="keywordtype">char</span> *output);</div>
<div class="line"><a name="l02222"></a><span class="lineno"> 2222</span>&#160;</div>
<div class="line"><a name="l02234"></a><span class="lineno"><a class="line" href="structmskwaj__decompressor.html#af41a584bead88063925b262c729ab8e6"> 2234</a></span>&#160;  int (*<a class="code" href="structmskwaj__decompressor.html#af41a584bead88063925b262c729ab8e6">last_error</a>)(<span class="keyword">struct </span><a class="code" href="structmskwaj__decompressor.html">mskwaj_decompressor</a> *<span class="keyword">self</span>);</div>
<div class="line"><a name="l02235"></a><span class="lineno"> 2235</span>&#160;};</div>
<div class="line"><a name="l02236"></a><span class="lineno"> 2236</span>&#160;</div>
<div class="line"><a name="l02237"></a><span class="lineno"> 2237</span>&#160;<span class="comment">/* --- support for .LZX (Offline Address Book) file format ----------------- */</span></div>
<div class="line"><a name="l02238"></a><span class="lineno"> 2238</span>&#160;</div>
<div class="line"><a name="l02246"></a><span class="lineno"><a class="line" href="structmsoab__compressor.html"> 2246</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structmsoab__compressor.html">msoab_compressor</a> {</div>
<div class="line"><a name="l02261"></a><span class="lineno"><a class="line" href="structmsoab__compressor.html#a4c4c3674a44bfe90d87de13267c9a202"> 2261</a></span>&#160;  int (*<a class="code" href="structmsoab__compressor.html#a4c4c3674a44bfe90d87de13267c9a202">compress</a>) (<span class="keyword">struct </span><a class="code" href="structmsoab__compressor.html">msoab_compressor</a> *<span class="keyword">self</span>,</div>
<div class="line"><a name="l02262"></a><span class="lineno"> 2262</span>&#160;           <span class="keyword">const</span> <span class="keywordtype">char</span> *input,</div>
<div class="line"><a name="l02263"></a><span class="lineno"> 2263</span>&#160;           <span class="keyword">const</span> <span class="keywordtype">char</span> *output);</div>
<div class="line"><a name="l02264"></a><span class="lineno"> 2264</span>&#160;</div>
<div class="line"><a name="l02285"></a><span class="lineno"><a class="line" href="structmsoab__compressor.html#a5230e9ccaa5f1063fbf43e747a5cb541"> 2285</a></span>&#160;  int (*<a class="code" href="structmsoab__compressor.html#a5230e9ccaa5f1063fbf43e747a5cb541">compress_incremental</a>) (<span class="keyword">struct </span><a class="code" href="structmsoab__compressor.html">msoab_compressor</a> *<span class="keyword">self</span>,</div>
<div class="line"><a name="l02286"></a><span class="lineno"> 2286</span>&#160;                   <span class="keyword">const</span> <span class="keywordtype">char</span> *input,</div>
<div class="line"><a name="l02287"></a><span class="lineno"> 2287</span>&#160;                   <span class="keyword">const</span> <span class="keywordtype">char</span> *base,</div>
<div class="line"><a name="l02288"></a><span class="lineno"> 2288</span>&#160;                   <span class="keyword">const</span> <span class="keywordtype">char</span> *output);</div>
<div class="line"><a name="l02289"></a><span class="lineno"> 2289</span>&#160;};</div>
<div class="line"><a name="l02290"></a><span class="lineno"> 2290</span>&#160;</div>
<div class="line"><a name="l02298"></a><span class="lineno"><a class="line" href="structmsoab__decompressor.html"> 2298</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structmsoab__decompressor.html">msoab_decompressor</a> {</div>
<div class="line"><a name="l02314"></a><span class="lineno"><a class="line" href="structmsoab__decompressor.html#a2327a3a796b01ac46c376c8f0efbe3d1"> 2314</a></span>&#160;  int (*<a class="code" href="structmsoab__decompressor.html#a2327a3a796b01ac46c376c8f0efbe3d1">decompress</a>) (<span class="keyword">struct </span><a class="code" href="structmsoab__decompressor.html">msoab_decompressor</a> *<span class="keyword">self</span>,</div>
<div class="line"><a name="l02315"></a><span class="lineno"> 2315</span>&#160;             <span class="keyword">const</span> <span class="keywordtype">char</span> *input,</div>
<div class="line"><a name="l02316"></a><span class="lineno"> 2316</span>&#160;             <span class="keyword">const</span> <span class="keywordtype">char</span> *output);</div>
<div class="line"><a name="l02317"></a><span class="lineno"> 2317</span>&#160;</div>
<div class="line"><a name="l02343"></a><span class="lineno"><a class="line" href="structmsoab__decompressor.html#a112a2578bc025e1526f271a0963ad414"> 2343</a></span>&#160;  int (*<a class="code" href="structmsoab__decompressor.html#a112a2578bc025e1526f271a0963ad414">decompress_incremental</a>) (<span class="keyword">struct </span><a class="code" href="structmsoab__decompressor.html">msoab_decompressor</a> *<span class="keyword">self</span>,</div>
<div class="line"><a name="l02344"></a><span class="lineno"> 2344</span>&#160;                 <span class="keyword">const</span> <span class="keywordtype">char</span> *input,</div>
<div class="line"><a name="l02345"></a><span class="lineno"> 2345</span>&#160;                 <span class="keyword">const</span> <span class="keywordtype">char</span> *base,</div>
<div class="line"><a name="l02346"></a><span class="lineno"> 2346</span>&#160;                 <span class="keyword">const</span> <span class="keywordtype">char</span> *output);</div>
<div class="line"><a name="l02347"></a><span class="lineno"> 2347</span>&#160;};</div>
<div class="line"><a name="l02348"></a><span class="lineno"> 2348</span>&#160;</div>
<div class="line"><a name="l02349"></a><span class="lineno"> 2349</span>&#160;<span class="preprocessor">#ifdef __cplusplus</span></div>
<div class="line"><a name="l02350"></a><span class="lineno"> 2350</span>&#160;<span class="preprocessor"></span>}</div>
<div class="line"><a name="l02351"></a><span class="lineno"> 2351</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l02352"></a><span class="lineno"> 2352</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l02353"></a><span class="lineno"> 2353</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="ttc" id="structmsszdd__decompressor_html"><div class="ttname"><a href="structmsszdd__decompressor.html">msszdd_decompressor</a></div><div class="ttdoc">A decompressor for SZDD compressed files. </div><div class="ttdef"><b>Definition:</b> mspack.h:1867</div></div>
<div class="ttc" id="structmscabd__file_html_ab71150ec878f202f8e4d8fab763c21e8"><div class="ttname"><a href="structmscabd__file.html#ab71150ec878f202f8e4d8fab763c21e8">mscabd_file::offset</a></div><div class="ttdeci">unsigned int offset</div><div class="ttdoc">The uncompressed offset of this file in its folder. </div><div class="ttdef"><b>Definition:</b> mspack.h:913</div></div>
<div class="ttc" id="structmsoab__compressor_html_a5230e9ccaa5f1063fbf43e747a5cb541"><div class="ttname"><a href="structmsoab__compressor.html#a5230e9ccaa5f1063fbf43e747a5cb541">msoab_compressor::compress_incremental</a></div><div class="ttdeci">int(* compress_incremental)(struct msoab_compressor *self, const char *input, const char *base, const char *output)</div><div class="ttdoc">Generate a compressed incremental OAB patch file. </div><div class="ttdef"><b>Definition:</b> mspack.h:2285</div></div>
<div class="ttc" id="mspack_8h_html_a211700fd8b678d0d529f1cd40ce99e01"><div class="ttname"><a href="mspack_8h.html#a211700fd8b678d0d529f1cd40ce99e01">mspack_create_oab_decompressor</a></div><div class="ttdeci">struct msoab_decompressor * mspack_create_oab_decompressor(struct mspack_system *sys)</div><div class="ttdoc">Creates a new OAB decompressor. </div></div>
<div class="ttc" id="structmskwaj__compressor_html"><div class="ttname"><a href="structmskwaj__compressor.html">mskwaj_compressor</a></div><div class="ttdoc">A compressor for the KWAJ file format. </div><div class="ttdef"><b>Definition:</b> mspack.h:2036</div></div>
<div class="ttc" id="mspack_8h_html_a00c23794eac4dab60057cc5b84c2a7ea"><div class="ttname"><a href="mspack_8h.html#a00c23794eac4dab60057cc5b84c2a7ea">mspack_create_szdd_compressor</a></div><div class="ttdeci">struct msszdd_compressor * mspack_create_szdd_compressor(struct mspack_system *sys)</div><div class="ttdoc">Creates a new SZDD compressor. </div></div>
<div class="ttc" id="structmsszdd__decompressor_html_a1821c0005fd14f206688359c3be237f1"><div class="ttname"><a href="structmsszdd__decompressor.html#a1821c0005fd14f206688359c3be237f1">msszdd_decompressor::decompress</a></div><div class="ttdeci">int(* decompress)(struct msszdd_decompressor *self, const char *input, const char *output)</div><div class="ttdoc">Decompresses an SZDD file to an output file in one step. </div><div class="ttdef"><b>Definition:</b> mspack.h:1940</div></div>
<div class="ttc" id="mspack_8h_html_aba0e2b76f4998e914cc96db475e8b598"><div class="ttname"><a href="mspack_8h.html#aba0e2b76f4998e914cc96db475e8b598">mspack_destroy_lit_compressor</a></div><div class="ttdeci">void mspack_destroy_lit_compressor(struct mslit_compressor *self)</div><div class="ttdoc">Destroys an existing LIT compressor. </div></div>
<div class="ttc" id="structmschm__decompressor_html_adc4595f636c976e7c2713f09963e9147"><div class="ttname"><a href="structmschm__decompressor.html#adc4595f636c976e7c2713f09963e9147">mschm_decompressor::last_error</a></div><div class="ttdeci">int(* last_error)(struct mschm_decompressor *self)</div><div class="ttdoc">Returns the error code set by the most recently called method. </div><div class="ttdef"><b>Definition:</b> mspack.h:1645</div></div>
<div class="ttc" id="structmspack__system_html_a86ceffde52284d3a57d5d555d7484a03"><div class="ttname"><a href="structmspack__system.html#a86ceffde52284d3a57d5d555d7484a03">mspack_system::seek</a></div><div class="ttdeci">int(* seek)(struct mspack_file *file, off_t offset, int mode)</div><div class="ttdoc">Seeks to a specific file offset within an open file. </div><div class="ttdef"><b>Definition:</b> mspack.h:378</div></div>
<div class="ttc" id="structmscab__decompressor_html_a8224719c30138a5f6322048859b8ca52"><div class="ttname"><a href="structmscab__decompressor.html#a8224719c30138a5f6322048859b8ca52">mscab_decompressor::extract</a></div><div class="ttdeci">int(* extract)(struct mscab_decompressor *self, struct mscabd_file *file, const char *filename)</div><div class="ttdoc">Extracts a file from a cabinet or cabinet set. </div><div class="ttdef"><b>Definition:</b> mspack.h:1129</div></div>
<div class="ttc" id="mspack_8h_html_aa11b092e00e6d4862d134a05b97b9c09"><div class="ttname"><a href="mspack_8h.html#aa11b092e00e6d4862d134a05b97b9c09">mspack_create_cab_compressor</a></div><div class="ttdeci">struct mscab_compressor * mspack_create_cab_compressor(struct mspack_system *sys)</div><div class="ttdoc">Creates a new CAB compressor. </div></div>
<div class="ttc" id="structmscabd__file_html_a181b45655523f55ed114b51249d305f8"><div class="ttname"><a href="structmscabd__file.html#a181b45655523f55ed114b51249d305f8">mscabd_file::filename</a></div><div class="ttdeci">char * filename</div><div class="ttdoc">The filename of the file. </div><div class="ttdef"><b>Definition:</b> mspack.h:876</div></div>
<div class="ttc" id="structmskwaj__decompressor_html_af99b9edd149e0766eea46a86adaac757"><div class="ttname"><a href="structmskwaj__decompressor.html#af99b9edd149e0766eea46a86adaac757">mskwaj_decompressor::close</a></div><div class="ttdeci">void(* close)(struct mskwaj_decompressor *self, struct mskwajd_header *kwaj)</div><div class="ttdoc">Closes a previously opened KWAJ file. </div><div class="ttdef"><b>Definition:</b> mspack.h:2182</div></div>
<div class="ttc" id="mspack_8h_html_a5829a2023927ad4dc8bd452f3b294851"><div class="ttname"><a href="mspack_8h.html#a5829a2023927ad4dc8bd452f3b294851">mspack_create_chm_decompressor</a></div><div class="ttdeci">struct mschm_decompressor * mspack_create_chm_decompressor(struct mspack_system *sys)</div><div class="ttdoc">Creates a new CHM decompressor. </div></div>
<div class="ttc" id="structmspack__system_html_a266561cea2dcf8ad60a42c2ac88536c2"><div class="ttname"><a href="structmspack__system.html#a266561cea2dcf8ad60a42c2ac88536c2">mspack_system::close</a></div><div class="ttdeci">void(* close)(struct mspack_file *file)</div><div class="ttdoc">Closes a previously opened file. </div><div class="ttdef"><b>Definition:</b> mspack.h:321</div></div>
<div class="ttc" id="structmschmd__file_html_ad085b530903f47a4d908d04ce0a37499"><div class="ttname"><a href="structmschmd__file.html#ad085b530903f47a4d908d04ce0a37499">mschmd_file::offset</a></div><div class="ttdeci">off_t offset</div><div class="ttdoc">The offset within the section data that this file is located at. </div><div class="ttdef"><b>Definition:</b> mspack.h:1375</div></div>
<div class="ttc" id="mspack_8h_html_a5d7d5d89c674847821bb7f270be828c8"><div class="ttname"><a href="mspack_8h.html#a5d7d5d89c674847821bb7f270be828c8">mspack_destroy_hlp_compressor</a></div><div class="ttdeci">void mspack_destroy_hlp_compressor(struct mshlp_compressor *self)</div><div class="ttdoc">Destroys an existing hlp compressor. </div></div>
<div class="ttc" id="structmsszddd__header_html_a9f06c9f3b46051a677cd7ce6c67ee53d"><div class="ttname"><a href="structmsszddd__header.html#a9f06c9f3b46051a677cd7ce6c67ee53d">msszddd_header::missing_char</a></div><div class="ttdeci">char missing_char</div><div class="ttdoc">The last character in the filename, traditionally replaced with an underscore to show the file is com...</div><div class="ttdef"><b>Definition:</b> mspack.h:1773</div></div>
<div class="ttc" id="structmschmd__header_html_abc4bb0ece1933982ebc18263cbc18166"><div class="ttname"><a href="structmschmd__header.html#abc4bb0ece1933982ebc18263cbc18166">mschmd_header::language</a></div><div class="ttdeci">unsigned int language</div><div class="ttdoc">The default Language and Country ID (LCID) of the user who ran the HTMLHelp Compiler. </div><div class="ttdef"><b>Definition:</b> mspack.h:1280</div></div>
<div class="ttc" id="structmschmc__file_html"><div class="ttname"><a href="structmschmc__file.html">mschmc_file</a></div><div class="ttdoc">A structure which represents a file to be placed in a CHM helpfile. </div><div class="ttdef"><b>Definition:</b> mspack.h:1183</div></div>
<div class="ttc" id="structmspack__file_html_af92caf003ca38fb1ed1eb03761f9a2dc"><div class="ttname"><a href="structmspack__file.html#af92caf003ca38fb1ed1eb03761f9a2dc">mspack_file::dummy</a></div><div class="ttdeci">int dummy</div><div class="ttdef"><b>Definition:</b> mspack.h:477</div></div>
<div class="ttc" id="structmsoab__compressor_html_a4c4c3674a44bfe90d87de13267c9a202"><div class="ttname"><a href="structmsoab__compressor.html#a4c4c3674a44bfe90d87de13267c9a202">msoab_compressor::compress</a></div><div class="ttdeci">int(* compress)(struct msoab_compressor *self, const char *input, const char *output)</div><div class="ttdoc">Compress a full OAB file. </div><div class="ttdef"><b>Definition:</b> mspack.h:2261</div></div>
<div class="ttc" id="mspack_8h_html_a81ec853a5fcfad25acdfab6bee1cd3cc"><div class="ttname"><a href="mspack_8h.html#a81ec853a5fcfad25acdfab6bee1cd3cc">mspack_create_szdd_decompressor</a></div><div class="ttdeci">struct msszdd_decompressor * mspack_create_szdd_decompressor(struct mspack_system *sys)</div><div class="ttdoc">Creates a new SZDD decompressor. </div></div>
<div class="ttc" id="structmskwaj__compressor_html_a6ca91769afc7b31e01613eb3a2acf437"><div class="ttname"><a href="structmskwaj__compressor.html#a6ca91769afc7b31e01613eb3a2acf437">mskwaj_compressor::compress</a></div><div class="ttdeci">int(* compress)(struct mskwaj_compressor *self, const char *input, const char *output, off_t length)</div><div class="ttdoc">Reads an input file and creates a compressed output file in the KWAJ compressed file format...</div><div class="ttdef"><b>Definition:</b> mspack.h:2055</div></div>
<div class="ttc" id="structmsoab__decompressor_html_a112a2578bc025e1526f271a0963ad414"><div class="ttname"><a href="structmsoab__decompressor.html#a112a2578bc025e1526f271a0963ad414">msoab_decompressor::decompress_incremental</a></div><div class="ttdeci">int(* decompress_incremental)(struct msoab_decompressor *self, const char *input, const char *base, const char *output)</div><div class="ttdoc">Decompresses an Offline Address Book with an incremental patch file. </div><div class="ttdef"><b>Definition:</b> mspack.h:2343</div></div>
<div class="ttc" id="structmscabd__cabinet_html_a1ec19746e85dd1ede4a6568db68ae044"><div class="ttname"><a href="structmscabd__cabinet.html#a1ec19746e85dd1ede4a6568db68ae044">mscabd_cabinet::set_id</a></div><div class="ttdeci">unsigned short set_id</div><div class="ttdoc">The set ID of the cabinet. </div><div class="ttdef"><b>Definition:</b> mspack.h:750</div></div>
<div class="ttc" id="structmschmd__sec__mscompressed_html"><div class="ttname"><a href="structmschmd__sec__mscompressed.html">mschmd_sec_mscompressed</a></div><div class="ttdoc">A structure which represents the LZX compressed section of a CHM helpfile. </div><div class="ttdef"><b>Definition:</b> mspack.h:1239</div></div>
<div class="ttc" id="structmschm__compressor_html_a88c6c1ab6787f04cf70eb53bb8195cfb"><div class="ttname"><a href="structmschm__compressor.html#a88c6c1ab6787f04cf70eb53bb8195cfb">mschm_compressor::last_error</a></div><div class="ttdeci">int(* last_error)(struct mschm_compressor *self)</div><div class="ttdoc">Returns the error code set by the most recently called method. </div><div class="ttdef"><b>Definition:</b> mspack.h:1558</div></div>
<div class="ttc" id="structmscabd__file_html_aa7a6b5c44ad11982018afdb571608ffe"><div class="ttname"><a href="structmscabd__file.html#aa7a6b5c44ad11982018afdb571608ffe">mscabd_file::date_d</a></div><div class="ttdeci">char date_d</div><div class="ttdoc">File&#39;s last modified date, day field. </div><div class="ttdef"><b>Definition:</b> mspack.h:903</div></div>
<div class="ttc" id="mspack_8h_html_a9587b6c3bf2907d496a0c438c7904463"><div class="ttname"><a href="mspack_8h.html#a9587b6c3bf2907d496a0c438c7904463">mspack_create_hlp_compressor</a></div><div class="ttdeci">struct mshlp_compressor * mspack_create_hlp_compressor(struct mspack_system *sys)</div><div class="ttdoc">Creates a new HLP compressor. </div></div>
<div class="ttc" id="structmscabd__folder_html_aede069b566ca8ae21998da02e81ec6f5"><div class="ttname"><a href="structmscabd__folder.html#aede069b566ca8ae21998da02e81ec6f5">mscabd_folder::comp_type</a></div><div class="ttdeci">int comp_type</div><div class="ttdoc">The compression format used by this folder. </div><div class="ttdef"><b>Definition:</b> mspack.h:820</div></div>
<div class="ttc" id="mspack_8h_html_abeb6430c01e352502c8c5d4f285a2d97"><div class="ttname"><a href="mspack_8h.html#abeb6430c01e352502c8c5d4f285a2d97">mspack_create_kwaj_decompressor</a></div><div class="ttdeci">struct mskwaj_decompressor * mspack_create_kwaj_decompressor(struct mspack_system *sys)</div><div class="ttdoc">Creates a new KWAJ decompressor. </div></div>
<div class="ttc" id="structmschm__decompressor_html_a21c15034a3ae43acf6c817728fa566f1"><div class="ttname"><a href="structmschm__decompressor.html#a21c15034a3ae43acf6c817728fa566f1">mschm_decompressor::close</a></div><div class="ttdeci">void(* close)(struct mschm_decompressor *self, struct mschmd_header *chm)</div><div class="ttdoc">Closes a previously opened CHM helpfile. </div><div class="ttdef"><b>Definition:</b> mspack.h:1609</div></div>
<div class="ttc" id="mspack_8h_html_a4053f06c244cab5e880241ecd0a8a64f"><div class="ttname"><a href="mspack_8h.html#a4053f06c244cab5e880241ecd0a8a64f">mspack_destroy_szdd_compressor</a></div><div class="ttdeci">void mspack_destroy_szdd_compressor(struct msszdd_compressor *self)</div><div class="ttdoc">Destroys an existing SZDD compressor. </div></div>
<div class="ttc" id="structmspack__system_html_a612c93482eb01d2b97321015716ea24a"><div class="ttname"><a href="structmspack__system.html#a612c93482eb01d2b97321015716ea24a">mspack_system::message</a></div><div class="ttdeci">void(* message)(struct mspack_file *file, const char *format,...)</div><div class="ttdoc">Used to send messages from the library to the user. </div><div class="ttdef"><b>Definition:</b> mspack.h:405</div></div>
<div class="ttc" id="structmscabd__cabinet_html_ae541d57dba76b07e1badb4ad4a6f68bc"><div class="ttname"><a href="structmscabd__cabinet.html#ae541d57dba76b07e1badb4ad4a6f68bc">mscabd_cabinet::nextinfo</a></div><div class="ttdeci">char * nextinfo</div><div class="ttdoc">The name of the disk containing the next cabinet in a cabinet set, or NULL. </div><div class="ttdef"><b>Definition:</b> mspack.h:738</div></div>
<div class="ttc" id="mspack_8h_html_a1e2dbd38bdcc255d63c43bbad2f7786f"><div class="ttname"><a href="mspack_8h.html#a1e2dbd38bdcc255d63c43bbad2f7786f">mspack_destroy_hlp_decompressor</a></div><div class="ttdeci">void mspack_destroy_hlp_decompressor(struct mshlp_decompressor *self)</div><div class="ttdoc">Destroys an existing hlp decompressor. </div></div>
<div class="ttc" id="structmscab__decompressor_html_a8cd61b0d08747508291a9e1e6c753ec7"><div class="ttname"><a href="structmscab__decompressor.html#a8cd61b0d08747508291a9e1e6c753ec7">mscab_decompressor::prepend</a></div><div class="ttdeci">int(* prepend)(struct mscab_decompressor *self, struct mscabd_cabinet *cab, struct mscabd_cabinet *prevcab)</div><div class="ttdoc">Prepends one mscabd_cabinet to another, forming or extending a cabinet set. </div><div class="ttdef"><b>Definition:</b> mspack.h:1103</div></div>
<div class="ttc" id="structmschm__decompressor_html_abeeb6197f7f9ba92f226dc2dc07ed85e"><div class="ttname"><a href="structmschm__decompressor.html#abeeb6197f7f9ba92f226dc2dc07ed85e">mschm_decompressor::fast_find</a></div><div class="ttdeci">int(* fast_find)(struct mschm_decompressor *self, struct mschmd_header *chm, const char *filename, struct mschmd_file *f_ptr, int f_size)</div><div class="ttdoc">Finds file details quickly. </div><div class="ttdef"><b>Definition:</b> mspack.h:1710</div></div>
<div class="ttc" id="structmscabd__file_html_a54846aab5d491cabedabe8ba11033ddb"><div class="ttname"><a href="structmscabd__file.html#a54846aab5d491cabedabe8ba11033ddb">mscabd_file::folder</a></div><div class="ttdeci">struct mscabd_folder * folder</div><div class="ttdoc">A pointer to the folder that contains this file. </div><div class="ttdef"><b>Definition:</b> mspack.h:910</div></div>
<div class="ttc" id="structmspack__system_html_aafe460b1ce55ce69be8c16948250f86c"><div class="ttname"><a href="structmspack__system.html#aafe460b1ce55ce69be8c16948250f86c">mspack_system::free</a></div><div class="ttdeci">void(* free)(void *ptr)</div><div class="ttdoc">Frees memory. </div><div class="ttdef"><b>Definition:</b> mspack.h:428</div></div>
<div class="ttc" id="structmschmd__sec__uncompressed_html_adc27f4dcbfa0d906da01020c71759d4b"><div class="ttname"><a href="structmschmd__sec__uncompressed.html#adc27f4dcbfa0d906da01020c71759d4b">mschmd_sec_uncompressed::base</a></div><div class="ttdeci">struct mschmd_section base</div><div class="ttdoc">Generic section data. </div><div class="ttdef"><b>Definition:</b> mspack.h:1228</div></div>
<div class="ttc" id="structmsszdd__compressor_html_a4917ae85330b8a827564b69d533b7de7"><div class="ttname"><a href="structmsszdd__compressor.html#a4917ae85330b8a827564b69d533b7de7">msszdd_compressor::last_error</a></div><div class="ttdeci">int(* last_error)(struct mschm_decompressor *self)</div><div class="ttdoc">Returns the error code set by the most recently called method. </div><div class="ttdef"><b>Definition:</b> mspack.h:1857</div></div>
<div class="ttc" id="structmscab__decompressor_html_a00eb7059f80ef8bed33f8bd410c9d665"><div class="ttname"><a href="structmscab__decompressor.html#a00eb7059f80ef8bed33f8bd410c9d665">mscab_decompressor::append</a></div><div class="ttdeci">int(* append)(struct mscab_decompressor *self, struct mscabd_cabinet *cab, struct mscabd_cabinet *nextcab)</div><div class="ttdoc">Appends one mscabd_cabinet to another, forming or extending a cabinet set. </div><div class="ttdef"><b>Definition:</b> mspack.h:1081</div></div>
<div class="ttc" id="structmschm__decompressor_html"><div class="ttname"><a href="structmschm__decompressor.html">mschm_decompressor</a></div><div class="ttdoc">A decompressor for .CHM (Microsoft HTMLHelp) files. </div><div class="ttdef"><b>Definition:</b> mspack.h:1568</div></div>
<div class="ttc" id="structmsszdd__compressor_html_af3dbd82a982d79c80ad624760cb6b2fb"><div class="ttname"><a href="structmsszdd__compressor.html#af3dbd82a982d79c80ad624760cb6b2fb">msszdd_compressor::compress</a></div><div class="ttdeci">int(* compress)(struct msszdd_compressor *self, const char *input, const char *output, off_t length)</div><div class="ttdoc">Reads an input file and creates a compressed output file in the SZDD compressed file format...</div><div class="ttdef"><b>Definition:</b> mspack.h:1819</div></div>
<div class="ttc" id="structmspack__system_html"><div class="ttname"><a href="structmspack__system.html">mspack_system</a></div><div class="ttdoc">A structure which abstracts file I/O and memory management. </div><div class="ttdef"><b>Definition:</b> mspack.h:285</div></div>
<div class="ttc" id="structmschmd__section_html"><div class="ttname"><a href="structmschmd__section.html">mschmd_section</a></div><div class="ttdoc">A structure which represents a section of a CHM helpfile. </div><div class="ttdef"><b>Definition:</b> mspack.h:1209</div></div>
<div class="ttc" id="structmshlp__decompressor_html"><div class="ttname"><a href="structmshlp__decompressor.html">mshlp_decompressor</a></div><div class="ttdoc">TODO. </div><div class="ttdef"><b>Definition:</b> mspack.h:1738</div></div>
<div class="ttc" id="mspack_8h_html_a799d00a8ea939a86f2ed4e5c0dadb00e"><div class="ttname"><a href="mspack_8h.html#a799d00a8ea939a86f2ed4e5c0dadb00e">mspack_sys_selftest_internal</a></div><div class="ttdeci">int mspack_sys_selftest_internal(int)</div><div class="ttdoc">Part of the MSPACK_SYS_SELFTEST() macro, must not be used directly. </div></div>
<div class="ttc" id="structmscab__decompressor_html_a52b374b473d3144407ae2ca0e704a6a5"><div class="ttname"><a href="structmscab__decompressor.html#a52b374b473d3144407ae2ca0e704a6a5">mscab_decompressor::last_error</a></div><div class="ttdeci">int(* last_error)(struct mscab_decompressor *self)</div><div class="ttdoc">Returns the error code set by the most recently called method. </div><div class="ttdef"><b>Definition:</b> mspack.h:1170</div></div>
<div class="ttc" id="structmschmd__section_html_af1291ed269c7387b416e9ade36875621"><div class="ttname"><a href="structmschmd__section.html#af1291ed269c7387b416e9ade36875621">mschmd_section::chm</a></div><div class="ttdeci">struct mschmd_header * chm</div><div class="ttdoc">A pointer to the CHM helpfile that contains this section. </div><div class="ttdef"><b>Definition:</b> mspack.h:1211</div></div>
<div class="ttc" id="structmschmd__file_html_a80b7f519909795b2cfe0cc7baf6d4e30"><div class="ttname"><a href="structmschmd__file.html#a80b7f519909795b2cfe0cc7baf6d4e30">mschmd_file::filename</a></div><div class="ttdeci">char * filename</div><div class="ttdoc">The filename of this file – a null terminated string in UTF-8. </div><div class="ttdef"><b>Definition:</b> mspack.h:1381</div></div>
<div class="ttc" id="structmslit__decompressor_html"><div class="ttname"><a href="structmslit__decompressor.html">mslit_decompressor</a></div><div class="ttdoc">TODO. </div><div class="ttdef"><b>Definition:</b> mspack.h:1725</div></div>
<div class="ttc" id="structmsoab__compressor_html"><div class="ttname"><a href="structmsoab__compressor.html">msoab_compressor</a></div><div class="ttdoc">A compressor for the Offline Address Book (OAB) format. </div><div class="ttdef"><b>Definition:</b> mspack.h:2246</div></div>
<div class="ttc" id="structmscabd__cabinet_html_a94d02cd4adb598945f544d77362d1658"><div class="ttname"><a href="structmscabd__cabinet.html#a94d02cd4adb598945f544d77362d1658">mscabd_cabinet::next</a></div><div class="ttdeci">struct mscabd_cabinet * next</div><div class="ttdoc">The next cabinet in a chained list, if this cabinet was opened with mscab_decompressor::search(). </div><div class="ttdef"><b>Definition:</b> mspack.h:703</div></div>
<div class="ttc" id="structmscabd__cabinet_html_a1f595a7655daa62ba709ecf40a0cb13c"><div class="ttname"><a href="structmscabd__cabinet.html#a1f595a7655daa62ba709ecf40a0cb13c">mscabd_cabinet::prevname</a></div><div class="ttdeci">char * prevname</div><div class="ttdoc">The filename of the previous cabinet in a cabinet set, or NULL. </div><div class="ttdef"><b>Definition:</b> mspack.h:725</div></div>
<div class="ttc" id="structmsszddd__header_html_a8cef0aad40e715b84d1a2206e16634a0"><div class="ttname"><a href="structmsszddd__header.html#a8cef0aad40e715b84d1a2206e16634a0">msszddd_header::format</a></div><div class="ttdeci">int format</div><div class="ttdoc">The file format; either MSSZDD_FMT_NORMAL or MSSZDD_FMT_QBASIC. </div><div class="ttdef"><b>Definition:</b> mspack.h:1761</div></div>
<div class="ttc" id="structmscabd__folder_html"><div class="ttname"><a href="structmscabd__folder.html">mscabd_folder</a></div><div class="ttdoc">A structure which represents a single folder in a cabinet or cabinet set. </div><div class="ttdef"><b>Definition:</b> mspack.h:804</div></div>
<div class="ttc" id="structmscabd__folder_html_a784995a5f0632aa994ef1a5c9a24502a"><div class="ttname"><a href="structmscabd__folder.html#a784995a5f0632aa994ef1a5c9a24502a">mscabd_folder::num_blocks</a></div><div class="ttdeci">unsigned int num_blocks</div><div class="ttdoc">The total number of data blocks used by this folder. </div><div class="ttdef"><b>Definition:</b> mspack.h:827</div></div>
<div class="ttc" id="structmschmd__header_html_ab53047ee0b1be25b3329d69396f68e9f"><div class="ttname"><a href="structmschmd__header.html#ab53047ee0b1be25b3329d69396f68e9f">mschmd_header::index_root</a></div><div class="ttdeci">unsigned int index_root</div><div class="ttdoc">The number of the root PMGI chunk. </div><div class="ttdef"><b>Definition:</b> mspack.h:1335</div></div>
<div class="ttc" id="structmsoab__decompressor_html"><div class="ttname"><a href="structmsoab__decompressor.html">msoab_decompressor</a></div><div class="ttdoc">A decompressor for .LZX (Offline Address Book) files. </div><div class="ttdef"><b>Definition:</b> mspack.h:2298</div></div>
<div class="ttc" id="structmscabd__file_html_a77eb02b23393f5463e9e445f87bbfa9d"><div class="ttname"><a href="structmscabd__file.html#a77eb02b23393f5463e9e445f87bbfa9d">mscabd_file::attribs</a></div><div class="ttdeci">int attribs</div><div class="ttdoc">File attributes. </div><div class="ttdef"><b>Definition:</b> mspack.h:893</div></div>
<div class="ttc" id="structmscab__compressor_html"><div class="ttname"><a href="structmscab__compressor.html">mscab_compressor</a></div><div class="ttdoc">TODO. </div><div class="ttdef"><b>Definition:</b> mspack.h:937</div></div>
<div class="ttc" id="structmskwajd__header_html"><div class="ttname"><a href="structmskwajd__header.html">mskwajd_header</a></div><div class="ttdoc">A structure which represents an KWAJ compressed file. </div><div class="ttdef"><b>Definition:</b> mspack.h:2002</div></div>
<div class="ttc" id="mspack_8h_html_a9478967ec3cf95b0a312272d6e78afbe"><div class="ttname"><a href="mspack_8h.html#a9478967ec3cf95b0a312272d6e78afbe">mspack_create_lit_compressor</a></div><div class="ttdeci">struct mslit_compressor * mspack_create_lit_compressor(struct mspack_system *sys)</div><div class="ttdoc">Creates a new LIT compressor. </div></div>
<div class="ttc" id="structmschm__decompressor_html_aaeb393cbab926a072719f14c0fbe29d6"><div class="ttname"><a href="structmschm__decompressor.html#aaeb393cbab926a072719f14c0fbe29d6">mschm_decompressor::extract</a></div><div class="ttdeci">int(* extract)(struct mschm_decompressor *self, struct mschmd_file *file, const char *filename)</div><div class="ttdoc">Extracts a file from a CHM helpfile. </div><div class="ttdef"><b>Definition:</b> mspack.h:1630</div></div>
<div class="ttc" id="structmschmd__sec__mscompressed_html_ab00872a655bd36de99d3c960458c3bc3"><div class="ttname"><a href="structmschmd__sec__mscompressed.html#ab00872a655bd36de99d3c960458c3bc3">mschmd_sec_mscompressed::rtable</a></div><div class="ttdeci">struct mschmd_file * rtable</div><div class="ttdoc">A pointer to the file which contains the LZX reset table. </div><div class="ttdef"><b>Definition:</b> mspack.h:1250</div></div>
<div class="ttc" id="structmscabd__cabinet_html_ad915066d3781892754b6cfd87b08d378"><div class="ttname"><a href="structmscabd__cabinet.html#ad915066d3781892754b6cfd87b08d378">mscabd_cabinet::prevcab</a></div><div class="ttdeci">struct mscabd_cabinet * prevcab</div><div class="ttdoc">The previous cabinet in a cabinet set, or NULL. </div><div class="ttdef"><b>Definition:</b> mspack.h:719</div></div>
<div class="ttc" id="structmschmd__sec__mscompressed_html_afd6f3b28b37e10704d8584d9b4c093f1"><div class="ttname"><a href="structmschmd__sec__mscompressed.html#afd6f3b28b37e10704d8584d9b4c093f1">mschmd_sec_mscompressed::spaninfo</a></div><div class="ttdeci">struct mschmd_file * spaninfo</div><div class="ttdoc">A pointer to the file which contains the LZX span information. </div><div class="ttdef"><b>Definition:</b> mspack.h:1255</div></div>
<div class="ttc" id="mspack_8h_html_a51fdfc5b9786dc914ec083510b11fe9f"><div class="ttname"><a href="mspack_8h.html#a51fdfc5b9786dc914ec083510b11fe9f">mspack_destroy_lit_decompressor</a></div><div class="ttdeci">void mspack_destroy_lit_decompressor(struct mslit_decompressor *self)</div><div class="ttdoc">Destroys an existing LIT decompressor. </div></div>
<div class="ttc" id="structmscabd__cabinet_html_ac5cbac5940c3ebe068201bda234a7428"><div class="ttname"><a href="structmscabd__cabinet.html#ac5cbac5940c3ebe068201bda234a7428">mscabd_cabinet::files</a></div><div class="ttdeci">struct mscabd_file * files</div><div class="ttdoc">A list of all files in the cabinet or cabinet set. </div><div class="ttdef"><b>Definition:</b> mspack.h:741</div></div>
<div class="ttc" id="structmschmd__sec__mscompressed_html_aab9eb91f43471abcdbcb075c8264a787"><div class="ttname"><a href="structmschmd__sec__mscompressed.html#aab9eb91f43471abcdbcb075c8264a787">mschmd_sec_mscompressed::content</a></div><div class="ttdeci">struct mschmd_file * content</div><div class="ttdoc">A pointer to the meta-file which represents all LZX compressed data. </div><div class="ttdef"><b>Definition:</b> mspack.h:1244</div></div>
<div class="ttc" id="structmschmd__header_html_aec45cc37c1baeb665336fc93265ca027"><div class="ttname"><a href="structmschmd__header.html#aec45cc37c1baeb665336fc93265ca027">mschmd_header::sec0</a></div><div class="ttdeci">struct mschmd_sec_uncompressed sec0</div><div class="ttdoc">The section 0 (uncompressed) data in this CHM helpfile. </div><div class="ttdef"><b>Definition:</b> mspack.h:1303</div></div>
<div class="ttc" id="structmschmd__header_html_ac38b56f77e2a44d998e57ba9301e39d5"><div class="ttname"><a href="structmschmd__header.html#ac38b56f77e2a44d998e57ba9301e39d5">mschmd_header::sysfiles</a></div><div class="ttdeci">struct mschmd_file * sysfiles</div><div class="ttdoc">A list of all system files in the CHM helpfile. </div><div class="ttdef"><b>Definition:</b> mspack.h:1300</div></div>
<div class="ttc" id="structmschm__compressor_html_a8ba1f823ef2a1ed388cd9bf34d007141"><div class="ttname"><a href="structmschm__compressor.html#a8ba1f823ef2a1ed388cd9bf34d007141">mschm_compressor::use_temporary_file</a></div><div class="ttdeci">int(* use_temporary_file)(struct mschm_compressor *self, int use_temp_file, const char *temp_file)</div><div class="ttdoc">Specifies whether a temporary file is used during CHM generation. </div><div class="ttdef"><b>Definition:</b> mspack.h:1498</div></div>
<div class="ttc" id="mspack_8h_html_aaf070981f5d3a3a6bb430070cc2b3e73"><div class="ttname"><a href="mspack_8h.html#aaf070981f5d3a3a6bb430070cc2b3e73">mspack_destroy_szdd_decompressor</a></div><div class="ttdeci">void mspack_destroy_szdd_decompressor(struct msszdd_decompressor *self)</div><div class="ttdoc">Destroys an existing SZDD decompressor. </div></div>
<div class="ttc" id="structmschm__compressor_html_a1d2f3746c1573c1bc174bf6caca77312"><div class="ttname"><a href="structmschm__compressor.html#a1d2f3746c1573c1bc174bf6caca77312">mschm_compressor::generate</a></div><div class="ttdeci">int(* generate)(struct mschm_compressor *self, struct mschmc_file file_list[], const char *output_file)</div><div class="ttdoc">Generates a CHM help file. </div><div class="ttdef"><b>Definition:</b> mspack.h:1441</div></div>
<div class="ttc" id="structmschmd__sec__uncompressed_html_af8b34d247b2e197f5d835f8eed564e64"><div class="ttname"><a href="structmschmd__sec__uncompressed.html#af8b34d247b2e197f5d835f8eed564e64">mschmd_sec_uncompressed::offset</a></div><div class="ttdeci">off_t offset</div><div class="ttdoc">The file offset of where this section begins in the CHM helpfile. </div><div class="ttdef"><b>Definition:</b> mspack.h:1231</div></div>
<div class="ttc" id="mspack_8h_html_a749d6b350987be706728e020e875b13f"><div class="ttname"><a href="mspack_8h.html#a749d6b350987be706728e020e875b13f">mspack_create_chm_compressor</a></div><div class="ttdeci">struct mschm_compressor * mspack_create_chm_compressor(struct mspack_system *sys)</div><div class="ttdoc">Creates a new CHM compressor. </div></div>
<div class="ttc" id="structmspack__system_html_a8c64d1bd9b6b0ac9455cfde19ccb61b2"><div class="ttname"><a href="structmspack__system.html#a8c64d1bd9b6b0ac9455cfde19ccb61b2">mspack_system::null_ptr</a></div><div class="ttdeci">void * null_ptr</div><div class="ttdoc">A null pointer to mark the end of mspack_system. </div><div class="ttdef"><b>Definition:</b> mspack.h:452</div></div>
<div class="ttc" id="structmsszdd__decompressor_html_a9a2c9aa3d5f85b4ea247130ddabbd490"><div class="ttname"><a href="structmsszdd__decompressor.html#a9a2c9aa3d5f85b4ea247130ddabbd490">msszdd_decompressor::close</a></div><div class="ttdeci">void(* close)(struct msszdd_decompressor *self, struct msszddd_header *szdd)</div><div class="ttdoc">Closes a previously opened SZDD file. </div><div class="ttdef"><b>Definition:</b> mspack.h:1903</div></div>
<div class="ttc" id="structmspack__file_html"><div class="ttname"><a href="structmspack__file.html">mspack_file</a></div><div class="ttdoc">A structure which represents an open file handle. </div><div class="ttdef"><b>Definition:</b> mspack.h:476</div></div>
<div class="ttc" id="structmschmd__header_html_a33ec169354d6d373667847435c566a12"><div class="ttname"><a href="structmschmd__header.html#a33ec169354d6d373667847435c566a12">mschmd_header::length</a></div><div class="ttdeci">off_t length</div><div class="ttdoc">The length of the CHM helpfile, in bytes. </div><div class="ttdef"><b>Definition:</b> mspack.h:1289</div></div>
<div class="ttc" id="structmscabd__cabinet_html_ae66366dd077ee68f5207c7a93f1ed5b1"><div class="ttname"><a href="structmscabd__cabinet.html#ae66366dd077ee68f5207c7a93f1ed5b1">mscabd_cabinet::previnfo</a></div><div class="ttdeci">char * previnfo</div><div class="ttdoc">The name of the disk containing the previous cabinet in a cabinet set, or NULL. </div><div class="ttdef"><b>Definition:</b> mspack.h:733</div></div>
<div class="ttc" id="structmschmd__header_html_aecdd3b5e84606785e9620a70e8f0d0ed"><div class="ttname"><a href="structmschmd__header.html#aecdd3b5e84606785e9620a70e8f0d0ed">mschmd_header::files</a></div><div class="ttdeci">struct mschmd_file * files</div><div class="ttdoc">A list of all non-system files in the CHM helpfile. </div><div class="ttdef"><b>Definition:</b> mspack.h:1292</div></div>
<div class="ttc" id="structmskwajd__header_html_afac7807b7f2ae032cd765ec7b875fef1"><div class="ttname"><a href="structmskwajd__header.html#afac7807b7f2ae032cd765ec7b875fef1">mskwajd_header::length</a></div><div class="ttdeci">off_t length</div><div class="ttdoc">The amount of uncompressed data in the file, or 0 if not present. </div><div class="ttdef"><b>Definition:</b> mspack.h:2015</div></div>
<div class="ttc" id="structmshlp__compressor_html_a74080b8a522b2b793df2bd0cbaedb144"><div class="ttname"><a href="structmshlp__compressor.html#a74080b8a522b2b793df2bd0cbaedb144">mshlp_compressor::dummy</a></div><div class="ttdeci">int dummy</div><div class="ttdef"><b>Definition:</b> mspack.h:1734</div></div>
<div class="ttc" id="structmscabd__file_html_ab73696396840d7ed60dc2d376461e036"><div class="ttname"><a href="structmscabd__file.html#ab73696396840d7ed60dc2d376461e036">mscabd_file::time_h</a></div><div class="ttdeci">char time_h</div><div class="ttdoc">File&#39;s last modified time, hour field. </div><div class="ttdef"><b>Definition:</b> mspack.h:896</div></div>
<div class="ttc" id="mspack_8h_html_a2194442b6f887014905c2f59e43213f7"><div class="ttname"><a href="mspack_8h.html#a2194442b6f887014905c2f59e43213f7">mspack_version</a></div><div class="ttdeci">int mspack_version(int entity)</div><div class="ttdoc">Enquire about the binary compatibility version of a specific interface in the library. </div></div>
<div class="ttc" id="structmscabd__file_html"><div class="ttname"><a href="structmscabd__file.html">mscabd_file</a></div><div class="ttdoc">A structure which represents a single file in a cabinet or cabinet set. </div><div class="ttdef"><b>Definition:</b> mspack.h:861</div></div>
<div class="ttc" id="structmscab__decompressor_html_ab469fdadc4bd9a58574427bcd0138a01"><div class="ttname"><a href="structmscab__decompressor.html#ab469fdadc4bd9a58574427bcd0138a01">mscab_decompressor::close</a></div><div class="ttdeci">void(* close)(struct mscab_decompressor *self, struct mscabd_cabinet *cab)</div><div class="ttdoc">Closes a previously opened cabinet or cabinet set. </div><div class="ttdef"><b>Definition:</b> mspack.h:1001</div></div>
<div class="ttc" id="structmscabd__folder_html_a6256ca9a2ee93dbbaa2124146cbad18e"><div class="ttname"><a href="structmscabd__folder.html#a6256ca9a2ee93dbbaa2124146cbad18e">mscabd_folder::next</a></div><div class="ttdeci">struct mscabd_folder * next</div><div class="ttdoc">A pointer to the next folder in this cabinet or cabinet set, or NULL if this is the final folder...</div><div class="ttdef"><b>Definition:</b> mspack.h:809</div></div>
<div class="ttc" id="structmskwaj__decompressor_html_af5556f7bd315b6faae4aace57df8fc24"><div class="ttname"><a href="structmskwaj__decompressor.html#af5556f7bd315b6faae4aace57df8fc24">mskwaj_decompressor::decompress</a></div><div class="ttdeci">int(* decompress)(struct mskwaj_decompressor *self, const char *input, const char *output)</div><div class="ttdoc">Decompresses an KWAJ file to an output file in one step. </div><div class="ttdef"><b>Definition:</b> mspack.h:2219</div></div>
<div class="ttc" id="structmschmd__header_html_ab3ce14be6b72650d65644c74d9d430d8"><div class="ttname"><a href="structmschmd__header.html#ab3ce14be6b72650d65644c74d9d430d8">mschmd_header::first_pmgl</a></div><div class="ttdeci">unsigned int first_pmgl</div><div class="ttdoc">The number of the first PMGL chunk. </div><div class="ttdef"><b>Definition:</b> mspack.h:1341</div></div>
<div class="ttc" id="structmschmd__file_html"><div class="ttname"><a href="structmschmd__file.html">mschmd_file</a></div><div class="ttdoc">A structure which represents a file stored in a CHM helpfile. </div><div class="ttdef"><b>Definition:</b> mspack.h:1361</div></div>
<div class="ttc" id="structmscabd__file_html_afd4e4b89ac6ca11a08f45a1582de024b"><div class="ttname"><a href="structmscabd__file.html#afd4e4b89ac6ca11a08f45a1582de024b">mscabd_file::date_m</a></div><div class="ttdeci">char date_m</div><div class="ttdoc">File&#39;s last modified date, month field. </div><div class="ttdef"><b>Definition:</b> mspack.h:905</div></div>
<div class="ttc" id="structmsszdd__decompressor_html_a161502b1f6e58ef0692186fdf0223c3d"><div class="ttname"><a href="structmsszdd__decompressor.html#a161502b1f6e58ef0692186fdf0223c3d">msszdd_decompressor::extract</a></div><div class="ttdeci">int(* extract)(struct msszdd_decompressor *self, struct msszddd_header *szdd, const char *filename)</div><div class="ttdoc">Extracts the compressed data from a SZDD file. </div><div class="ttdef"><b>Definition:</b> mspack.h:1919</div></div>
<div class="ttc" id="structmschmd__header_html_ae68d7261646d8ab18f1191a47d4f5161"><div class="ttname"><a href="structmschmd__header.html#ae68d7261646d8ab18f1191a47d4f5161">mschmd_header::num_chunks</a></div><div class="ttdeci">unsigned int num_chunks</div><div class="ttdoc">The number of PMGL/PMGI directory chunks in this CHM helpfile. </div><div class="ttdef"><b>Definition:</b> mspack.h:1312</div></div>
<div class="ttc" id="structmschmd__header_html_ad1322c4778bd1690b2a20766c01e5024"><div class="ttname"><a href="structmschmd__header.html#ad1322c4778bd1690b2a20766c01e5024">mschmd_header::chunk_size</a></div><div class="ttdeci">unsigned int chunk_size</div><div class="ttdoc">The size of each PMGL/PMGI chunk, in bytes. </div><div class="ttdef"><b>Definition:</b> mspack.h:1315</div></div>
<div class="ttc" id="structmscab__decompressor_html"><div class="ttname"><a href="structmscab__decompressor.html">mscab_decompressor</a></div><div class="ttdoc">A decompressor for .CAB (Microsoft Cabinet) files. </div><div class="ttdef"><b>Definition:</b> mspack.h:948</div></div>
<div class="ttc" id="structmschmd__header_html_a4931f8fa07c04da9a2fbf30c7e59cbda"><div class="ttname"><a href="structmschmd__header.html#a4931f8fa07c04da9a2fbf30c7e59cbda">mschmd_header::last_pmgl</a></div><div class="ttdeci">unsigned int last_pmgl</div><div class="ttdoc">The number of the last PMGL chunk. </div><div class="ttdef"><b>Definition:</b> mspack.h:1347</div></div>
<div class="ttc" id="structmschmd__header_html_a273b8a0f48ba7d9c3ffb01426585925c"><div class="ttname"><a href="structmschmd__header.html#a273b8a0f48ba7d9c3ffb01426585925c">mschmd_header::version</a></div><div class="ttdeci">unsigned int version</div><div class="ttdoc">The version of the CHM file format used in this file. </div><div class="ttdef"><b>Definition:</b> mspack.h:1265</div></div>
<div class="ttc" id="structmschmd__header_html_ace16a8ee32fb28f8c4c1ec85a8bbb5e6"><div class="ttname"><a href="structmschmd__header.html#ace16a8ee32fb28f8c4c1ec85a8bbb5e6">mschmd_header::sec1</a></div><div class="ttdeci">struct mschmd_sec_mscompressed sec1</div><div class="ttdoc">The section 1 (MSCompressed) data in this CHM helpfile. </div><div class="ttdef"><b>Definition:</b> mspack.h:1306</div></div>
<div class="ttc" id="structmscabd__cabinet_html_abe1b8a6ccc9eeeebf2a454bfbe2d4a1a"><div class="ttname"><a href="structmscabd__cabinet.html#abe1b8a6ccc9eeeebf2a454bfbe2d4a1a">mscabd_cabinet::nextname</a></div><div class="ttdeci">char * nextname</div><div class="ttdoc">The filename of the next cabinet in a cabinet set, or NULL. </div><div class="ttdef"><b>Definition:</b> mspack.h:728</div></div>
<div class="ttc" id="structmspack__system_html_ac57fb5944e7726abe2272822fa07a30f"><div class="ttname"><a href="structmspack__system.html#ac57fb5944e7726abe2272822fa07a30f">mspack_system::write</a></div><div class="ttdeci">int(* write)(struct mspack_file *file, void *buffer, int bytes)</div><div class="ttdoc">Writes a given number of bytes to an open file. </div><div class="ttdef"><b>Definition:</b> mspack.h:351</div></div>
<div class="ttc" id="mspack_8h_html_a23263871d8dc8d64830e8ff827d6e32d"><div class="ttname"><a href="mspack_8h.html#a23263871d8dc8d64830e8ff827d6e32d">mspack_destroy_cab_compressor</a></div><div class="ttdeci">void mspack_destroy_cab_compressor(struct mscab_compressor *self)</div><div class="ttdoc">Destroys an existing CAB compressor. </div></div>
<div class="ttc" id="structmschmd__file_html_ab8c413e3759fae57732a09e7060c1225"><div class="ttname"><a href="structmschmd__file.html#ab8c413e3759fae57732a09e7060c1225">mschmd_file::section</a></div><div class="ttdeci">struct mschmd_section * section</div><div class="ttdoc">A pointer to the section that this file is located in. </div><div class="ttdef"><b>Definition:</b> mspack.h:1372</div></div>
<div class="ttc" id="structmscabd__file_html_ad05e4a3fc108988cabbc918a53afd25a"><div class="ttname"><a href="structmscabd__file.html#ad05e4a3fc108988cabbc918a53afd25a">mscabd_file::time_s</a></div><div class="ttdeci">char time_s</div><div class="ttdoc">File&#39;s last modified time, second field. </div><div class="ttdef"><b>Definition:</b> mspack.h:900</div></div>
<div class="ttc" id="structmschmd__header_html"><div class="ttname"><a href="structmschmd__header.html">mschmd_header</a></div><div class="ttdoc">A structure which represents a CHM helpfile. </div><div class="ttdef"><b>Definition:</b> mspack.h:1263</div></div>
<div class="ttc" id="structmscabd__cabinet_html_ae3ab25aa910ea50dca515659848ab5dc"><div class="ttname"><a href="structmscabd__cabinet.html#ae3ab25aa910ea50dca515659848ab5dc">mscabd_cabinet::nextcab</a></div><div class="ttdeci">struct mscabd_cabinet * nextcab</div><div class="ttdoc">The next cabinet in a cabinet set, or NULL. </div><div class="ttdef"><b>Definition:</b> mspack.h:722</div></div>
<div class="ttc" id="structmskwaj__compressor_html_acbe5ab5920c60d8468a6de6e8efa33a5"><div class="ttname"><a href="structmskwaj__compressor.html#acbe5ab5920c60d8468a6de6e8efa33a5">mskwaj_compressor::last_error</a></div><div class="ttdeci">int(* last_error)(struct mschm_decompressor *self)</div><div class="ttdoc">Returns the error code set by the most recently called method. </div><div class="ttdef"><b>Definition:</b> mspack.h:2137</div></div>
<div class="ttc" id="structmschmd__file_html_a95fd0339c2cca86fe152924ac1777521"><div class="ttname"><a href="structmschmd__file.html#a95fd0339c2cca86fe152924ac1777521">mschmd_file::length</a></div><div class="ttdeci">off_t length</div><div class="ttdoc">The length of this file, in bytes. </div><div class="ttdef"><b>Definition:</b> mspack.h:1378</div></div>
<div class="ttc" id="structmspack__system_html_ae25e8b0ca839867f19041aa20508e548"><div class="ttname"><a href="structmspack__system.html#ae25e8b0ca839867f19041aa20508e548">mspack_system::tell</a></div><div class="ttdeci">off_t(* tell)(struct mspack_file *file)</div><div class="ttdoc">Returns the current file position (in bytes) of the given file. </div><div class="ttdef"><b>Definition:</b> mspack.h:389</div></div>
<div class="ttc" id="structmscabd__cabinet_html"><div class="ttname"><a href="structmscabd__cabinet.html">mscabd_cabinet</a></div><div class="ttdoc">A structure which represents a single cabinet file. </div><div class="ttdef"><b>Definition:</b> mspack.h:697</div></div>
<div class="ttc" id="structmscabd__cabinet_html_a28b565bad65980597c4db3e7d91f1be2"><div class="ttname"><a href="structmscabd__cabinet.html#a28b565bad65980597c4db3e7d91f1be2">mscabd_cabinet::set_index</a></div><div class="ttdeci">unsigned short set_index</div><div class="ttdoc">The index number of the cabinet within the set. </div><div class="ttdef"><b>Definition:</b> mspack.h:757</div></div>
<div class="ttc" id="structmschmc__file_html_a11c5bd77b0142d3c3a94c5a24126e030"><div class="ttname"><a href="structmschmc__file.html#a11c5bd77b0142d3c3a94c5a24126e030">mschmc_file::section</a></div><div class="ttdeci">int section</div><div class="ttdoc">One of MSCHMC_ENDLIST, MSCHMC_UNCOMP or MSCHMC_MSCOMP. </div><div class="ttdef"><b>Definition:</b> mspack.h:1185</div></div>
<div class="ttc" id="structmskwajd__header_html_a67205e9e87199ec6ce1e1d6569cd077c"><div class="ttname"><a href="structmskwajd__header.html#a67205e9e87199ec6ce1e1d6569cd077c">mskwajd_header::extra</a></div><div class="ttdeci">char * extra</div><div class="ttdoc">extra uncompressed data (usually text) in the header. </div><div class="ttdef"><b>Definition:</b> mspack.h:2023</div></div>
<div class="ttc" id="structmschmd__header_html_a01db28807e9a802d2bb876a44a9dd588"><div class="ttname"><a href="structmschmd__header.html#a01db28807e9a802d2bb876a44a9dd588">mschmd_header::dir_offset</a></div><div class="ttdeci">off_t dir_offset</div><div class="ttdoc">The file offset of the first PMGL/PMGI directory chunk. </div><div class="ttdef"><b>Definition:</b> mspack.h:1309</div></div>
<div class="ttc" id="structmskwajd__header_html_a1f6bdf2cdb6bf2425327eb3c8a480564"><div class="ttname"><a href="structmskwajd__header.html#a1f6bdf2cdb6bf2425327eb3c8a480564">mskwajd_header::filename</a></div><div class="ttdeci">char * filename</div><div class="ttdoc">output filename, or NULL if not present </div><div class="ttdef"><b>Definition:</b> mspack.h:2018</div></div>
<div class="ttc" id="mspack_8h_html_ae1d6e6754279bad79e73af8fab761f50"><div class="ttname"><a href="mspack_8h.html#ae1d6e6754279bad79e73af8fab761f50">mspack_destroy_kwaj_decompressor</a></div><div class="ttdeci">void mspack_destroy_kwaj_decompressor(struct mskwaj_decompressor *self)</div><div class="ttdoc">Destroys an existing KWAJ decompressor. </div></div>
<div class="ttc" id="structmskwaj__compressor_html_a48afe3babb35fb8c1a0a32c309be6dc7"><div class="ttname"><a href="structmskwaj__compressor.html#a48afe3babb35fb8c1a0a32c309be6dc7">mskwaj_compressor::set_filename</a></div><div class="ttdeci">int(* set_filename)(struct mskwaj_compressor *self, const char *filename)</div><div class="ttdoc">Sets the original filename of the file before compression, which will be stored in the header of the ...</div><div class="ttdef"><b>Definition:</b> mspack.h:2105</div></div>
<div class="ttc" id="structmsszdd__compressor_html"><div class="ttname"><a href="structmsszdd__compressor.html">msszdd_compressor</a></div><div class="ttdoc">A compressor for the SZDD file format. </div><div class="ttdef"><b>Definition:</b> mspack.h:1783</div></div>
<div class="ttc" id="structmschmd__header_html_a59ebd608e30b578dd5bb4cd9ceaf9bcb"><div class="ttname"><a href="structmschmd__header.html#a59ebd608e30b578dd5bb4cd9ceaf9bcb">mschmd_header::chunk_cache</a></div><div class="ttdeci">unsigned char ** chunk_cache</div><div class="ttdoc">A cache of loaded chunks, filled in by mschm_decoder::fast_find(). </div><div class="ttdef"><b>Definition:</b> mspack.h:1353</div></div>
<div class="ttc" id="mspack_8h_html_a9964981ec0e6f49814301101e1708f95"><div class="ttname"><a href="mspack_8h.html#a9964981ec0e6f49814301101e1708f95">mspack_create_cab_decompressor</a></div><div class="ttdeci">struct mscab_decompressor * mspack_create_cab_decompressor(struct mspack_system *sys)</div><div class="ttdoc">Creates a new CAB decompressor. </div></div>
<div class="ttc" id="structmscabd__cabinet_html_a8e37f9e7834660a3b752e7c0f9a0da06"><div class="ttname"><a href="structmscabd__cabinet.html#a8e37f9e7834660a3b752e7c0f9a0da06">mscabd_cabinet::filename</a></div><div class="ttdeci">const char * filename</div><div class="ttdoc">The filename of the cabinet. </div><div class="ttdef"><b>Definition:</b> mspack.h:710</div></div>
<div class="ttc" id="structmsszdd__decompressor_html_a24b2cbdf6ad4745987e2162dffeaeaa7"><div class="ttname"><a href="structmsszdd__decompressor.html#a24b2cbdf6ad4745987e2162dffeaeaa7">msszdd_decompressor::last_error</a></div><div class="ttdeci">int(* last_error)(struct msszdd_decompressor *self)</div><div class="ttdoc">Returns the error code set by the most recently called method. </div><div class="ttdef"><b>Definition:</b> mspack.h:1955</div></div>
<div class="ttc" id="structmshlp__compressor_html"><div class="ttname"><a href="structmshlp__compressor.html">mshlp_compressor</a></div><div class="ttdoc">TODO. </div><div class="ttdef"><b>Definition:</b> mspack.h:1733</div></div>
<div class="ttc" id="structmslit__compressor_html"><div class="ttname"><a href="structmslit__compressor.html">mslit_compressor</a></div><div class="ttdoc">TODO. </div><div class="ttdef"><b>Definition:</b> mspack.h:1720</div></div>
<div class="ttc" id="structmsszddd__header_html_a294653b0ad896a0fa736457dbe455341"><div class="ttname"><a href="structmsszddd__header.html#a294653b0ad896a0fa736457dbe455341">msszddd_header::length</a></div><div class="ttdeci">off_t length</div><div class="ttdoc">The amount of data in the SZDD file once uncompressed. </div><div class="ttdef"><b>Definition:</b> mspack.h:1764</div></div>
<div class="ttc" id="structmshlp__decompressor_html_a13b976323edd534de4e3d9dda435893d"><div class="ttname"><a href="structmshlp__decompressor.html#a13b976323edd534de4e3d9dda435893d">mshlp_decompressor::dummy</a></div><div class="ttdeci">int dummy</div><div class="ttdef"><b>Definition:</b> mspack.h:1739</div></div>
<div class="ttc" id="structmschmd__file_html_aacdeb0d33c01266beb36e0b48af09055"><div class="ttname"><a href="structmschmd__file.html#aacdeb0d33c01266beb36e0b48af09055">mschmd_file::next</a></div><div class="ttdeci">struct mschmd_file * next</div><div class="ttdoc">A pointer to the next file in the list, or NULL if this is the final file. </div><div class="ttdef"><b>Definition:</b> mspack.h:1366</div></div>
<div class="ttc" id="structmsszdd__compressor_html_af76f143c2131bcccf0f3d10ea8968742"><div class="ttname"><a href="structmsszdd__compressor.html#af76f143c2131bcccf0f3d10ea8968742">msszdd_compressor::set_param</a></div><div class="ttdeci">int(* set_param)(struct msszdd_compressor *self, int param, unsigned int value)</div><div class="ttdoc">Sets an SZDD compression engine parameter. </div><div class="ttdef"><b>Definition:</b> mspack.h:1845</div></div>
<div class="ttc" id="structmscab__decompressor_html_ae818d71d1b62101c063edefcaa43fb08"><div class="ttname"><a href="structmscab__decompressor.html#ae818d71d1b62101c063edefcaa43fb08">mscab_decompressor::set_param</a></div><div class="ttdeci">int(* set_param)(struct mscab_decompressor *self, int param, int value)</div><div class="ttdoc">Sets a CAB decompression engine parameter. </div><div class="ttdef"><b>Definition:</b> mspack.h:1155</div></div>
<div class="ttc" id="structmslit__compressor_html_a04223946071ea2bc11b0ae297d54c787"><div class="ttname"><a href="structmslit__compressor.html#a04223946071ea2bc11b0ae297d54c787">mslit_compressor::dummy</a></div><div class="ttdeci">int dummy</div><div class="ttdef"><b>Definition:</b> mspack.h:1721</div></div>
<div class="ttc" id="structmschmd__header_html_a278de93cf1e7de82ab32189ce190dd46"><div class="ttname"><a href="structmschmd__header.html#a278de93cf1e7de82ab32189ce190dd46">mschmd_header::filename</a></div><div class="ttdeci">const char * filename</div><div class="ttdoc">The filename of the CHM helpfile. </div><div class="ttdef"><b>Definition:</b> mspack.h:1286</div></div>
<div class="ttc" id="structmskwaj__decompressor_html_a98574bcd492d59c345a7d692886d03cd"><div class="ttname"><a href="structmskwaj__decompressor.html#a98574bcd492d59c345a7d692886d03cd">mskwaj_decompressor::extract</a></div><div class="ttdeci">int(* extract)(struct mskwaj_decompressor *self, struct mskwajd_header *kwaj, const char *filename)</div><div class="ttdoc">Extracts the compressed data from a KWAJ file. </div><div class="ttdef"><b>Definition:</b> mspack.h:2198</div></div>
<div class="ttc" id="mspack_8h_html_a019e19331c50d80a4d424395671219f2"><div class="ttname"><a href="mspack_8h.html#a019e19331c50d80a4d424395671219f2">mspack_create_lit_decompressor</a></div><div class="ttdeci">struct mslit_decompressor * mspack_create_lit_decompressor(struct mspack_system *sys)</div><div class="ttdoc">Creates a new LIT decompressor. </div></div>
<div class="ttc" id="structmscabd__file_html_ac76a68d9aa60c907a0d8c997c070dd2a"><div class="ttname"><a href="structmscabd__file.html#ac76a68d9aa60c907a0d8c997c070dd2a">mscabd_file::date_y</a></div><div class="ttdeci">int date_y</div><div class="ttdoc">File&#39;s last modified date, year field. </div><div class="ttdef"><b>Definition:</b> mspack.h:907</div></div>
<div class="ttc" id="structmskwajd__header_html_a3e715be39a9022552f730948d13085ab"><div class="ttname"><a href="structmskwajd__header.html#a3e715be39a9022552f730948d13085ab">mskwajd_header::comp_type</a></div><div class="ttdeci">unsigned short comp_type</div><div class="ttdoc">The compression type; should be one of MSKWAJ_COMP_NONE, MSKWAJ_COMP_XOR, MSKWAJ_COMP_SZDD or MSKWAJ_...</div><div class="ttdef"><b>Definition:</b> mspack.h:2006</div></div>
<div class="ttc" id="structmscabd__cabinet_html_a6c5b8d1773e14b12c70d64d5b8867b01"><div class="ttname"><a href="structmscabd__cabinet.html#a6c5b8d1773e14b12c70d64d5b8867b01">mscabd_cabinet::flags</a></div><div class="ttdeci">int flags</div><div class="ttdoc">Header flags. </div><div class="ttdef"><b>Definition:</b> mspack.h:782</div></div>
<div class="ttc" id="structmscabd__file_html_a703b6af6638b34ff9905de6ca13a77df"><div class="ttname"><a href="structmscabd__file.html#a703b6af6638b34ff9905de6ca13a77df">mscabd_file::time_m</a></div><div class="ttdeci">char time_m</div><div class="ttdoc">File&#39;s last modified time, minute field. </div><div class="ttdef"><b>Definition:</b> mspack.h:898</div></div>
<div class="ttc" id="structmschm__compressor_html_abb48d706306afc67607493b850838b49"><div class="ttname"><a href="structmschm__compressor.html#abb48d706306afc67607493b850838b49">mschm_compressor::set_param</a></div><div class="ttdeci">int(* set_param)(struct mschm_compressor *self, int param, unsigned int value)</div><div class="ttdoc">Sets a CHM compression engine parameter. </div><div class="ttdef"><b>Definition:</b> mspack.h:1546</div></div>
<div class="ttc" id="structmschmc__file_html_aee5c029845e1ce6112c8d050d9b23fda"><div class="ttname"><a href="structmschmc__file.html#aee5c029845e1ce6112c8d050d9b23fda">mschmc_file::length</a></div><div class="ttdeci">off_t length</div><div class="ttdoc">The length of the file, in bytes. </div><div class="ttdef"><b>Definition:</b> mspack.h:1198</div></div>
<div class="ttc" id="structmscab__compressor_html_a7ee33e593f24d9ef35a78cc3d304a769"><div class="ttname"><a href="structmscab__compressor.html#a7ee33e593f24d9ef35a78cc3d304a769">mscab_compressor::dummy</a></div><div class="ttdeci">int dummy</div><div class="ttdef"><b>Definition:</b> mspack.h:938</div></div>
<div class="ttc" id="structmslit__decompressor_html_af8297f10d4276bf794a290261ad9f0fe"><div class="ttname"><a href="structmslit__decompressor.html#af8297f10d4276bf794a290261ad9f0fe">mslit_decompressor::dummy</a></div><div class="ttdeci">int dummy</div><div class="ttdef"><b>Definition:</b> mspack.h:1726</div></div>
<div class="ttc" id="structmschmd__section_html_a68d357e2150602c47a9cd5c4b5ce0465"><div class="ttname"><a href="structmschmd__section.html#a68d357e2150602c47a9cd5c4b5ce0465">mschmd_section::id</a></div><div class="ttdeci">unsigned int id</div><div class="ttdoc">The section ID. </div><div class="ttdef"><b>Definition:</b> mspack.h:1218</div></div>
<div class="ttc" id="structmskwajd__header_html_a150dd01507ddef57a4d77c5f4f9914fa"><div class="ttname"><a href="structmskwajd__header.html#a150dd01507ddef57a4d77c5f4f9914fa">mskwajd_header::extra_length</a></div><div class="ttdeci">unsigned short extra_length</div><div class="ttdoc">length of extra uncompressed data in the header </div><div class="ttdef"><b>Definition:</b> mspack.h:2026</div></div>
<div class="ttc" id="structmskwaj__compressor_html_a12c3d6e1e18d14cd880f336e5897d5a8"><div class="ttname"><a href="structmskwaj__compressor.html#a12c3d6e1e18d14cd880f336e5897d5a8">mskwaj_compressor::set_param</a></div><div class="ttdeci">int(* set_param)(struct mskwaj_compressor *self, int param, unsigned int value)</div><div class="ttdoc">Sets an KWAJ compression engine parameter. </div><div class="ttdef"><b>Definition:</b> mspack.h:2083</div></div>
<div class="ttc" id="structmschmd__header_html_a40832bde453ea8dc77a07d51c81813d3"><div class="ttname"><a href="structmschmd__header.html#a40832bde453ea8dc77a07d51c81813d3">mschmd_header::depth</a></div><div class="ttdeci">unsigned int depth</div><div class="ttdoc">The depth of the index tree. </div><div class="ttdef"><b>Definition:</b> mspack.h:1328</div></div>
<div class="ttc" id="structmskwaj__decompressor_html_af41a584bead88063925b262c729ab8e6"><div class="ttname"><a href="structmskwaj__decompressor.html#af41a584bead88063925b262c729ab8e6">mskwaj_decompressor::last_error</a></div><div class="ttdeci">int(* last_error)(struct mskwaj_decompressor *self)</div><div class="ttdoc">Returns the error code set by the most recently called method. </div><div class="ttdef"><b>Definition:</b> mspack.h:2234</div></div>
<div class="ttc" id="structmsoab__decompressor_html_a2327a3a796b01ac46c376c8f0efbe3d1"><div class="ttname"><a href="structmsoab__decompressor.html#a2327a3a796b01ac46c376c8f0efbe3d1">msoab_decompressor::decompress</a></div><div class="ttdeci">int(* decompress)(struct msoab_decompressor *self, const char *input, const char *output)</div><div class="ttdoc">Decompresses a full Offline Address Book file. </div><div class="ttdef"><b>Definition:</b> mspack.h:2314</div></div>
<div class="ttc" id="structmsszddd__header_html"><div class="ttname"><a href="structmsszddd__header.html">msszddd_header</a></div><div class="ttdoc">A structure which represents an SZDD compressed file. </div><div class="ttdef"><b>Definition:</b> mspack.h:1759</div></div>
<div class="ttc" id="structmschmd__sec__mscompressed_html_a5d5406ee96c11e096301bdbae930c744"><div class="ttname"><a href="structmschmd__sec__mscompressed.html#a5d5406ee96c11e096301bdbae930c744">mschmd_sec_mscompressed::control</a></div><div class="ttdeci">struct mschmd_file * control</div><div class="ttdoc">A pointer to the file which contains the LZX control data. </div><div class="ttdef"><b>Definition:</b> mspack.h:1247</div></div>
<div class="ttc" id="mspack_8h_html_a50c0799f5c1a128672c024a05c79cac8"><div class="ttname"><a href="mspack_8h.html#a50c0799f5c1a128672c024a05c79cac8">mspack_destroy_chm_decompressor</a></div><div class="ttdeci">void mspack_destroy_chm_decompressor(struct mschm_decompressor *self)</div><div class="ttdoc">Destroys an existing CHM decompressor. </div></div>
<div class="ttc" id="structmscabd__cabinet_html_a40c125ef3821bb1b85baee532c9154ac"><div class="ttname"><a href="structmscabd__cabinet.html#a40c125ef3821bb1b85baee532c9154ac">mscabd_cabinet::folders</a></div><div class="ttdeci">struct mscabd_folder * folders</div><div class="ttdoc">A list of all folders in the cabinet or cabinet set. </div><div class="ttdef"><b>Definition:</b> mspack.h:744</div></div>
<div class="ttc" id="structmskwajd__header_html_ace36762bb483edb0f8365b6463708d72"><div class="ttname"><a href="structmskwajd__header.html#ace36762bb483edb0f8365b6463708d72">mskwajd_header::data_offset</a></div><div class="ttdeci">off_t data_offset</div><div class="ttdoc">The offset in the file where the compressed data stream begins. </div><div class="ttdef"><b>Definition:</b> mspack.h:2009</div></div>
<div class="ttc" id="structmskwaj__decompressor_html"><div class="ttname"><a href="structmskwaj__decompressor.html">mskwaj_decompressor</a></div><div class="ttdoc">A decompressor for KWAJ compressed files. </div><div class="ttdef"><b>Definition:</b> mspack.h:2147</div></div>
<div class="ttc" id="structmschmc__file_html_ab2979483302579db0111fe5cff3d4eb5"><div class="ttname"><a href="structmschmc__file.html#ab2979483302579db0111fe5cff3d4eb5">mschmc_file::chm_filename</a></div><div class="ttdeci">char * chm_filename</div><div class="ttdoc">The full path and filename of the file within the CHM helpfile, a UTF-1 encoded null-terminated strin...</div><div class="ttdef"><b>Definition:</b> mspack.h:1193</div></div>
<div class="ttc" id="mspack_8h_html_a13e9100ea34b16693cacb92b212ccadc"><div class="ttname"><a href="mspack_8h.html#a13e9100ea34b16693cacb92b212ccadc">mspack_destroy_cab_decompressor</a></div><div class="ttdeci">void mspack_destroy_cab_decompressor(struct mscab_decompressor *self)</div><div class="ttdoc">Destroys an existing CAB decompressor. </div></div>
<div class="ttc" id="mspack_8h_html_af4a43cbea4701b86cf5c0363b46b7c71"><div class="ttname"><a href="mspack_8h.html#af4a43cbea4701b86cf5c0363b46b7c71">mspack_destroy_oab_compressor</a></div><div class="ttdeci">void mspack_destroy_oab_compressor(struct msoab_compressor *self)</div><div class="ttdoc">Destroys an existing OAB compressor. </div></div>
<div class="ttc" id="structmschmd__sec__uncompressed_html"><div class="ttname"><a href="structmschmd__sec__uncompressed.html">mschmd_sec_uncompressed</a></div><div class="ttdoc">A structure which represents the uncompressed section of a CHM helpfile. </div><div class="ttdef"><b>Definition:</b> mspack.h:1226</div></div>
<div class="ttc" id="structmscabd__cabinet_html_ac0afbad793dbd0e21802bb2dafbcc0f1"><div class="ttname"><a href="structmscabd__cabinet.html#ac0afbad793dbd0e21802bb2dafbcc0f1">mscabd_cabinet::base_offset</a></div><div class="ttdeci">off_t base_offset</div><div class="ttdoc">The file offset of cabinet within the physical file it resides in. </div><div class="ttdef"><b>Definition:</b> mspack.h:713</div></div>
<div class="ttc" id="structmschmd__sec__mscompressed_html_a875b322e139225194ec6d0f9e1762e32"><div class="ttname"><a href="structmschmd__sec__mscompressed.html#a875b322e139225194ec6d0f9e1762e32">mschmd_sec_mscompressed::base</a></div><div class="ttdeci">struct mschmd_section base</div><div class="ttdoc">Generic section data. </div><div class="ttdef"><b>Definition:</b> mspack.h:1241</div></div>
<div class="ttc" id="structmscabd__cabinet_html_a668bc2203adb0d6ac101eef1e53149d9"><div class="ttname"><a href="structmscabd__cabinet.html#a668bc2203adb0d6ac101eef1e53149d9">mscabd_cabinet::header_resv</a></div><div class="ttdeci">unsigned short header_resv</div><div class="ttdoc">The number of bytes reserved in the header area of the cabinet. </div><div class="ttdef"><b>Definition:</b> mspack.h:769</div></div>
<div class="ttc" id="structmspack__system_html_a22cdc77c82dba0f6c58945c816c2732e"><div class="ttname"><a href="structmspack__system.html#a22cdc77c82dba0f6c58945c816c2732e">mspack_system::copy</a></div><div class="ttdeci">void(* copy)(void *src, void *dest, size_t bytes)</div><div class="ttdoc">Copies from one region of memory to another. </div><div class="ttdef"><b>Definition:</b> mspack.h:442</div></div>
<div class="ttc" id="mspack_8h_html_a0bd8ff2ddc155f3bf5ee4f47fdde7f4a"><div class="ttname"><a href="mspack_8h.html#a0bd8ff2ddc155f3bf5ee4f47fdde7f4a">mspack_create_hlp_decompressor</a></div><div class="ttdeci">struct mshlp_decompressor * mspack_create_hlp_decompressor(struct mspack_system *sys)</div><div class="ttdoc">Creates a new HLP decompressor. </div></div>
<div class="ttc" id="mspack_8h_html_aa214297f2f85b56b2a556bf560dba9d2"><div class="ttname"><a href="mspack_8h.html#aa214297f2f85b56b2a556bf560dba9d2">mspack_create_kwaj_compressor</a></div><div class="ttdeci">struct mskwaj_compressor * mspack_create_kwaj_compressor(struct mspack_system *sys)</div><div class="ttdoc">Creates a new KWAJ compressor. </div></div>
<div class="ttc" id="mspack_8h_html_aca7c302fbca1abd91c6d00df191e221c"><div class="ttname"><a href="mspack_8h.html#aca7c302fbca1abd91c6d00df191e221c">mspack_destroy_kwaj_compressor</a></div><div class="ttdeci">void mspack_destroy_kwaj_compressor(struct mskwaj_compressor *self)</div><div class="ttdoc">Destroys an existing KWAJ compressor. </div></div>
<div class="ttc" id="structmscabd__file_html_a251c5d90bd1cf85114987f6da0070714"><div class="ttname"><a href="structmscabd__file.html#a251c5d90bd1cf85114987f6da0070714">mscabd_file::length</a></div><div class="ttdeci">unsigned int length</div><div class="ttdoc">The uncompressed length of the file, in bytes. </div><div class="ttdef"><b>Definition:</b> mspack.h:879</div></div>
<div class="ttc" id="structmschmd__header_html_ab844b2365051d8c99ce41ae0a0f4c106"><div class="ttname"><a href="structmschmd__header.html#ab844b2365051d8c99ce41ae0a0f4c106">mschmd_header::timestamp</a></div><div class="ttdeci">unsigned int timestamp</div><div class="ttdoc">The &quot;timestamp&quot; of the CHM helpfile. </div><div class="ttdef"><b>Definition:</b> mspack.h:1274</div></div>
<div class="ttc" id="structmscabd__file_html_adc04f6cf28d372d235d141a0fd2de73a"><div class="ttname"><a href="structmscabd__file.html#adc04f6cf28d372d235d141a0fd2de73a">mscabd_file::next</a></div><div class="ttdeci">struct mscabd_file * next</div><div class="ttdoc">The next file in the cabinet or cabinet set, or NULL if this is the final file. </div><div class="ttdef"><b>Definition:</b> mspack.h:866</div></div>
<div class="ttc" id="structmscabd__cabinet_html_a8714457bd807fe92e42fe2dcaf664796"><div class="ttname"><a href="structmscabd__cabinet.html#a8714457bd807fe92e42fe2dcaf664796">mscabd_cabinet::length</a></div><div class="ttdeci">unsigned int length</div><div class="ttdoc">The length of the cabinet file in bytes. </div><div class="ttdef"><b>Definition:</b> mspack.h:716</div></div>
<div class="ttc" id="structmskwaj__compressor_html_a955181e65ccab556da4eee4854b90867"><div class="ttname"><a href="structmskwaj__compressor.html#a955181e65ccab556da4eee4854b90867">mskwaj_compressor::set_extra_data</a></div><div class="ttdeci">int(* set_extra_data)(struct mskwaj_compressor *self, void *data, size_t bytes)</div><div class="ttdoc">Sets arbitrary data that will be stored in the header of the output file, uncompressed. </div><div class="ttdef"><b>Definition:</b> mspack.h:2125</div></div>
<div class="ttc" id="structmspack__system_html_ac33dcc54409a7d5da9be475b3938101e"><div class="ttname"><a href="structmspack__system.html#ac33dcc54409a7d5da9be475b3938101e">mspack_system::read</a></div><div class="ttdeci">int(* read)(struct mspack_file *file, void *buffer, int bytes)</div><div class="ttdoc">Reads a given number of bytes from an open file. </div><div class="ttdef"><b>Definition:</b> mspack.h:334</div></div>
<div class="ttc" id="structmschm__compressor_html"><div class="ttname"><a href="structmschm__compressor.html">mschm_compressor</a></div><div class="ttdoc">A compressor for .CHM (Microsoft HTMLHelp) files. </div><div class="ttdef"><b>Definition:</b> mspack.h:1409</div></div>
<div class="ttc" id="structmschmc__file_html_a60dcb986ab210e9f9674daaa813c6ca6"><div class="ttname"><a href="structmschmc__file.html#a60dcb986ab210e9f9674daaa813c6ca6">mschmc_file::filename</a></div><div class="ttdeci">const char * filename</div><div class="ttdoc">The filename of the source file that will be added to the CHM. </div><div class="ttdef"><b>Definition:</b> mspack.h:1189</div></div>
<div class="ttc" id="structmskwajd__header_html_a62b3852fcc90781f98a1017b32679fab"><div class="ttname"><a href="structmskwajd__header.html#a62b3852fcc90781f98a1017b32679fab">mskwajd_header::headers</a></div><div class="ttdeci">int headers</div><div class="ttdoc">Flags indicating which optional headers were included. </div><div class="ttdef"><b>Definition:</b> mspack.h:2012</div></div>
<div class="ttc" id="mspack_8h_html_a9b371f1ecbb8423ffe509e3a023ba962"><div class="ttname"><a href="mspack_8h.html#a9b371f1ecbb8423ffe509e3a023ba962">mspack_create_oab_compressor</a></div><div class="ttdeci">struct msoab_compressor * mspack_create_oab_compressor(struct mspack_system *sys)</div><div class="ttdoc">Creates a new OAB compressor. </div></div>
<div class="ttc" id="mspack_8h_html_a9a0e8aca53554d477705d81569968ca1"><div class="ttname"><a href="mspack_8h.html#a9a0e8aca53554d477705d81569968ca1">mspack_destroy_oab_decompressor</a></div><div class="ttdeci">void mspack_destroy_oab_decompressor(struct msoab_decompressor *self)</div><div class="ttdoc">Destroys an existing OAB decompressor. </div></div>
<div class="ttc" id="mspack_8h_html_a05c47f6572f3966d9495810332356b94"><div class="ttname"><a href="mspack_8h.html#a05c47f6572f3966d9495810332356b94">mspack_destroy_chm_compressor</a></div><div class="ttdeci">void mspack_destroy_chm_compressor(struct mschm_compressor *self)</div><div class="ttdoc">Destroys an existing CHM compressor. </div></div>
<div class="ttc" id="structmschmd__header_html_aec85ac3ed9362995fb8aaf98dc515f03"><div class="ttname"><a href="structmschmd__header.html#aec85ac3ed9362995fb8aaf98dc515f03">mschmd_header::density</a></div><div class="ttdeci">unsigned int density</div><div class="ttdoc">The &quot;density&quot; of the quick-reference section in PMGL/PMGI chunks. </div><div class="ttdef"><b>Definition:</b> mspack.h:1318</div></div>
</div><!-- fragment --></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>