]> wimlib.net Git - wimlib/blob - doc/html/wimlib_8h_source.html
Use WARNING() for warnings instead of ERROR().
[wimlib] / doc / html / wimlib_8h_source.html
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html xmlns="http://www.w3.org/1999/xhtml">
3 <head>
4 <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
5 <meta http-equiv="X-UA-Compatible" content="IE=9"/>
6 <title>wimlib: wimlib.h Source File</title>
7
8 <link href="tabs.css" rel="stylesheet" type="text/css"/>
9 <link href="doxygen.css" rel="stylesheet" type="text/css" />
10
11 <link href="search/search.css" rel="stylesheet" type="text/css"/>
12 <script type="text/javascript" src="jquery.js"></script>
13 <script type="text/javascript" src="search/search.js"></script>
14 <script type="text/javascript">
15   $(document).ready(function() { searchBox.OnSelectItem(0); });
16 </script>
17
18 </head>
19 <body>
20 <div id="top"><!-- do not remove this div! -->
21
22
23 <div id="titlearea">
24 <table cellspacing="0" cellpadding="0">
25  <tbody>
26  <tr style="height: 56px;">
27   
28   
29   <td style="padding-left: 0.5em;">
30    <div id="projectname">wimlib
31    
32    </div>
33    
34   </td>
35   
36   
37   
38  </tr>
39  </tbody>
40 </table>
41 </div>
42
43 <!-- Generated by Doxygen 1.8.0 -->
44 <script type="text/javascript">
45 var searchBox = new SearchBox("searchBox", "search",false,'Search');
46 </script>
47   <div id="navrow1" class="tabs">
48     <ul class="tablist">
49       <li><a href="index.html"><span>Main&#160;Page</span></a></li>
50       <li class="current"><a href="files.html"><span>Files</span></a></li>
51       <li>
52         <div id="MSearchBox" class="MSearchBoxInactive">
53         <span class="left">
54           <img id="MSearchSelect" src="search/mag_sel.png"
55                onmouseover="return searchBox.OnSearchSelectShow()"
56                onmouseout="return searchBox.OnSearchSelectHide()"
57                alt=""/>
58           <input type="text" id="MSearchField" value="Search" accesskey="S"
59                onfocus="searchBox.OnSearchFieldFocus(true)" 
60                onblur="searchBox.OnSearchFieldFocus(false)" 
61                onkeyup="searchBox.OnSearchFieldChange(event)"/>
62           </span><span class="right">
63             <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
64           </span>
65         </div>
66       </li>
67     </ul>
68   </div>
69   <div id="navrow2" class="tabs2">
70     <ul class="tablist">
71       <li><a href="files.html"><span>File&#160;List</span></a></li>
72       <li><a href="globals.html"><span>Globals</span></a></li>
73     </ul>
74   </div>
75 </div>
76 <!-- window showing the filter options -->
77 <div id="MSearchSelectWindow"
78      onmouseover="return searchBox.OnSearchSelectShow()"
79      onmouseout="return searchBox.OnSearchSelectHide()"
80      onkeydown="return searchBox.OnSearchSelectKey(event)">
81 <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>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Defines</a></div>
82
83 <!-- iframe showing the search results (closed by default) -->
84 <div id="MSearchResultsWindow">
85 <iframe src="javascript:void(0)" frameborder="0" 
86         name="MSearchResults" id="MSearchResults">
87 </iframe>
88 </div>
89
90 <div class="header">
91   <div class="headertitle">
92 <div class="title">wimlib.h</div>  </div>
93 </div><!--header-->
94 <div class="contents">
95 <a href="wimlib_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/*</span>
96 <a name="l00002"></a>00002 <span class="comment"> * wimlib.h</span>
97 <a name="l00003"></a>00003 <span class="comment"> *</span>
98 <a name="l00004"></a>00004 <span class="comment"> * External header for wimlib.</span>
99 <a name="l00005"></a>00005 <span class="comment"> *</span>
100 <a name="l00006"></a>00006 <span class="comment"> * Copyright (C) 2012 Eric Biggers</span>
101 <a name="l00007"></a>00007 <span class="comment"> *</span>
102 <a name="l00008"></a>00008 <span class="comment"> * wimlib - Library for working with WIM files </span>
103 <a name="l00009"></a>00009 <span class="comment"> *</span>
104 <a name="l00010"></a>00010 <span class="comment"> * This library is free software; you can redistribute it and/or modify it under</span>
105 <a name="l00011"></a>00011 <span class="comment"> * the terms of the GNU Lesser General Public License as published by the Free</span>
106 <a name="l00012"></a>00012 <span class="comment"> * Software Foundation; either version 2.1 of the License, or (at your option) any</span>
107 <a name="l00013"></a>00013 <span class="comment"> * later version.</span>
108 <a name="l00014"></a>00014 <span class="comment"> *</span>
109 <a name="l00015"></a>00015 <span class="comment"> * This library is distributed in the hope that it will be useful, but WITHOUT ANY</span>
110 <a name="l00016"></a>00016 <span class="comment"> * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A</span>
111 <a name="l00017"></a>00017 <span class="comment"> * PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.</span>
112 <a name="l00018"></a>00018 <span class="comment"> *</span>
113 <a name="l00019"></a>00019 <span class="comment"> * You should have received a copy of the GNU Lesser General Public License along</span>
114 <a name="l00020"></a>00020 <span class="comment"> * with this library; if not, write to the Free Software Foundation, Inc., 59</span>
115 <a name="l00021"></a>00021 <span class="comment"> * Temple Place, Suite 330, Boston, MA 02111-1307 USA </span>
116 <a name="l00022"></a>00022 <span class="comment"> */</span>
117 <a name="l00023"></a>00023 
118 <a name="l00189"></a>00189 <span class="preprocessor">#ifndef _WIMLIB_H</span>
119 <a name="l00190"></a>00190 <span class="preprocessor"></span><span class="preprocessor">#define _WIMLIB_H</span>
120 <a name="l00191"></a>00191 <span class="preprocessor"></span>
121 <a name="l00192"></a>00192 <span class="preprocessor">#include &lt;stdio.h&gt;</span>
122 <a name="l00193"></a>00193 <span class="preprocessor">#include &lt;stddef.h&gt;</span>
123 <a name="l00194"></a>00194 <span class="preprocessor">#include &lt;stdbool.h&gt;</span>
124 <a name="l00195"></a>00195 
125 <a name="l00196"></a>00196 <span class="preprocessor">#ifndef _WIMLIB_INTERNAL_H</span>
126 <a name="l00197"></a>00197 <span class="preprocessor"></span>
127 <a name="l00200"></a><a class="code" href="wimlib_8h.html#a8d4f2d1c1110b4519054e55d26b73775">00200</a> <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="wimlib_8h.html#a8d4f2d1c1110b4519054e55d26b73775" title="Opaque structure that represents a WIM file.">WIMStruct</a> <a class="code" href="wimlib_8h.html#a8d4f2d1c1110b4519054e55d26b73775" title="Opaque structure that represents a WIM file.">WIMStruct</a>;
128 <a name="l00201"></a>00201 <span class="preprocessor">#endif</span>
129 <a name="l00202"></a>00202 <span class="preprocessor"></span>
130 <a name="l00207"></a><a class="code" href="wimlib_8h.html#ab928fd5c63d88cabe44248aa80cd89cd">00207</a> <span class="keyword">enum</span> <a class="code" href="wimlib_8h.html#ab928fd5c63d88cabe44248aa80cd89cd" title="Specifies the way in which identical files are linked when extracting image(s) from the WIM...">wim_link_type</a> {
131 <a name="l00209"></a><a class="code" href="wimlib_8h.html#ab928fd5c63d88cabe44248aa80cd89cda92a57ffc9dd3ffe3c7ffe8a510248f6b">00209</a>         <a class="code" href="wimlib_8h.html#ab928fd5c63d88cabe44248aa80cd89cda92a57ffc9dd3ffe3c7ffe8a510248f6b" title="Hard link identical files when extracting files from the WIM.">WIM_LINK_TYPE_HARD</a> = 0,
132 <a name="l00211"></a><a class="code" href="wimlib_8h.html#ab928fd5c63d88cabe44248aa80cd89cda46930507983a8f19967b4ce70096cbc4">00211</a>         <a class="code" href="wimlib_8h.html#ab928fd5c63d88cabe44248aa80cd89cda46930507983a8f19967b4ce70096cbc4" title="Symbolic link identical files when extracting files from the WIM.">WIM_LINK_TYPE_SYMBOLIC</a> = 1,
133 <a name="l00214"></a><a class="code" href="wimlib_8h.html#ab928fd5c63d88cabe44248aa80cd89cda3fc28562b4bad4e8440ad0ae64fe8590">00214</a>         <a class="code" href="wimlib_8h.html#ab928fd5c63d88cabe44248aa80cd89cda3fc28562b4bad4e8440ad0ae64fe8590" title="Do not create links when extracting identical files from the WIM (default).">WIM_LINK_TYPE_NONE</a> = 2,
134 <a name="l00215"></a>00215 };
135 <a name="l00216"></a>00216 
136 <a name="l00221"></a><a class="code" href="wimlib_8h.html#a918227f354c41d79fe04227ef4236dc3">00221</a> <span class="keyword">enum</span> <a class="code" href="wimlib_8h.html#a918227f354c41d79fe04227ef4236dc3" title="Specifies the compression type of a WIM file.">wim_compression_type</a> {
137 <a name="l00223"></a><a class="code" href="wimlib_8h.html#a918227f354c41d79fe04227ef4236dc3a227d9907ab3a1c74c73663fd3a3788cb">00223</a>         <a class="code" href="wimlib_8h.html#a918227f354c41d79fe04227ef4236dc3a227d9907ab3a1c74c73663fd3a3788cb" title="An invalid compression type.">WIM_COMPRESSION_TYPE_INVALID</a> = -1,
138 <a name="l00224"></a>00224 
139 <a name="l00226"></a><a class="code" href="wimlib_8h.html#a918227f354c41d79fe04227ef4236dc3a40a80e7cd4eab161fa83a992c7e7f18d">00226</a>         <a class="code" href="wimlib_8h.html#a918227f354c41d79fe04227ef4236dc3a40a80e7cd4eab161fa83a992c7e7f18d" title="The WIM does not include any compressed resources.">WIM_COMPRESSION_TYPE_NONE</a> = 0,
140 <a name="l00227"></a>00227 
141 <a name="l00229"></a><a class="code" href="wimlib_8h.html#a918227f354c41d79fe04227ef4236dc3ab9005cbbca106cae485fe8c933d8fcd1">00229</a>         <a class="code" href="wimlib_8h.html#a918227f354c41d79fe04227ef4236dc3ab9005cbbca106cae485fe8c933d8fcd1" title="Compressed resources in the WIM use LZX compression.">WIM_COMPRESSION_TYPE_LZX</a> = 1,
142 <a name="l00230"></a>00230 
143 <a name="l00232"></a><a class="code" href="wimlib_8h.html#a918227f354c41d79fe04227ef4236dc3a402be8692b2d8f80b3948bec5717865b">00232</a>         <a class="code" href="wimlib_8h.html#a918227f354c41d79fe04227ef4236dc3a402be8692b2d8f80b3948bec5717865b" title="Compressed resources in the WIM use XPRESS compression.">WIM_COMPRESSION_TYPE_XPRESS</a> = 2,
144 <a name="l00233"></a>00233 };
145 <a name="l00234"></a>00234 
146 <a name="l00236"></a><a class="code" href="wimlib_8h.html#a2e4cb1e44b40191234889705e3680622">00236</a> <span class="preprocessor">#define WIMLIB_MOUNT_FLAG_READWRITE             0x1</span>
147 <a name="l00237"></a>00237 <span class="preprocessor"></span>
148 <a name="l00239"></a><a class="code" href="wimlib_8h.html#a8b1f4c3c91727e1c77130ad4970eb4fe">00239</a> <span class="preprocessor">#define WIMLIB_MOUNT_FLAG_DEBUG                 0x2</span>
149 <a name="l00240"></a>00240 <span class="preprocessor"></span>
150 <a name="l00243"></a><a class="code" href="wimlib_8h.html#ac6c58eaa35aab1ada4764786bc379316">00243</a> <span class="preprocessor">#define WIMLIB_UNMOUNT_FLAG_CHECK_INTEGRITY     0x1</span>
151 <a name="l00244"></a>00244 <span class="preprocessor"></span>
152 <a name="l00247"></a><a class="code" href="wimlib_8h.html#a714d1722c8a7ca735228622b36a2686f">00247</a> <span class="preprocessor">#define WIMLIB_UNMOUNT_FLAG_COMMIT              0x2</span>
153 <a name="l00248"></a>00248 <span class="preprocessor"></span>
154 <a name="l00250"></a><a class="code" href="wimlib_8h.html#a8872d952cd82da473169f149e3c1edef">00250</a> <span class="preprocessor">#define WIMLIB_WRITE_FLAG_CHECK_INTEGRITY       0x1</span>
155 <a name="l00251"></a>00251 <span class="preprocessor"></span>
156 <a name="l00253"></a><a class="code" href="wimlib_8h.html#a3677fc92a7cef0be997f0b46cf86aafc">00253</a> <span class="preprocessor">#define WIMLIB_WRITE_FLAG_SHOW_PROGRESS         0x2</span>
157 <a name="l00254"></a>00254 <span class="preprocessor"></span>
158 <a name="l00256"></a><a class="code" href="wimlib_8h.html#a7eca1bdfed42090113489710811cad84">00256</a> <span class="preprocessor">#define WIMLIB_ADD_IMAGE_FLAG_BOOT              0x1</span>
159 <a name="l00257"></a>00257 <span class="preprocessor"></span>
160 <a name="l00259"></a><a class="code" href="wimlib_8h.html#ab3845f7a365ff9a07f74e1b812d91eaf">00259</a> <span class="preprocessor">#define WIMLIB_EXPORT_FLAG_BOOT                 0x1</span>
161 <a name="l00260"></a>00260 <span class="preprocessor"></span>
162 <a name="l00262"></a><a class="code" href="wimlib_8h.html#a5e75328028ae5154a5e84ba666eb024f">00262</a> <span class="preprocessor">#define WIMLIB_OPEN_FLAG_CHECK_INTEGRITY        0x1</span>
163 <a name="l00263"></a>00263 <span class="preprocessor"></span>
164 <a name="l00265"></a><a class="code" href="wimlib_8h.html#ab0f497006447480fc69cf0d0b1846be7">00265</a> <span class="preprocessor">#define WIMLIB_OPEN_FLAG_SHOW_PROGRESS          0x2</span>
165 <a name="l00266"></a>00266 <span class="preprocessor"></span>
166 <a name="l00273"></a><a class="code" href="wimlib_8h.html#adbc3c5b05b4cf56b81b9c947f3489cb3">00273</a> <span class="keyword">enum</span> <a class="code" href="wimlib_8h.html#adbc3c5b05b4cf56b81b9c947f3489cb3" title="Possible values of the error code returned by many functions in wimlib.">wimlib_error_code</a> {
167 <a name="l00274"></a><a class="code" href="wimlib_8h.html#adbc3c5b05b4cf56b81b9c947f3489cb3aa4bae7ea2b9570922043fbfd17a8c98c">00274</a>         <a class="code" href="wimlib_8h.html#adbc3c5b05b4cf56b81b9c947f3489cb3aa4bae7ea2b9570922043fbfd17a8c98c">WIMLIB_ERR_SUCCESS</a> = 0,
168 <a name="l00275"></a><a class="code" href="wimlib_8h.html#adbc3c5b05b4cf56b81b9c947f3489cb3afc905e18a1006ec4b6dc9f50545347e6">00275</a>         <a class="code" href="wimlib_8h.html#adbc3c5b05b4cf56b81b9c947f3489cb3afc905e18a1006ec4b6dc9f50545347e6">WIMLIB_ERR_COMPRESSED_LOOKUP_TABLE</a>,
169 <a name="l00276"></a><a class="code" href="wimlib_8h.html#adbc3c5b05b4cf56b81b9c947f3489cb3a17cdbd39e7e24fee224b09f066c35854">00276</a>         <a class="code" href="wimlib_8h.html#adbc3c5b05b4cf56b81b9c947f3489cb3a17cdbd39e7e24fee224b09f066c35854">WIMLIB_ERR_DECOMPRESSION</a>,
170 <a name="l00277"></a><a class="code" href="wimlib_8h.html#adbc3c5b05b4cf56b81b9c947f3489cb3ae871c4c1f4cb403a6865ed8fd53cf8c6">00277</a>         <a class="code" href="wimlib_8h.html#adbc3c5b05b4cf56b81b9c947f3489cb3ae871c4c1f4cb403a6865ed8fd53cf8c6">WIMLIB_ERR_DELETE_STAGING_DIR</a>,
171 <a name="l00278"></a><a class="code" href="wimlib_8h.html#adbc3c5b05b4cf56b81b9c947f3489cb3abae4b9232cbaa851ab859a603b7da8b9">00278</a>         <a class="code" href="wimlib_8h.html#adbc3c5b05b4cf56b81b9c947f3489cb3abae4b9232cbaa851ab859a603b7da8b9">WIMLIB_ERR_FORK</a>,
172 <a name="l00279"></a><a class="code" href="wimlib_8h.html#adbc3c5b05b4cf56b81b9c947f3489cb3a9f9ce102f70c7eb8413ca9e2e1e68e5c">00279</a>         <a class="code" href="wimlib_8h.html#adbc3c5b05b4cf56b81b9c947f3489cb3a9f9ce102f70c7eb8413ca9e2e1e68e5c">WIMLIB_ERR_FUSE</a>,
173 <a name="l00280"></a><a class="code" href="wimlib_8h.html#adbc3c5b05b4cf56b81b9c947f3489cb3a4904c625f4cc7cf22b2d8e8d975b9ac3">00280</a>         <a class="code" href="wimlib_8h.html#adbc3c5b05b4cf56b81b9c947f3489cb3a4904c625f4cc7cf22b2d8e8d975b9ac3">WIMLIB_ERR_FUSERMOUNT</a>,
174 <a name="l00281"></a><a class="code" href="wimlib_8h.html#adbc3c5b05b4cf56b81b9c947f3489cb3ab39d4d9d0164721e9d9b1ebe76fa1af4">00281</a>         <a class="code" href="wimlib_8h.html#adbc3c5b05b4cf56b81b9c947f3489cb3ab39d4d9d0164721e9d9b1ebe76fa1af4">WIMLIB_ERR_IMAGE_COUNT</a>,
175 <a name="l00282"></a><a class="code" href="wimlib_8h.html#adbc3c5b05b4cf56b81b9c947f3489cb3a53622e3573c79fbd3415b22d686f0e32">00282</a>         <a class="code" href="wimlib_8h.html#adbc3c5b05b4cf56b81b9c947f3489cb3a53622e3573c79fbd3415b22d686f0e32">WIMLIB_ERR_IMAGE_NAME_COLLISION</a>,
176 <a name="l00283"></a><a class="code" href="wimlib_8h.html#adbc3c5b05b4cf56b81b9c947f3489cb3ae09c379ce896a926c198382b5abd146c">00283</a>         <a class="code" href="wimlib_8h.html#adbc3c5b05b4cf56b81b9c947f3489cb3ae09c379ce896a926c198382b5abd146c">WIMLIB_ERR_INTEGRITY</a>,
177 <a name="l00284"></a><a class="code" href="wimlib_8h.html#adbc3c5b05b4cf56b81b9c947f3489cb3ab00472ac204ded42b9281674c88df470">00284</a>         <a class="code" href="wimlib_8h.html#adbc3c5b05b4cf56b81b9c947f3489cb3ab00472ac204ded42b9281674c88df470">WIMLIB_ERR_INVALID_CHUNK_SIZE</a>,
178 <a name="l00285"></a><a class="code" href="wimlib_8h.html#adbc3c5b05b4cf56b81b9c947f3489cb3ae986e4bb4242d5b504431dd3afe230f3">00285</a>         <a class="code" href="wimlib_8h.html#adbc3c5b05b4cf56b81b9c947f3489cb3ae986e4bb4242d5b504431dd3afe230f3">WIMLIB_ERR_INVALID_COMPRESSION_TYPE</a>,
179 <a name="l00286"></a><a class="code" href="wimlib_8h.html#adbc3c5b05b4cf56b81b9c947f3489cb3a7fbc30f242fc86e7bd3566240b038dd1">00286</a>         <a class="code" href="wimlib_8h.html#adbc3c5b05b4cf56b81b9c947f3489cb3a7fbc30f242fc86e7bd3566240b038dd1">WIMLIB_ERR_INVALID_DENTRY</a>,
180 <a name="l00287"></a><a class="code" href="wimlib_8h.html#adbc3c5b05b4cf56b81b9c947f3489cb3abf075122c97df6c119f68ec2ff3f23ef">00287</a>         <a class="code" href="wimlib_8h.html#adbc3c5b05b4cf56b81b9c947f3489cb3abf075122c97df6c119f68ec2ff3f23ef">WIMLIB_ERR_INVALID_HEADER_SIZE</a>,
181 <a name="l00288"></a><a class="code" href="wimlib_8h.html#adbc3c5b05b4cf56b81b9c947f3489cb3a017191172566b498762b0b2086375d34">00288</a>         <a class="code" href="wimlib_8h.html#adbc3c5b05b4cf56b81b9c947f3489cb3a017191172566b498762b0b2086375d34">WIMLIB_ERR_INVALID_IMAGE</a>,
182 <a name="l00289"></a><a class="code" href="wimlib_8h.html#adbc3c5b05b4cf56b81b9c947f3489cb3a27059fce595541a9317064c53f7a795b">00289</a>         <a class="code" href="wimlib_8h.html#adbc3c5b05b4cf56b81b9c947f3489cb3a27059fce595541a9317064c53f7a795b">WIMLIB_ERR_INVALID_INTEGRITY_TABLE</a>,
183 <a name="l00290"></a><a class="code" href="wimlib_8h.html#adbc3c5b05b4cf56b81b9c947f3489cb3a2efdcdd644ee843e2df59d8448e29df9">00290</a>         <a class="code" href="wimlib_8h.html#adbc3c5b05b4cf56b81b9c947f3489cb3a2efdcdd644ee843e2df59d8448e29df9">WIMLIB_ERR_INVALID_PARAM</a>,
184 <a name="l00291"></a><a class="code" href="wimlib_8h.html#adbc3c5b05b4cf56b81b9c947f3489cb3a8d9adfd811673113450eac354f182f64">00291</a>         <a class="code" href="wimlib_8h.html#adbc3c5b05b4cf56b81b9c947f3489cb3a8d9adfd811673113450eac354f182f64">WIMLIB_ERR_INVALID_RESOURCE_SIZE</a>,
185 <a name="l00292"></a><a class="code" href="wimlib_8h.html#adbc3c5b05b4cf56b81b9c947f3489cb3ab0834a780138563bbe1abb596ef744de">00292</a>         <a class="code" href="wimlib_8h.html#adbc3c5b05b4cf56b81b9c947f3489cb3ab0834a780138563bbe1abb596ef744de">WIMLIB_ERR_LINK</a>,
186 <a name="l00293"></a><a class="code" href="wimlib_8h.html#adbc3c5b05b4cf56b81b9c947f3489cb3a9f7333fcfe6e6da478bd03e8e11f3674">00293</a>         <a class="code" href="wimlib_8h.html#adbc3c5b05b4cf56b81b9c947f3489cb3a9f7333fcfe6e6da478bd03e8e11f3674">WIMLIB_ERR_MKDIR</a>,
187 <a name="l00294"></a><a class="code" href="wimlib_8h.html#adbc3c5b05b4cf56b81b9c947f3489cb3af07f0e13ff2fc210f4032f38cd525dc6">00294</a>         <a class="code" href="wimlib_8h.html#adbc3c5b05b4cf56b81b9c947f3489cb3af07f0e13ff2fc210f4032f38cd525dc6">WIMLIB_ERR_MQUEUE</a>,
188 <a name="l00295"></a><a class="code" href="wimlib_8h.html#adbc3c5b05b4cf56b81b9c947f3489cb3a929bc52e6eefdb980cdd4fa213fff308">00295</a>         <a class="code" href="wimlib_8h.html#adbc3c5b05b4cf56b81b9c947f3489cb3a929bc52e6eefdb980cdd4fa213fff308">WIMLIB_ERR_NOMEM</a>,
189 <a name="l00296"></a><a class="code" href="wimlib_8h.html#adbc3c5b05b4cf56b81b9c947f3489cb3ac12f8ffc5380e07bb8db74ae59a6c367">00296</a>         <a class="code" href="wimlib_8h.html#adbc3c5b05b4cf56b81b9c947f3489cb3ac12f8ffc5380e07bb8db74ae59a6c367">WIMLIB_ERR_NOTDIR</a>,
190 <a name="l00297"></a><a class="code" href="wimlib_8h.html#adbc3c5b05b4cf56b81b9c947f3489cb3a5c913db1f7317bfdf6ba5a8bc0a50df3">00297</a>         <a class="code" href="wimlib_8h.html#adbc3c5b05b4cf56b81b9c947f3489cb3a5c913db1f7317bfdf6ba5a8bc0a50df3">WIMLIB_ERR_NOT_A_WIM_FILE</a>,
191 <a name="l00298"></a><a class="code" href="wimlib_8h.html#adbc3c5b05b4cf56b81b9c947f3489cb3a5f054f1a9c88f225dd2b34d188c773fa">00298</a>         <a class="code" href="wimlib_8h.html#adbc3c5b05b4cf56b81b9c947f3489cb3a5f054f1a9c88f225dd2b34d188c773fa">WIMLIB_ERR_NO_FILENAME</a>,
192 <a name="l00299"></a><a class="code" href="wimlib_8h.html#adbc3c5b05b4cf56b81b9c947f3489cb3a865c561baec6f70d23af0bead737cd62">00299</a>         <a class="code" href="wimlib_8h.html#adbc3c5b05b4cf56b81b9c947f3489cb3a865c561baec6f70d23af0bead737cd62">WIMLIB_ERR_OPEN</a>,
193 <a name="l00300"></a><a class="code" href="wimlib_8h.html#adbc3c5b05b4cf56b81b9c947f3489cb3a4af11de62a3fc0778325341cdfad22a3">00300</a>         <a class="code" href="wimlib_8h.html#adbc3c5b05b4cf56b81b9c947f3489cb3a4af11de62a3fc0778325341cdfad22a3">WIMLIB_ERR_OPENDIR</a>,
194 <a name="l00301"></a><a class="code" href="wimlib_8h.html#adbc3c5b05b4cf56b81b9c947f3489cb3a2bac238cfb0689bcc7cea53be74938ad">00301</a>         <a class="code" href="wimlib_8h.html#adbc3c5b05b4cf56b81b9c947f3489cb3a2bac238cfb0689bcc7cea53be74938ad">WIMLIB_ERR_READ</a>,
195 <a name="l00302"></a><a class="code" href="wimlib_8h.html#adbc3c5b05b4cf56b81b9c947f3489cb3a5a04d4829ff13a775dc70bc456fc1b85">00302</a>         <a class="code" href="wimlib_8h.html#adbc3c5b05b4cf56b81b9c947f3489cb3a5a04d4829ff13a775dc70bc456fc1b85">WIMLIB_ERR_RENAME</a>,
196 <a name="l00303"></a><a class="code" href="wimlib_8h.html#adbc3c5b05b4cf56b81b9c947f3489cb3a25572961411c800d61c9fe7afaf99257">00303</a>         <a class="code" href="wimlib_8h.html#adbc3c5b05b4cf56b81b9c947f3489cb3a25572961411c800d61c9fe7afaf99257">WIMLIB_ERR_SPLIT</a>,
197 <a name="l00304"></a><a class="code" href="wimlib_8h.html#adbc3c5b05b4cf56b81b9c947f3489cb3a6b3d64e2851d6bae6fb47eec35f3a6fc">00304</a>         <a class="code" href="wimlib_8h.html#adbc3c5b05b4cf56b81b9c947f3489cb3a6b3d64e2851d6bae6fb47eec35f3a6fc">WIMLIB_ERR_STAT</a>,
198 <a name="l00305"></a><a class="code" href="wimlib_8h.html#adbc3c5b05b4cf56b81b9c947f3489cb3aee3c028a9b33d020312343fddfe9febe">00305</a>         <a class="code" href="wimlib_8h.html#adbc3c5b05b4cf56b81b9c947f3489cb3aee3c028a9b33d020312343fddfe9febe">WIMLIB_ERR_TIMEOUT</a>,
199 <a name="l00306"></a><a class="code" href="wimlib_8h.html#adbc3c5b05b4cf56b81b9c947f3489cb3a7a8347db84e4b9656cef81ee16da25fe">00306</a>         <a class="code" href="wimlib_8h.html#adbc3c5b05b4cf56b81b9c947f3489cb3a7a8347db84e4b9656cef81ee16da25fe">WIMLIB_ERR_UNKNOWN_VERSION</a>,
200 <a name="l00307"></a><a class="code" href="wimlib_8h.html#adbc3c5b05b4cf56b81b9c947f3489cb3aaa41915cef472931ace2c8392c9809ac">00307</a>         <a class="code" href="wimlib_8h.html#adbc3c5b05b4cf56b81b9c947f3489cb3aaa41915cef472931ace2c8392c9809ac">WIMLIB_ERR_UNSUPPORTED</a>,
201 <a name="l00308"></a><a class="code" href="wimlib_8h.html#adbc3c5b05b4cf56b81b9c947f3489cb3a607a3cd64b77332bdfc9e14b26f47879">00308</a>         <a class="code" href="wimlib_8h.html#adbc3c5b05b4cf56b81b9c947f3489cb3a607a3cd64b77332bdfc9e14b26f47879">WIMLIB_ERR_WRITE</a>,
202 <a name="l00309"></a><a class="code" href="wimlib_8h.html#adbc3c5b05b4cf56b81b9c947f3489cb3a19a89e814cdebed5629332de6b26d5a6">00309</a>         <a class="code" href="wimlib_8h.html#adbc3c5b05b4cf56b81b9c947f3489cb3a19a89e814cdebed5629332de6b26d5a6">WIMLIB_ERR_XML</a>,
203 <a name="l00310"></a>00310 };
204 <a name="l00311"></a>00311 
205 <a name="l00312"></a>00312 
206 <a name="l00314"></a><a class="code" href="wimlib_8h.html#ad69901bf7b1e99e40366ef14c4a1940b">00314</a> <span class="preprocessor">#define WIM_NO_IMAGE    0</span>
207 <a name="l00315"></a>00315 <span class="preprocessor"></span>
208 <a name="l00317"></a><a class="code" href="wimlib_8h.html#a3145442fb4d62fe894961fa7555e9b8d">00317</a> <span class="preprocessor">#define WIM_ALL_IMAGES  (-1)</span>
209 <a name="l00318"></a>00318 <span class="preprocessor"></span>
210 <a name="l00319"></a>00319 
211 <a name="l00372"></a>00372 <span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="wimlib_8h.html#a27ff93a6c6e9df370a6aa1eff753bb43" title="Adds an image to a WIM file from a directory tree on disk.">wimlib_add_image</a>(<a class="code" href="wimlib_8h.html#a8d4f2d1c1110b4519054e55d26b73775" title="Opaque structure that represents a WIM file.">WIMStruct</a> *wim, <span class="keyword">const</span> <span class="keywordtype">char</span> *dir, 
212 <a name="l00373"></a>00373                             <span class="keyword">const</span> <span class="keywordtype">char</span> *name, <span class="keyword">const</span> <span class="keywordtype">char</span> *description, 
213 <a name="l00374"></a>00374                             <span class="keyword">const</span> <span class="keywordtype">char</span> *flags_element, <span class="keywordtype">int</span> flags);
214 <a name="l00375"></a>00375 
215 <a name="l00395"></a>00395 <span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="wimlib_8h.html#a75acbea33e2faf398d58865fb764b91e" title="Creates a WIMStruct for a new WIM file.">wimlib_create_new_wim</a>(<span class="keywordtype">int</span> ctype, <a class="code" href="wimlib_8h.html#a8d4f2d1c1110b4519054e55d26b73775" title="Opaque structure that represents a WIM file.">WIMStruct</a> **wim_ret);
216 <a name="l00396"></a>00396 
217 <a name="l00423"></a>00423 <span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="wimlib_8h.html#ac47d66568b267b7b107fffeb2cdfd25c" title="Deletes an image, or all images, from a WIM file.">wimlib_delete_image</a>(<a class="code" href="wimlib_8h.html#a8d4f2d1c1110b4519054e55d26b73775" title="Opaque structure that represents a WIM file.">WIMStruct</a> *wim, <span class="keywordtype">int</span> image);
218 <a name="l00424"></a>00424 
219 <a name="l00482"></a>00482 <span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="wimlib_8h.html#af49355f807099e8d1fd7e60e6005a339" title="Copies an image, or all the images, from a WIM file, into another WIM file.">wimlib_export_image</a>(<a class="code" href="wimlib_8h.html#a8d4f2d1c1110b4519054e55d26b73775" title="Opaque structure that represents a WIM file.">WIMStruct</a> *src_wim, <span class="keywordtype">int</span> src_image, 
220 <a name="l00483"></a>00483                         <a class="code" href="wimlib_8h.html#a8d4f2d1c1110b4519054e55d26b73775" title="Opaque structure that represents a WIM file.">WIMStruct</a> *dest_wim, <span class="keyword">const</span> <span class="keywordtype">char</span> *dest_name, 
221 <a name="l00484"></a>00484                         <span class="keyword">const</span> <span class="keywordtype">char</span> *dest_description, <span class="keywordtype">int</span> flags);
222 <a name="l00485"></a>00485 
223 <a name="l00526"></a>00526 <span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="wimlib_8h.html#a6a681ff211ec60f05a6ac5f743b17f65" title="Extracts an image, or all images, from a WIM file.">wimlib_extract_image</a>(<a class="code" href="wimlib_8h.html#a8d4f2d1c1110b4519054e55d26b73775" title="Opaque structure that represents a WIM file.">WIMStruct</a> *wim, <span class="keywordtype">int</span> image);
224 <a name="l00527"></a>00527 
225 <a name="l00541"></a>00541 <span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="wimlib_8h.html#a63ae979394ba582d7c3a4e0132f209c7" title="Extracts the XML data for a WIM file to a file stream.">wimlib_extract_xml_data</a>(<a class="code" href="wimlib_8h.html#a8d4f2d1c1110b4519054e55d26b73775" title="Opaque structure that represents a WIM file.">WIMStruct</a> *wim, FILE *fp);
226 <a name="l00542"></a>00542 
227 <a name="l00552"></a>00552 <span class="keyword">extern</span> <span class="keywordtype">void</span> <a class="code" href="wimlib_8h.html#a36a722a1651ff46b2f5a11a445c6fd73" title="Frees all memory allocated for a WIMStruct and closes all files associated with it.">wimlib_free</a>(<a class="code" href="wimlib_8h.html#a8d4f2d1c1110b4519054e55d26b73775" title="Opaque structure that represents a WIM file.">WIMStruct</a> *wim);
228 <a name="l00553"></a>00553 
229 <a name="l00564"></a>00564 <span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="wimlib_8h.html#ae4cd7e230f7c76b98f9505b5858ab8b1" title="Finds which image in a WIM is bootable.">wimlib_get_boot_idx</a>(<span class="keyword">const</span> <a class="code" href="wimlib_8h.html#a8d4f2d1c1110b4519054e55d26b73775" title="Opaque structure that represents a WIM file.">WIMStruct</a> *wim);
230 <a name="l00565"></a>00565 
231 <a name="l00576"></a>00576 <span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="wimlib_8h.html#a0ed735afc24bd8ee0aad106066f27df0" title="Gets the compression type used in the WIM.">wimlib_get_compression_type</a>(<span class="keyword">const</span> <a class="code" href="wimlib_8h.html#a8d4f2d1c1110b4519054e55d26b73775" title="Opaque structure that represents a WIM file.">WIMStruct</a> *wim);
232 <a name="l00577"></a>00577 
233 <a name="l00589"></a>00589 <span class="keyword">extern</span> <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="wimlib_8h.html#a8f883a95dd091f4566eeb2a097542bc9" title="Converts a compression type enumeration value into a string.">wimlib_get_compression_type_string</a>(<span class="keywordtype">int</span> ctype);
234 <a name="l00590"></a>00590 
235 <a name="l00601"></a>00601 <span class="keyword">extern</span> <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="wimlib_8h.html#a4cad466851acb2f24ba4af35b27003b7" title="Converts an error code into a string describing it.">wimlib_get_error_string</a>(<span class="keyword">enum</span> <a class="code" href="wimlib_8h.html#adbc3c5b05b4cf56b81b9c947f3489cb3" title="Possible values of the error code returned by many functions in wimlib.">wimlib_error_code</a> code);
236 <a name="l00602"></a>00602 
237 <a name="l00615"></a>00615 <span class="keyword">extern</span> <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="wimlib_8h.html#a6ce758e0a3842cd8cde827f29dce539a" title="Returns the description of the specified image.">wimlib_get_image_description</a>(<span class="keyword">const</span> <a class="code" href="wimlib_8h.html#a8d4f2d1c1110b4519054e55d26b73775" title="Opaque structure that represents a WIM file.">WIMStruct</a> *wim, <span class="keywordtype">int</span> image);
238 <a name="l00616"></a>00616 
239 <a name="l00628"></a>00628 <span class="keyword">extern</span> <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="wimlib_8h.html#a43aae473e66cb05a502fee8f59e95953" title="Returns the name of the specified image.">wimlib_get_image_name</a>(<span class="keyword">const</span> <a class="code" href="wimlib_8h.html#a8d4f2d1c1110b4519054e55d26b73775" title="Opaque structure that represents a WIM file.">WIMStruct</a> *wim, <span class="keywordtype">int</span> image);
240 <a name="l00629"></a>00629 
241 <a name="l00630"></a>00630 
242 <a name="l00640"></a>00640 <span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="wimlib_8h.html#a9438157c8b2f3576c52bd82b2a873c33" title="Gets the number of images contained in the WIM.">wimlib_get_num_images</a>(<span class="keyword">const</span> <a class="code" href="wimlib_8h.html#a8d4f2d1c1110b4519054e55d26b73775" title="Opaque structure that represents a WIM file.">WIMStruct</a> *wim);
243 <a name="l00641"></a>00641 
244 <a name="l00650"></a>00650 <span class="keywordtype">bool</span> <a class="code" href="wimlib_8h.html#a56fb949c6316fe44263074eda41b1e9e" title="Returns true if the WIM has an integrity table.">wimlib_has_integrity_table</a>(<span class="keyword">const</span> <a class="code" href="wimlib_8h.html#a8d4f2d1c1110b4519054e55d26b73775" title="Opaque structure that represents a WIM file.">WIMStruct</a> *wim);
245 <a name="l00651"></a>00651 
246 <a name="l00652"></a>00652 
247 <a name="l00665"></a>00665 <span class="keyword">extern</span> <span class="keywordtype">bool</span> <a class="code" href="wimlib_8h.html#af7122e05c58edd9091a3fa89b044957c" title="Determines if an image name is already used by some image in the WIM.">wimlib_image_name_in_use</a>(<span class="keyword">const</span> <a class="code" href="wimlib_8h.html#a8d4f2d1c1110b4519054e55d26b73775" title="Opaque structure that represents a WIM file.">WIMStruct</a> *wim, <span class="keyword">const</span> <span class="keywordtype">char</span> *name);
248 <a name="l00666"></a>00666 
249 <a name="l00716"></a>00716 <span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="wimlib_8h.html#aa6c0a2c2b896530718bd23e433b07e46" title="Mounts an image in a WIM file on a directory read-only or read-write.">wimlib_mount</a>(<a class="code" href="wimlib_8h.html#a8d4f2d1c1110b4519054e55d26b73775" title="Opaque structure that represents a WIM file.">WIMStruct</a> *wim, <span class="keywordtype">int</span> image, <span class="keyword">const</span> <span class="keywordtype">char</span> *dir, <span class="keywordtype">int</span> flags);
250 <a name="l00717"></a>00717 
251 <a name="l00784"></a>00784 <span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="wimlib_8h.html#a16e1b87c7ab9eeadc0523a2477bfb0f6" title="Opens a WIM file and creates a WIMStruct for it.">wimlib_open_wim</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *wim_file, <span class="keywordtype">int</span> flags, 
252 <a name="l00785"></a>00785                            <a class="code" href="wimlib_8h.html#a8d4f2d1c1110b4519054e55d26b73775" title="Opaque structure that represents a WIM file.">WIMStruct</a> **wim_ret);
253 <a name="l00786"></a>00786 
254 <a name="l00818"></a>00818 <span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="wimlib_8h.html#ab8648f8386379f2b2930b877e4efd6ca" title="Overwrites the file that the WIM was originally read from, with changes made.">wimlib_overwrite</a>(<a class="code" href="wimlib_8h.html#a8d4f2d1c1110b4519054e55d26b73775" title="Opaque structure that represents a WIM file.">WIMStruct</a> *wim, <span class="keywordtype">int</span> flags);
255 <a name="l00819"></a>00819 
256 <a name="l00855"></a>00855 <span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="wimlib_8h.html#aec658496a01b1ca9dfd97eb9b9a92bb8" title="Updates the header and XML data of the WIM file, without the need to write out the entire WIM to a te...">wimlib_overwrite_xml_and_header</a>(<a class="code" href="wimlib_8h.html#a8d4f2d1c1110b4519054e55d26b73775" title="Opaque structure that represents a WIM file.">WIMStruct</a> *wim, <span class="keywordtype">int</span> flags);
257 <a name="l00856"></a>00856 
258 <a name="l00869"></a>00869 <span class="keyword">extern</span> <span class="keywordtype">void</span> <a class="code" href="wimlib_8h.html#ac5e1163a26407030eb617d0e5aca7cc7" title="Prints information about one image, or all images, contained in a WIM.">wimlib_print_available_images</a>(<span class="keyword">const</span> <a class="code" href="wimlib_8h.html#a8d4f2d1c1110b4519054e55d26b73775" title="Opaque structure that represents a WIM file.">WIMStruct</a> *wim, <span class="keywordtype">int</span> image);
259 <a name="l00870"></a>00870 
260 <a name="l00899"></a>00899 <span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="wimlib_8h.html#a1be7f226c22dbdf3a87c6d887ae34fb0" title="Prints the full paths to all files contained in an image, or all images, in a WIM file...">wimlib_print_files</a>(<a class="code" href="wimlib_8h.html#a8d4f2d1c1110b4519054e55d26b73775" title="Opaque structure that represents a WIM file.">WIMStruct</a> *wim, <span class="keywordtype">int</span> image);
261 <a name="l00900"></a>00900 
262 <a name="l00910"></a>00910 <span class="keyword">extern</span> <span class="keywordtype">void</span> <a class="code" href="wimlib_8h.html#aaa13ab4498e560d947f77ab944fd0b9f" title="Prints detailed information from the header of a WIM file.">wimlib_print_header</a>(<span class="keyword">const</span> <a class="code" href="wimlib_8h.html#a8d4f2d1c1110b4519054e55d26b73775" title="Opaque structure that represents a WIM file.">WIMStruct</a> *wim);
263 <a name="l00911"></a>00911 
264 <a name="l00924"></a>00924 <span class="keyword">extern</span> <span class="keywordtype">void</span> <a class="code" href="wimlib_8h.html#aa6b855c5f6cf59498d1bf4f8da2fcc52" title="Prints the lookup table of a WIM file.">wimlib_print_lookup_table</a>(<a class="code" href="wimlib_8h.html#a8d4f2d1c1110b4519054e55d26b73775" title="Opaque structure that represents a WIM file.">WIMStruct</a> *wim);
265 <a name="l00925"></a>00925 
266 <a name="l00955"></a>00955 <span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="wimlib_8h.html#a837aed1a79e6b3de82dc82ef14a1cc00" title="Prints the metadata of the specified image in a WIM file.">wimlib_print_metadata</a>(<a class="code" href="wimlib_8h.html#a8d4f2d1c1110b4519054e55d26b73775" title="Opaque structure that represents a WIM file.">WIMStruct</a> *wim, <span class="keywordtype">int</span> image);
267 <a name="l00956"></a>00956 
268 <a name="l00968"></a>00968 <span class="keyword">extern</span> <span class="keywordtype">void</span> <a class="code" href="wimlib_8h.html#a22f2fdae09266e8a45a6418afeaee10f" title="Prints some basic information about a WIM file.">wimlib_print_wim_information</a>(<span class="keyword">const</span> <a class="code" href="wimlib_8h.html#a8d4f2d1c1110b4519054e55d26b73775" title="Opaque structure that represents a WIM file.">WIMStruct</a> *wim);
269 <a name="l00969"></a>00969 
270 <a name="l00989"></a>00989 <span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="wimlib_8h.html#a18e40a559010bdf64279268e1a8bab84" title="Translates a string specifying the name or number of an image in the WIM into the number of the image...">wimlib_resolve_image</a>(<a class="code" href="wimlib_8h.html#a8d4f2d1c1110b4519054e55d26b73775" title="Opaque structure that represents a WIM file.">WIMStruct</a> *wim, <span class="keyword">const</span> <span class="keywordtype">char</span> *image_name_or_num);
271 <a name="l00990"></a>00990 
272 <a name="l01004"></a>01004 <span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="wimlib_8h.html#ae93da6be8e7ca228ef788a486d3a3c90" title="Sets which image in the WIM is marked as bootable.">wimlib_set_boot_idx</a>(<a class="code" href="wimlib_8h.html#a8d4f2d1c1110b4519054e55d26b73775" title="Opaque structure that represents a WIM file.">WIMStruct</a> *wim, <span class="keywordtype">int</span> boot_idx);
273 <a name="l01005"></a>01005 
274 <a name="l01024"></a>01024 <span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="wimlib_8h.html#a537d600a9f1e36413cb6566260944187" title="Changes the description of an image in the WIM.">wimlib_set_image_descripton</a>(<a class="code" href="wimlib_8h.html#a8d4f2d1c1110b4519054e55d26b73775" title="Opaque structure that represents a WIM file.">WIMStruct</a> *wim, <span class="keywordtype">int</span> image, 
275 <a name="l01025"></a>01025                                        <span class="keyword">const</span> <span class="keywordtype">char</span> *description);
276 <a name="l01026"></a>01026 
277 <a name="l01047"></a>01047 <span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="wimlib_8h.html#a04cff2065ef690929b4fa1d1b91a9f91" title="Changes the name of an image in the WIM.">wimlib_set_image_name</a>(<a class="code" href="wimlib_8h.html#a8d4f2d1c1110b4519054e55d26b73775" title="Opaque structure that represents a WIM file.">WIMStruct</a> *wim, <span class="keywordtype">int</span> image, <span class="keyword">const</span> <span class="keywordtype">char</span> *name);
278 <a name="l01048"></a>01048 
279 <a name="l01066"></a>01066 <span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="wimlib_8h.html#a61ebe33de7cce54fdeb70b80d8bcaf7c" title="Sets the link type to use when extracting files from a WIM.">wimlib_set_link_type</a>(<a class="code" href="wimlib_8h.html#a8d4f2d1c1110b4519054e55d26b73775" title="Opaque structure that represents a WIM file.">WIMStruct</a> *wim, <span class="keywordtype">int</span> link_type);
280 <a name="l01067"></a>01067 
281 <a name="l01093"></a>01093 <span class="keywordtype">int</span> <a class="code" href="wimlib_8h.html#a956a20eabacceda5230e346ee5cd387f" title="Set the functions that wimlib uses to allocate and free memory.">wimlib_set_memory_allocator</a>(<span class="keywordtype">void</span> *(*malloc_func)(<span class="keywordtype">size_t</span>),
282 <a name="l01094"></a>01094                                  <span class="keywordtype">void</span> (*free_func)(<span class="keywordtype">void</span> *),
283 <a name="l01095"></a>01095                                  <span class="keywordtype">void</span> *(*realloc_func)(<span class="keywordtype">void</span> *, <span class="keywordtype">size_t</span>));
284 <a name="l01096"></a>01096 
285 <a name="l01116"></a>01116 <span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="wimlib_8h.html#a49c39d3c9aa74ac63e1f97da97c20959" title="Sets whether wimlib is to print error messages to stderr when a function fails or not...">wimlib_set_print_errors</a>(<span class="keywordtype">bool</span> show_messages);
286 <a name="l01117"></a>01117 
287 <a name="l01132"></a>01132 <span class="keyword">extern</span> <span class="keywordtype">void</span> <a class="code" href="wimlib_8h.html#a86ac437c91a3a4000e0745ae859d2a13" title="Sets whether wimlib is to be verbose when extracting files from a WIM or when creating an image from ...">wimlib_set_verbose</a>(<a class="code" href="wimlib_8h.html#a8d4f2d1c1110b4519054e55d26b73775" title="Opaque structure that represents a WIM file.">WIMStruct</a> *wim, <span class="keywordtype">bool</span> verbose);
288 <a name="l01133"></a>01133 
289 <a name="l01151"></a>01151 <span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="wimlib_8h.html#ab2a5fd17df52da1517835a05ee9b4965" title="Sets and creates the directory to which files are to be extracted when extracting files from the WIM...">wimlib_set_output_dir</a>(<a class="code" href="wimlib_8h.html#a8d4f2d1c1110b4519054e55d26b73775" title="Opaque structure that represents a WIM file.">WIMStruct</a> *wim, <span class="keyword">const</span> <span class="keywordtype">char</span> *dir);
290 <a name="l01152"></a>01152 
291 <a name="l01209"></a>01209 <span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="wimlib_8h.html#a2e0ba93652ac9372b56f9a67e3dbf1a1" title="Unmounts a WIM image that was mounted using wimlib_mount().">wimlib_unmount</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *dir, <span class="keywordtype">int</span> flags);
292 <a name="l01210"></a>01210 
293 <a name="l01254"></a>01254 <span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="wimlib_8h.html#a968b46d4decee0ff73504ad9b212734e" title="Writes the WIM to a file.">wimlib_write</a>(<a class="code" href="wimlib_8h.html#a8d4f2d1c1110b4519054e55d26b73775" title="Opaque structure that represents a WIM file.">WIMStruct</a> *wim, <span class="keyword">const</span> <span class="keywordtype">char</span> *path, <span class="keywordtype">int</span> image, <span class="keywordtype">int</span> flags);
294 <a name="l01255"></a>01255 
295 <a name="l01256"></a>01256 
296 <a name="l01257"></a>01257 
297 <a name="l01258"></a>01258 <span class="preprocessor">#endif </span><span class="comment">/* _WIMLIB_H */</span>
298 <a name="l01259"></a>01259 
299 </pre></div></div><!-- contents -->
300
301
302 <hr class="footer"/><address class="footer"><small>
303 Generated by &#160;<a href="http://www.doxygen.org/index.html">
304 <img class="footer" src="doxygen.png" alt="doxygen"/>
305 </a> 1.8.0
306 </small></address>
307
308 </body>
309 </html>