1page.title=Storage 2page.customHeadTag=<link rel="stylesheet" type="text/css" href="doxygen-dac.css"> 3@jd:body 4<!-- Generated by Doxygen 1.8.6 --> 5</div><!-- top --> 6<div class="header"> 7 <div class="summary"> 8<a href="#files">Files</a> | 9<a href="#typedef-members">Typedefs</a> | 10<a href="#enum-members">Enumerations</a> | 11<a href="#func-members">Functions</a> </div> 12 <div class="headertitle"> 13<div class="title">Storage</div> </div> 14</div><!--header--> 15<div class="contents"> 16<table class="memberdecls"> 17<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="files"></a> 18Files</h2></td></tr> 19<tr class="memitem:obb_8h"><td class="memItemLeft" align="right" valign="top">file  </td><td class="memItemRight" valign="bottom"><a class="el" href="obb_8h.html">obb.h</a></td></tr> 20<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> 21<tr class="memitem:storage__manager_8h"><td class="memItemLeft" align="right" valign="top">file  </td><td class="memItemRight" valign="bottom"><a class="el" href="storage__manager_8h.html">storage_manager.h</a></td></tr> 22<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> 23</table><table class="memberdecls"> 24<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="typedef-members"></a> 25Typedefs</h2></td></tr> 26<tr class="memitem:gaa5037fe4c0d785a50fc62ac2de9844c3"><td class="memItemLeft" align="right" valign="top">typedef struct <a class="el" href="group___storage.html#gaa5037fe4c0d785a50fc62ac2de9844c3">AObbInfo</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group___storage.html#gaa5037fe4c0d785a50fc62ac2de9844c3">AObbInfo</a></td></tr> 27<tr class="separator:gaa5037fe4c0d785a50fc62ac2de9844c3"><td class="memSeparator" colspan="2"> </td></tr> 28<tr class="memitem:ga419f40803228bca62e32beb911ab28e2"><td class="memItemLeft" align="right" valign="top">typedef struct <a class="el" href="group___storage.html#ga419f40803228bca62e32beb911ab28e2">AStorageManager</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group___storage.html#ga419f40803228bca62e32beb911ab28e2">AStorageManager</a></td></tr> 29<tr class="separator:ga419f40803228bca62e32beb911ab28e2"><td class="memSeparator" colspan="2"> </td></tr> 30<tr class="memitem:gaf077d06586fa4c0212baa2fe458b9617"><td class="memItemLeft" align="right" valign="top">typedef void(* </td><td class="memItemRight" valign="bottom"><a class="el" href="group___storage.html#gaf077d06586fa4c0212baa2fe458b9617">AStorageManager_obbCallbackFunc</a> )(const char *filename, const int32_t state, void *data)</td></tr> 31<tr class="separator:gaf077d06586fa4c0212baa2fe458b9617"><td class="memSeparator" colspan="2"> </td></tr> 32</table><table class="memberdecls"> 33<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="enum-members"></a> 34Enumerations</h2></td></tr> 35<tr class="memitem:gae4d5251432e1a9e6803c0240cc492e18"><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom">{ <a class="el" href="group___storage.html#ggae4d5251432e1a9e6803c0240cc492e18a33e2ae83b4c25d33a4335dccf1de1c3a">AOBBINFO_OVERLAY</a> = 0x0001 36 }</td></tr> 37<tr class="separator:gae4d5251432e1a9e6803c0240cc492e18"><td class="memSeparator" colspan="2"> </td></tr> 38<tr class="memitem:gae8a3b6a5d0d3244ed73924ab2421a0d0"><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom">{ <br/> 39  <a class="el" href="group___storage.html#ggae8a3b6a5d0d3244ed73924ab2421a0d0a2a9c420e6008c108a7198fd861c042d5">AOBB_STATE_MOUNTED</a> = 1, 40<a class="el" href="group___storage.html#ggae8a3b6a5d0d3244ed73924ab2421a0d0a6710bb5b68cfc115eedcde2aafd8a667">AOBB_STATE_UNMOUNTED</a> = 2, 41<a class="el" href="group___storage.html#ggae8a3b6a5d0d3244ed73924ab2421a0d0a50642881107d6673aace1494a5d6fce2">AOBB_STATE_ERROR_INTERNAL</a> = 20, 42<a class="el" href="group___storage.html#ggae8a3b6a5d0d3244ed73924ab2421a0d0a324da2b8fea5875339d442d1f2d0b45b">AOBB_STATE_ERROR_COULD_NOT_MOUNT</a> = 21, 43<br/> 44  <a class="el" href="group___storage.html#ggae8a3b6a5d0d3244ed73924ab2421a0d0a1f2b51b53fc57b57a9967f6ce0c88dbe">AOBB_STATE_ERROR_COULD_NOT_UNMOUNT</a> = 22, 45<a class="el" href="group___storage.html#ggae8a3b6a5d0d3244ed73924ab2421a0d0a3ce8539aa8b531c9de1d16041322d7a8">AOBB_STATE_ERROR_NOT_MOUNTED</a> = 23, 46<a class="el" href="group___storage.html#ggae8a3b6a5d0d3244ed73924ab2421a0d0a8b074af151167a965a550b9829fafb37">AOBB_STATE_ERROR_ALREADY_MOUNTED</a> = 24, 47<a class="el" href="group___storage.html#ggae8a3b6a5d0d3244ed73924ab2421a0d0a2467a4b6a634680e12c288a7790ff66c">AOBB_STATE_ERROR_PERMISSION_DENIED</a> = 25 48<br/> 49 }</td></tr> 50<tr class="separator:gae8a3b6a5d0d3244ed73924ab2421a0d0"><td class="memSeparator" colspan="2"> </td></tr> 51</table><table class="memberdecls"> 52<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a> 53Functions</h2></td></tr> 54<tr class="memitem:ga7beb4f82e3bf9a4b8197917f92ac4d5e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group___storage.html#gaa5037fe4c0d785a50fc62ac2de9844c3">AObbInfo</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="group___storage.html#ga7beb4f82e3bf9a4b8197917f92ac4d5e">AObbScanner_getObbInfo</a> (const char *filename)</td></tr> 55<tr class="separator:ga7beb4f82e3bf9a4b8197917f92ac4d5e"><td class="memSeparator" colspan="2"> </td></tr> 56<tr class="memitem:gaec5a4428008f545e829486099298031a"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group___storage.html#gaec5a4428008f545e829486099298031a">AObbInfo_delete</a> (<a class="el" href="group___storage.html#gaa5037fe4c0d785a50fc62ac2de9844c3">AObbInfo</a> *obbInfo)</td></tr> 57<tr class="separator:gaec5a4428008f545e829486099298031a"><td class="memSeparator" colspan="2"> </td></tr> 58<tr class="memitem:ga1ec7eee61541fa5a9b578801a35b9cf3"><td class="memItemLeft" align="right" valign="top">const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="group___storage.html#ga1ec7eee61541fa5a9b578801a35b9cf3">AObbInfo_getPackageName</a> (<a class="el" href="group___storage.html#gaa5037fe4c0d785a50fc62ac2de9844c3">AObbInfo</a> *obbInfo)</td></tr> 59<tr class="separator:ga1ec7eee61541fa5a9b578801a35b9cf3"><td class="memSeparator" colspan="2"> </td></tr> 60<tr class="memitem:gacd8471c6d866cffe4a32f3b5997c782c"><td class="memItemLeft" align="right" valign="top">int32_t </td><td class="memItemRight" valign="bottom"><a class="el" href="group___storage.html#gacd8471c6d866cffe4a32f3b5997c782c">AObbInfo_getVersion</a> (<a class="el" href="group___storage.html#gaa5037fe4c0d785a50fc62ac2de9844c3">AObbInfo</a> *obbInfo)</td></tr> 61<tr class="separator:gacd8471c6d866cffe4a32f3b5997c782c"><td class="memSeparator" colspan="2"> </td></tr> 62<tr class="memitem:ga68d916570c756da9fd0d9096358300eb"><td class="memItemLeft" align="right" valign="top">int32_t </td><td class="memItemRight" valign="bottom"><a class="el" href="group___storage.html#ga68d916570c756da9fd0d9096358300eb">AObbInfo_getFlags</a> (<a class="el" href="group___storage.html#gaa5037fe4c0d785a50fc62ac2de9844c3">AObbInfo</a> *obbInfo)</td></tr> 63<tr class="separator:ga68d916570c756da9fd0d9096358300eb"><td class="memSeparator" colspan="2"> </td></tr> 64<tr class="memitem:ga1c21ed9e0848fcfc03547c95eeb48877"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group___storage.html#ga419f40803228bca62e32beb911ab28e2">AStorageManager</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="group___storage.html#ga1c21ed9e0848fcfc03547c95eeb48877">AStorageManager_new</a> ()</td></tr> 65<tr class="separator:ga1c21ed9e0848fcfc03547c95eeb48877"><td class="memSeparator" colspan="2"> </td></tr> 66<tr class="memitem:ga184c06dd9cec0f21db138167d6b331ed"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group___storage.html#ga184c06dd9cec0f21db138167d6b331ed">AStorageManager_delete</a> (<a class="el" href="group___storage.html#ga419f40803228bca62e32beb911ab28e2">AStorageManager</a> *mgr)</td></tr> 67<tr class="separator:ga184c06dd9cec0f21db138167d6b331ed"><td class="memSeparator" colspan="2"> </td></tr> 68<tr class="memitem:ga61bebaf43e57b4b7f57e7a24a62e9e3d"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group___storage.html#ga61bebaf43e57b4b7f57e7a24a62e9e3d">AStorageManager_mountObb</a> (<a class="el" href="group___storage.html#ga419f40803228bca62e32beb911ab28e2">AStorageManager</a> *mgr, const char *filename, const char *key, <a class="el" href="group___storage.html#gaf077d06586fa4c0212baa2fe458b9617">AStorageManager_obbCallbackFunc</a> cb, void *data)</td></tr> 69<tr class="separator:ga61bebaf43e57b4b7f57e7a24a62e9e3d"><td class="memSeparator" colspan="2"> </td></tr> 70<tr class="memitem:ga4c32c8d2c780016fa36097d833b57809"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group___storage.html#ga4c32c8d2c780016fa36097d833b57809">AStorageManager_unmountObb</a> (<a class="el" href="group___storage.html#ga419f40803228bca62e32beb911ab28e2">AStorageManager</a> *mgr, const char *filename, const int force, <a class="el" href="group___storage.html#gaf077d06586fa4c0212baa2fe458b9617">AStorageManager_obbCallbackFunc</a> cb, void *data)</td></tr> 71<tr class="separator:ga4c32c8d2c780016fa36097d833b57809"><td class="memSeparator" colspan="2"> </td></tr> 72<tr class="memitem:ga7572f2c650fc16cce1b0ab94e913a1ba"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group___storage.html#ga7572f2c650fc16cce1b0ab94e913a1ba">AStorageManager_isObbMounted</a> (<a class="el" href="group___storage.html#ga419f40803228bca62e32beb911ab28e2">AStorageManager</a> *mgr, const char *filename)</td></tr> 73<tr class="separator:ga7572f2c650fc16cce1b0ab94e913a1ba"><td class="memSeparator" colspan="2"> </td></tr> 74<tr class="memitem:gad5c90305d627e0c768da37cb3e9f08c4"><td class="memItemLeft" align="right" valign="top">const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="group___storage.html#gad5c90305d627e0c768da37cb3e9f08c4">AStorageManager_getMountedObbPath</a> (<a class="el" href="group___storage.html#ga419f40803228bca62e32beb911ab28e2">AStorageManager</a> *mgr, const char *filename)</td></tr> 75<tr class="separator:gad5c90305d627e0c768da37cb3e9f08c4"><td class="memSeparator" colspan="2"> </td></tr> 76</table> 77<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2> 78<h2 class="groupheader">Typedef Documentation</h2> 79<a class="anchor" id="gaa5037fe4c0d785a50fc62ac2de9844c3"></a> 80<div class="memitem"> 81<div class="memproto"> 82 <table class="memname"> 83 <tr> 84 <td class="memname">typedef struct <a class="el" href="group___storage.html#gaa5037fe4c0d785a50fc62ac2de9844c3">AObbInfo</a> <a class="el" href="group___storage.html#gaa5037fe4c0d785a50fc62ac2de9844c3">AObbInfo</a></td> 85 </tr> 86 </table> 87</div><div class="memdoc"> 88<p><a class="el" href="group___storage.html#gaa5037fe4c0d785a50fc62ac2de9844c3">AObbInfo</a> is an opaque type representing information for obb storage. </p> 89 90</div> 91</div> 92<a class="anchor" id="ga419f40803228bca62e32beb911ab28e2"></a> 93<div class="memitem"> 94<div class="memproto"> 95 <table class="memname"> 96 <tr> 97 <td class="memname">typedef struct <a class="el" href="group___storage.html#ga419f40803228bca62e32beb911ab28e2">AStorageManager</a> <a class="el" href="group___storage.html#ga419f40803228bca62e32beb911ab28e2">AStorageManager</a></td> 98 </tr> 99 </table> 100</div><div class="memdoc"> 101<p><a class="el" href="group___storage.html#ga419f40803228bca62e32beb911ab28e2">AStorageManager</a> manages application OBB storage, a pointer can be obtained with <a class="el" href="group___storage.html#ga1c21ed9e0848fcfc03547c95eeb48877">AStorageManager_new()</a>. </p> 102 103</div> 104</div> 105<a class="anchor" id="gaf077d06586fa4c0212baa2fe458b9617"></a> 106<div class="memitem"> 107<div class="memproto"> 108 <table class="memname"> 109 <tr> 110 <td class="memname">typedef void(* AStorageManager_obbCallbackFunc)(const char *filename, const int32_t state, void *data)</td> 111 </tr> 112 </table> 113</div><div class="memdoc"> 114<p>Callback function for asynchronous calls made on OBB files.</p> 115<p>"state" is one of the following constants:</p> 116<ul> 117<li><a class="el" href="group___storage.html#ggae8a3b6a5d0d3244ed73924ab2421a0d0a2a9c420e6008c108a7198fd861c042d5">AOBB_STATE_MOUNTED</a></li> 118<li><a class="el" href="group___storage.html#ggae8a3b6a5d0d3244ed73924ab2421a0d0a6710bb5b68cfc115eedcde2aafd8a667">AOBB_STATE_UNMOUNTED</a></li> 119<li><a class="el" href="group___storage.html#ggae8a3b6a5d0d3244ed73924ab2421a0d0a50642881107d6673aace1494a5d6fce2">AOBB_STATE_ERROR_INTERNAL</a></li> 120<li><a class="el" href="group___storage.html#ggae8a3b6a5d0d3244ed73924ab2421a0d0a324da2b8fea5875339d442d1f2d0b45b">AOBB_STATE_ERROR_COULD_NOT_MOUNT</a></li> 121<li><a class="el" href="group___storage.html#ggae8a3b6a5d0d3244ed73924ab2421a0d0a1f2b51b53fc57b57a9967f6ce0c88dbe">AOBB_STATE_ERROR_COULD_NOT_UNMOUNT</a></li> 122<li><a class="el" href="group___storage.html#ggae8a3b6a5d0d3244ed73924ab2421a0d0a3ce8539aa8b531c9de1d16041322d7a8">AOBB_STATE_ERROR_NOT_MOUNTED</a></li> 123<li><a class="el" href="group___storage.html#ggae8a3b6a5d0d3244ed73924ab2421a0d0a8b074af151167a965a550b9829fafb37">AOBB_STATE_ERROR_ALREADY_MOUNTED</a></li> 124<li><a class="el" href="group___storage.html#ggae8a3b6a5d0d3244ed73924ab2421a0d0a2467a4b6a634680e12c288a7790ff66c">AOBB_STATE_ERROR_PERMISSION_DENIED</a> </li> 125</ul> 126 127</div> 128</div> 129<h2 class="groupheader">Enumeration Type Documentation</h2> 130<a class="anchor" id="gae4d5251432e1a9e6803c0240cc492e18"></a> 131<div class="memitem"> 132<div class="memproto"> 133 <table class="memname"> 134 <tr> 135 <td class="memname">anonymous enum</td> 136 </tr> 137 </table> 138</div><div class="memdoc"> 139<p>Flag for an obb file, returned by <a class="el" href="group___storage.html#ga68d916570c756da9fd0d9096358300eb">AObbInfo_getFlags()</a>. </p> 140<table class="fieldtable"> 141<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><em><a class="anchor" id="ggae4d5251432e1a9e6803c0240cc492e18a33e2ae83b4c25d33a4335dccf1de1c3a"></a>AOBBINFO_OVERLAY</em> </td><td class="fielddoc"> 142<p>overlay </p> 143</td></tr> 144</table> 145 146</div> 147</div> 148<a class="anchor" id="gae8a3b6a5d0d3244ed73924ab2421a0d0"></a> 149<div class="memitem"> 150<div class="memproto"> 151 <table class="memname"> 152 <tr> 153 <td class="memname">anonymous enum</td> 154 </tr> 155 </table> 156</div><div class="memdoc"> 157<p>The different states of a OBB storage passed to <a class="el" href="group___storage.html#gaf077d06586fa4c0212baa2fe458b9617">AStorageManager_obbCallbackFunc()</a>. </p> 158<table class="fieldtable"> 159<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><em><a class="anchor" id="ggae8a3b6a5d0d3244ed73924ab2421a0d0a2a9c420e6008c108a7198fd861c042d5"></a>AOBB_STATE_MOUNTED</em> </td><td class="fielddoc"> 160<p>The OBB container is now mounted and ready for use. Can be returned as the status for callbacks made during asynchronous OBB actions. </p> 161</td></tr> 162<tr><td class="fieldname"><em><a class="anchor" id="ggae8a3b6a5d0d3244ed73924ab2421a0d0a6710bb5b68cfc115eedcde2aafd8a667"></a>AOBB_STATE_UNMOUNTED</em> </td><td class="fielddoc"> 163<p>The OBB container is now unmounted and not usable. Can be returned as the status for callbacks made during asynchronous OBB actions. </p> 164</td></tr> 165<tr><td class="fieldname"><em><a class="anchor" id="ggae8a3b6a5d0d3244ed73924ab2421a0d0a50642881107d6673aace1494a5d6fce2"></a>AOBB_STATE_ERROR_INTERNAL</em> </td><td class="fielddoc"> 166<p>There was an internal system error encountered while trying to mount the OBB. Can be returned as the status for callbacks made during asynchronous OBB actions. </p> 167</td></tr> 168<tr><td class="fieldname"><em><a class="anchor" id="ggae8a3b6a5d0d3244ed73924ab2421a0d0a324da2b8fea5875339d442d1f2d0b45b"></a>AOBB_STATE_ERROR_COULD_NOT_MOUNT</em> </td><td class="fielddoc"> 169<p>The OBB could not be mounted by the system. Can be returned as the status for callbacks made during asynchronous OBB actions. </p> 170</td></tr> 171<tr><td class="fieldname"><em><a class="anchor" id="ggae8a3b6a5d0d3244ed73924ab2421a0d0a1f2b51b53fc57b57a9967f6ce0c88dbe"></a>AOBB_STATE_ERROR_COULD_NOT_UNMOUNT</em> </td><td class="fielddoc"> 172<p>The OBB could not be unmounted. This most likely indicates that a file is in use on the OBB. Can be returned as the status for callbacks made during asynchronous OBB actions. </p> 173</td></tr> 174<tr><td class="fieldname"><em><a class="anchor" id="ggae8a3b6a5d0d3244ed73924ab2421a0d0a3ce8539aa8b531c9de1d16041322d7a8"></a>AOBB_STATE_ERROR_NOT_MOUNTED</em> </td><td class="fielddoc"> 175<p>A call was made to unmount the OBB when it was not mounted. Can be returned as the status for callbacks made during asynchronous OBB actions. </p> 176</td></tr> 177<tr><td class="fieldname"><em><a class="anchor" id="ggae8a3b6a5d0d3244ed73924ab2421a0d0a8b074af151167a965a550b9829fafb37"></a>AOBB_STATE_ERROR_ALREADY_MOUNTED</em> </td><td class="fielddoc"> 178<p>The OBB has already been mounted. Can be returned as the status for callbacks made during asynchronous OBB actions. </p> 179</td></tr> 180<tr><td class="fieldname"><em><a class="anchor" id="ggae8a3b6a5d0d3244ed73924ab2421a0d0a2467a4b6a634680e12c288a7790ff66c"></a>AOBB_STATE_ERROR_PERMISSION_DENIED</em> </td><td class="fielddoc"> 181<p>The current application does not have permission to use this OBB. This could be because the OBB indicates it's owned by a different package. Can be returned as the status for callbacks made during asynchronous OBB actions. </p> 182</td></tr> 183</table> 184 185</div> 186</div> 187<h2 class="groupheader">Function Documentation</h2> 188<a class="anchor" id="gaec5a4428008f545e829486099298031a"></a> 189<div class="memitem"> 190<div class="memproto"> 191 <table class="memname"> 192 <tr> 193 <td class="memname">void AObbInfo_delete </td> 194 <td>(</td> 195 <td class="paramtype"><a class="el" href="group___storage.html#gaa5037fe4c0d785a50fc62ac2de9844c3">AObbInfo</a> * </td> 196 <td class="paramname"><em>obbInfo</em></td><td>)</td> 197 <td></td> 198 </tr> 199 </table> 200</div><div class="memdoc"> 201<p>Destroy the AObbInfo object. You must call this when finished with the object. </p> 202 203</div> 204</div> 205<a class="anchor" id="ga68d916570c756da9fd0d9096358300eb"></a> 206<div class="memitem"> 207<div class="memproto"> 208 <table class="memname"> 209 <tr> 210 <td class="memname">int32_t AObbInfo_getFlags </td> 211 <td>(</td> 212 <td class="paramtype"><a class="el" href="group___storage.html#gaa5037fe4c0d785a50fc62ac2de9844c3">AObbInfo</a> * </td> 213 <td class="paramname"><em>obbInfo</em></td><td>)</td> 214 <td></td> 215 </tr> 216 </table> 217</div><div class="memdoc"> 218<p>Get the flags of an OBB file. </p> 219 220</div> 221</div> 222<a class="anchor" id="ga1ec7eee61541fa5a9b578801a35b9cf3"></a> 223<div class="memitem"> 224<div class="memproto"> 225 <table class="memname"> 226 <tr> 227 <td class="memname">const char* AObbInfo_getPackageName </td> 228 <td>(</td> 229 <td class="paramtype"><a class="el" href="group___storage.html#gaa5037fe4c0d785a50fc62ac2de9844c3">AObbInfo</a> * </td> 230 <td class="paramname"><em>obbInfo</em></td><td>)</td> 231 <td></td> 232 </tr> 233 </table> 234</div><div class="memdoc"> 235<p>Get the package name for the OBB. </p> 236 237</div> 238</div> 239<a class="anchor" id="gacd8471c6d866cffe4a32f3b5997c782c"></a> 240<div class="memitem"> 241<div class="memproto"> 242 <table class="memname"> 243 <tr> 244 <td class="memname">int32_t AObbInfo_getVersion </td> 245 <td>(</td> 246 <td class="paramtype"><a class="el" href="group___storage.html#gaa5037fe4c0d785a50fc62ac2de9844c3">AObbInfo</a> * </td> 247 <td class="paramname"><em>obbInfo</em></td><td>)</td> 248 <td></td> 249 </tr> 250 </table> 251</div><div class="memdoc"> 252<p>Get the version of an OBB file. </p> 253 254</div> 255</div> 256<a class="anchor" id="ga7beb4f82e3bf9a4b8197917f92ac4d5e"></a> 257<div class="memitem"> 258<div class="memproto"> 259 <table class="memname"> 260 <tr> 261 <td class="memname"><a class="el" href="group___storage.html#gaa5037fe4c0d785a50fc62ac2de9844c3">AObbInfo</a>* AObbScanner_getObbInfo </td> 262 <td>(</td> 263 <td class="paramtype">const char * </td> 264 <td class="paramname"><em>filename</em></td><td>)</td> 265 <td></td> 266 </tr> 267 </table> 268</div><div class="memdoc"> 269<p>Scan an OBB and get information about it. </p> 270 271</div> 272</div> 273<a class="anchor" id="ga184c06dd9cec0f21db138167d6b331ed"></a> 274<div class="memitem"> 275<div class="memproto"> 276 <table class="memname"> 277 <tr> 278 <td class="memname">void AStorageManager_delete </td> 279 <td>(</td> 280 <td class="paramtype"><a class="el" href="group___storage.html#ga419f40803228bca62e32beb911ab28e2">AStorageManager</a> * </td> 281 <td class="paramname"><em>mgr</em></td><td>)</td> 282 <td></td> 283 </tr> 284 </table> 285</div><div class="memdoc"> 286<p>Release AStorageManager instance. </p> 287 288</div> 289</div> 290<a class="anchor" id="gad5c90305d627e0c768da37cb3e9f08c4"></a> 291<div class="memitem"> 292<div class="memproto"> 293 <table class="memname"> 294 <tr> 295 <td class="memname">const char* AStorageManager_getMountedObbPath </td> 296 <td>(</td> 297 <td class="paramtype"><a class="el" href="group___storage.html#ga419f40803228bca62e32beb911ab28e2">AStorageManager</a> * </td> 298 <td class="paramname"><em>mgr</em>, </td> 299 </tr> 300 <tr> 301 <td class="paramkey"></td> 302 <td></td> 303 <td class="paramtype">const char * </td> 304 <td class="paramname"><em>filename</em> </td> 305 </tr> 306 <tr> 307 <td></td> 308 <td>)</td> 309 <td></td><td></td> 310 </tr> 311 </table> 312</div><div class="memdoc"> 313<p>Get the mounted path for an OBB. </p> 314 315</div> 316</div> 317<a class="anchor" id="ga7572f2c650fc16cce1b0ab94e913a1ba"></a> 318<div class="memitem"> 319<div class="memproto"> 320 <table class="memname"> 321 <tr> 322 <td class="memname">int AStorageManager_isObbMounted </td> 323 <td>(</td> 324 <td class="paramtype"><a class="el" href="group___storage.html#ga419f40803228bca62e32beb911ab28e2">AStorageManager</a> * </td> 325 <td class="paramname"><em>mgr</em>, </td> 326 </tr> 327 <tr> 328 <td class="paramkey"></td> 329 <td></td> 330 <td class="paramtype">const char * </td> 331 <td class="paramname"><em>filename</em> </td> 332 </tr> 333 <tr> 334 <td></td> 335 <td>)</td> 336 <td></td><td></td> 337 </tr> 338 </table> 339</div><div class="memdoc"> 340<p>Check whether an OBB is mounted. </p> 341 342</div> 343</div> 344<a class="anchor" id="ga61bebaf43e57b4b7f57e7a24a62e9e3d"></a> 345<div class="memitem"> 346<div class="memproto"> 347 <table class="memname"> 348 <tr> 349 <td class="memname">void AStorageManager_mountObb </td> 350 <td>(</td> 351 <td class="paramtype"><a class="el" href="group___storage.html#ga419f40803228bca62e32beb911ab28e2">AStorageManager</a> * </td> 352 <td class="paramname"><em>mgr</em>, </td> 353 </tr> 354 <tr> 355 <td class="paramkey"></td> 356 <td></td> 357 <td class="paramtype">const char * </td> 358 <td class="paramname"><em>filename</em>, </td> 359 </tr> 360 <tr> 361 <td class="paramkey"></td> 362 <td></td> 363 <td class="paramtype">const char * </td> 364 <td class="paramname"><em>key</em>, </td> 365 </tr> 366 <tr> 367 <td class="paramkey"></td> 368 <td></td> 369 <td class="paramtype"><a class="el" href="group___storage.html#gaf077d06586fa4c0212baa2fe458b9617">AStorageManager_obbCallbackFunc</a> </td> 370 <td class="paramname"><em>cb</em>, </td> 371 </tr> 372 <tr> 373 <td class="paramkey"></td> 374 <td></td> 375 <td class="paramtype">void * </td> 376 <td class="paramname"><em>data</em> </td> 377 </tr> 378 <tr> 379 <td></td> 380 <td>)</td> 381 <td></td><td></td> 382 </tr> 383 </table> 384</div><div class="memdoc"> 385<p>Attempts to mount an OBB file. This is an asynchronous operation. </p> 386 387</div> 388</div> 389<a class="anchor" id="ga1c21ed9e0848fcfc03547c95eeb48877"></a> 390<div class="memitem"> 391<div class="memproto"> 392 <table class="memname"> 393 <tr> 394 <td class="memname"><a class="el" href="group___storage.html#ga419f40803228bca62e32beb911ab28e2">AStorageManager</a>* AStorageManager_new </td> 395 <td>(</td> 396 <td class="paramname"></td><td>)</td> 397 <td></td> 398 </tr> 399 </table> 400</div><div class="memdoc"> 401<p>Obtains a new instance of AStorageManager. </p> 402 403</div> 404</div> 405<a class="anchor" id="ga4c32c8d2c780016fa36097d833b57809"></a> 406<div class="memitem"> 407<div class="memproto"> 408 <table class="memname"> 409 <tr> 410 <td class="memname">void AStorageManager_unmountObb </td> 411 <td>(</td> 412 <td class="paramtype"><a class="el" href="group___storage.html#ga419f40803228bca62e32beb911ab28e2">AStorageManager</a> * </td> 413 <td class="paramname"><em>mgr</em>, </td> 414 </tr> 415 <tr> 416 <td class="paramkey"></td> 417 <td></td> 418 <td class="paramtype">const char * </td> 419 <td class="paramname"><em>filename</em>, </td> 420 </tr> 421 <tr> 422 <td class="paramkey"></td> 423 <td></td> 424 <td class="paramtype">const int </td> 425 <td class="paramname"><em>force</em>, </td> 426 </tr> 427 <tr> 428 <td class="paramkey"></td> 429 <td></td> 430 <td class="paramtype"><a class="el" href="group___storage.html#gaf077d06586fa4c0212baa2fe458b9617">AStorageManager_obbCallbackFunc</a> </td> 431 <td class="paramname"><em>cb</em>, </td> 432 </tr> 433 <tr> 434 <td class="paramkey"></td> 435 <td></td> 436 <td class="paramtype">void * </td> 437 <td class="paramname"><em>data</em> </td> 438 </tr> 439 <tr> 440 <td></td> 441 <td>)</td> 442 <td></td><td></td> 443 </tr> 444 </table> 445</div><div class="memdoc"> 446<p>Attempts to unmount an OBB file. This is an asynchronous operation. </p> 447 448</div> 449</div> 450</div><!-- contents --> 451