23
26
<div class="contents">
24
<h1>libimobiledevice/mobile_image_mounter.h File Reference</h1>Implementation of the mobile image mounter service.
25
<a href="#_details">More...</a>
27
<h1>libimobiledevice/mobile_image_mounter.h File Reference</h1>
28
<p>Implementation of the mobile image mounter service.
29
<a href="#_details">More...</a></p>
27
30
<table border="0" cellpadding="0" cellspacing="0">
29
<tr><td colspan="2"><br><h2>Typedefs</h2></td></tr>
30
<tr><td class="memItemLeft" nowrap align="right" valign="top">typedef int16_t </td><td class="memItemRight" valign="bottom"><a class="el" href="include_2libimobiledevice_2mobile__image__mounter_8h.html#e0b7c39de39769f44bba8dd94e9b03a8">mobile_image_mounter_error_t</a></td></tr>
32
<tr><td class="mdescLeft"> </td><td class="mdescRight">Represents an error code. <a href="#e0b7c39de39769f44bba8dd94e9b03a8"></a><br></td></tr>
33
<tr><td class="memItemLeft" nowrap align="right" valign="top">typedef <br class="typebreak">
34
mobile_image_mounter_client_private * </td><td class="memItemRight" valign="bottom"><a class="el" href="include_2libimobiledevice_2mobile__image__mounter_8h.html#e7690ee36890c0c64933107e86c1ab0f">mobile_image_mounter_client_t</a></td></tr>
36
<tr><td class="mdescLeft"> </td><td class="mdescRight">The client handle. <a href="#e7690ee36890c0c64933107e86c1ab0f"></a><br></td></tr>
37
<tr><td colspan="2"><br><h2>Functions</h2></td></tr>
38
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="include_2libimobiledevice_2mobile__image__mounter_8h.html#e0b7c39de39769f44bba8dd94e9b03a8">mobile_image_mounter_error_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="include_2libimobiledevice_2mobile__image__mounter_8h.html#44b66755d06202d4b592227106529ce4">mobile_image_mounter_new</a> (<a class="el" href="libimobiledevice_8h.html#e5bc0e9aa2f3b5023755f5e1c5039a60">idevice_t</a> device, uint16_t port, <a class="el" href="include_2libimobiledevice_2mobile__image__mounter_8h.html#e7690ee36890c0c64933107e86c1ab0f">mobile_image_mounter_client_t</a> *client)</td></tr>
40
<tr><td class="mdescLeft"> </td><td class="mdescRight">Connects to the mobile_image_mounter service on the specified device. <a href="#44b66755d06202d4b592227106529ce4"></a><br></td></tr>
41
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="include_2libimobiledevice_2mobile__image__mounter_8h.html#e0b7c39de39769f44bba8dd94e9b03a8">mobile_image_mounter_error_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="include_2libimobiledevice_2mobile__image__mounter_8h.html#840a19c567f46f66f1731babb8c608d1">mobile_image_mounter_free</a> (<a class="el" href="include_2libimobiledevice_2mobile__image__mounter_8h.html#e7690ee36890c0c64933107e86c1ab0f">mobile_image_mounter_client_t</a> client)</td></tr>
43
<tr><td class="mdescLeft"> </td><td class="mdescRight">Disconnects a mobile_image_mounter client from the device and frees up the mobile_image_mounter client data. <a href="#840a19c567f46f66f1731babb8c608d1"></a><br></td></tr>
44
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="include_2libimobiledevice_2mobile__image__mounter_8h.html#e0b7c39de39769f44bba8dd94e9b03a8">mobile_image_mounter_error_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="include_2libimobiledevice_2mobile__image__mounter_8h.html#36eaa679c99ce97b4d4101691cee5fc3">mobile_image_mounter_lookup_image</a> (<a class="el" href="include_2libimobiledevice_2mobile__image__mounter_8h.html#e7690ee36890c0c64933107e86c1ab0f">mobile_image_mounter_client_t</a> client, const char *image_type, plist_t *result)</td></tr>
46
<tr><td class="mdescLeft"> </td><td class="mdescRight">Tells if the image of ImageType is already mounted. <a href="#36eaa679c99ce97b4d4101691cee5fc3"></a><br></td></tr>
47
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="include_2libimobiledevice_2mobile__image__mounter_8h.html#e0b7c39de39769f44bba8dd94e9b03a8">mobile_image_mounter_error_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="include_2libimobiledevice_2mobile__image__mounter_8h.html#8b2d5a1a5aca62984095f5a5731ea9cb">mobile_image_mounter_mount_image</a> (<a class="el" href="include_2libimobiledevice_2mobile__image__mounter_8h.html#e7690ee36890c0c64933107e86c1ab0f">mobile_image_mounter_client_t</a> client, const char *image_path, const char *image_signature, uint16_t signature_length, const char *image_type, plist_t *result)</td></tr>
49
<tr><td class="mdescLeft"> </td><td class="mdescRight">Mounts an image on the device. <a href="#8b2d5a1a5aca62984095f5a5731ea9cb"></a><br></td></tr>
50
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="include_2libimobiledevice_2mobile__image__mounter_8h.html#e0b7c39de39769f44bba8dd94e9b03a8">mobile_image_mounter_error_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="include_2libimobiledevice_2mobile__image__mounter_8h.html#0b171083275b80170677f4e7c2b6200a">mobile_image_mounter_hangup</a> (<a class="el" href="include_2libimobiledevice_2mobile__image__mounter_8h.html#e7690ee36890c0c64933107e86c1ab0f">mobile_image_mounter_client_t</a> client)</td></tr>
52
<tr><td class="mdescLeft"> </td><td class="mdescRight">Hangs up the connection to the mobile_image_mounter service. <a href="#0b171083275b80170677f4e7c2b6200a"></a><br></td></tr>
53
<tr><td colspan="2"><br><h2>Error Codes</h2></td></tr>
54
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="009f8723f2cc02a019de2b15d750abe6"></a><!-- doxytag: member="include/libimobiledevice/mobile_image_mounter.h::MOBILE_IMAGE_MOUNTER_E_SUCCESS" ref="009f8723f2cc02a019de2b15d750abe6" args="" -->
31
<tr><td colspan="2"><h2>Typedefs</h2></td></tr>
32
<tr><td class="memItemLeft" align="right" valign="top">typedef int16_t </td><td class="memItemRight" valign="bottom"><a class="el" href="include_2libimobiledevice_2mobile__image__mounter_8h.html#ae0b7c39de39769f44bba8dd94e9b03a8">mobile_image_mounter_error_t</a></td></tr>
33
<tr><td class="mdescLeft"> </td><td class="mdescRight">Represents an error code. <a href="#ae0b7c39de39769f44bba8dd94e9b03a8"></a><br/></td></tr>
34
<tr><td class="memItemLeft" align="right" valign="top">typedef <br class="typebreak"/>
35
<a class="el" href="structmobile__image__mounter__client__private.html">mobile_image_mounter_client_private</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="include_2libimobiledevice_2mobile__image__mounter_8h.html#ae7690ee36890c0c64933107e86c1ab0f">mobile_image_mounter_client_t</a></td></tr>
36
<tr><td class="mdescLeft"> </td><td class="mdescRight">The client handle. <a href="#ae7690ee36890c0c64933107e86c1ab0f"></a><br/></td></tr>
37
<tr><td colspan="2"><h2>Functions</h2></td></tr>
38
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="include_2libimobiledevice_2mobile__image__mounter_8h.html#ae0b7c39de39769f44bba8dd94e9b03a8">mobile_image_mounter_error_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="include_2libimobiledevice_2mobile__image__mounter_8h.html#a44b66755d06202d4b592227106529ce4">mobile_image_mounter_new</a> (<a class="el" href="structidevice__private.html">idevice_t</a> device, uint16_t port, <a class="el" href="structmobile__image__mounter__client__private.html">mobile_image_mounter_client_t</a> *client)</td></tr>
39
<tr><td class="mdescLeft"> </td><td class="mdescRight">Connects to the mobile_image_mounter service on the specified device. <a href="#a44b66755d06202d4b592227106529ce4"></a><br/></td></tr>
40
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="include_2libimobiledevice_2mobile__image__mounter_8h.html#ae0b7c39de39769f44bba8dd94e9b03a8">mobile_image_mounter_error_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="include_2libimobiledevice_2mobile__image__mounter_8h.html#a840a19c567f46f66f1731babb8c608d1">mobile_image_mounter_free</a> (<a class="el" href="structmobile__image__mounter__client__private.html">mobile_image_mounter_client_t</a> client)</td></tr>
41
<tr><td class="mdescLeft"> </td><td class="mdescRight">Disconnects a mobile_image_mounter client from the device and frees up the mobile_image_mounter client data. <a href="#a840a19c567f46f66f1731babb8c608d1"></a><br/></td></tr>
42
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="include_2libimobiledevice_2mobile__image__mounter_8h.html#ae0b7c39de39769f44bba8dd94e9b03a8">mobile_image_mounter_error_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="include_2libimobiledevice_2mobile__image__mounter_8h.html#a36eaa679c99ce97b4d4101691cee5fc3">mobile_image_mounter_lookup_image</a> (<a class="el" href="structmobile__image__mounter__client__private.html">mobile_image_mounter_client_t</a> client, const char *image_type, plist_t *result)</td></tr>
43
<tr><td class="mdescLeft"> </td><td class="mdescRight">Tells if the image of ImageType is already mounted. <a href="#a36eaa679c99ce97b4d4101691cee5fc3"></a><br/></td></tr>
44
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="include_2libimobiledevice_2mobile__image__mounter_8h.html#ae0b7c39de39769f44bba8dd94e9b03a8">mobile_image_mounter_error_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="include_2libimobiledevice_2mobile__image__mounter_8h.html#a8b2d5a1a5aca62984095f5a5731ea9cb">mobile_image_mounter_mount_image</a> (<a class="el" href="structmobile__image__mounter__client__private.html">mobile_image_mounter_client_t</a> client, const char *image_path, const char *image_signature, uint16_t signature_length, const char *image_type, plist_t *result)</td></tr>
45
<tr><td class="mdescLeft"> </td><td class="mdescRight">Mounts an image on the device. <a href="#a8b2d5a1a5aca62984095f5a5731ea9cb"></a><br/></td></tr>
46
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="include_2libimobiledevice_2mobile__image__mounter_8h.html#ae0b7c39de39769f44bba8dd94e9b03a8">mobile_image_mounter_error_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="include_2libimobiledevice_2mobile__image__mounter_8h.html#a0b171083275b80170677f4e7c2b6200a">mobile_image_mounter_hangup</a> (<a class="el" href="structmobile__image__mounter__client__private.html">mobile_image_mounter_client_t</a> client)</td></tr>
47
<tr><td class="mdescLeft"> </td><td class="mdescRight">Hangs up the connection to the mobile_image_mounter service. <a href="#a0b171083275b80170677f4e7c2b6200a"></a><br/></td></tr>
48
<tr><td colspan="2"><h2>Error Codes</h2></td></tr>
49
<tr><td colspan="2"><p><a class="anchor" id="amgrp5c244138ac975df1b1cec1afc71a6c9a"></a> </p>
51
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a009f8723f2cc02a019de2b15d750abe6"></a><!-- doxytag: member="include/libimobiledevice/mobile_image_mounter.h::MOBILE_IMAGE_MOUNTER_E_SUCCESS" ref="a009f8723f2cc02a019de2b15d750abe6" args="" -->
55
52
#define </td><td class="memItemRight" valign="bottom"><b>MOBILE_IMAGE_MOUNTER_E_SUCCESS</b> 0</td></tr>
57
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="217d6ea66fbb8d8759a0e7cb50244072"></a><!-- doxytag: member="include/libimobiledevice/mobile_image_mounter.h::MOBILE_IMAGE_MOUNTER_E_INVALID_ARG" ref="217d6ea66fbb8d8759a0e7cb50244072" args="" -->
53
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a217d6ea66fbb8d8759a0e7cb50244072"></a><!-- doxytag: member="include/libimobiledevice/mobile_image_mounter.h::MOBILE_IMAGE_MOUNTER_E_INVALID_ARG" ref="a217d6ea66fbb8d8759a0e7cb50244072" args="" -->
58
54
#define </td><td class="memItemRight" valign="bottom"><b>MOBILE_IMAGE_MOUNTER_E_INVALID_ARG</b> -1</td></tr>
60
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="d4f2241cb27ea2fbd00fe255945c5b33"></a><!-- doxytag: member="include/libimobiledevice/mobile_image_mounter.h::MOBILE_IMAGE_MOUNTER_E_PLIST_ERROR" ref="d4f2241cb27ea2fbd00fe255945c5b33" args="" -->
55
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad4f2241cb27ea2fbd00fe255945c5b33"></a><!-- doxytag: member="include/libimobiledevice/mobile_image_mounter.h::MOBILE_IMAGE_MOUNTER_E_PLIST_ERROR" ref="ad4f2241cb27ea2fbd00fe255945c5b33" args="" -->
61
56
#define </td><td class="memItemRight" valign="bottom"><b>MOBILE_IMAGE_MOUNTER_E_PLIST_ERROR</b> -2</td></tr>
63
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="d35bff9a902ebb2fdc5d97f1a61dc3c5"></a><!-- doxytag: member="include/libimobiledevice/mobile_image_mounter.h::MOBILE_IMAGE_MOUNTER_E_CONN_FAILED" ref="d35bff9a902ebb2fdc5d97f1a61dc3c5" args="" -->
57
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad35bff9a902ebb2fdc5d97f1a61dc3c5"></a><!-- doxytag: member="include/libimobiledevice/mobile_image_mounter.h::MOBILE_IMAGE_MOUNTER_E_CONN_FAILED" ref="ad35bff9a902ebb2fdc5d97f1a61dc3c5" args="" -->
64
58
#define </td><td class="memItemRight" valign="bottom"><b>MOBILE_IMAGE_MOUNTER_E_CONN_FAILED</b> -3</td></tr>
66
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="81d6dc3bb4330021394173d6b5166623"></a><!-- doxytag: member="include/libimobiledevice/mobile_image_mounter.h::MOBILE_IMAGE_MOUNTER_E_UNKNOWN_ERROR" ref="81d6dc3bb4330021394173d6b5166623" args="" -->
59
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a81d6dc3bb4330021394173d6b5166623"></a><!-- doxytag: member="include/libimobiledevice/mobile_image_mounter.h::MOBILE_IMAGE_MOUNTER_E_UNKNOWN_ERROR" ref="a81d6dc3bb4330021394173d6b5166623" args="" -->
67
60
#define </td><td class="memItemRight" valign="bottom"><b>MOBILE_IMAGE_MOUNTER_E_UNKNOWN_ERROR</b> -256</td></tr>
70
<hr><h2>Detailed Description</h2>
71
Implementation of the mobile image mounter service.
73
<hr><h2>Typedef Documentation</h2>
74
<a class="anchor" name="e7690ee36890c0c64933107e86c1ab0f"></a><!-- doxytag: member="mobile_image_mounter.h::mobile_image_mounter_client_t" ref="e7690ee36890c0c64933107e86c1ab0f" args="" -->
76
<div class="memproto">
77
<table class="memname">
79
<td class="memname">typedef mobile_image_mounter_client_private* <a class="el" href="include_2libimobiledevice_2mobile__image__mounter_8h.html#e7690ee36890c0c64933107e86c1ab0f">mobile_image_mounter_client_t</a> </td>
91
<a class="anchor" name="e0b7c39de39769f44bba8dd94e9b03a8"></a><!-- doxytag: member="mobile_image_mounter.h::mobile_image_mounter_error_t" ref="e0b7c39de39769f44bba8dd94e9b03a8" args="" -->
93
<div class="memproto">
94
<table class="memname">
96
<td class="memname">typedef int16_t <a class="el" href="include_2libimobiledevice_2mobile__image__mounter_8h.html#e0b7c39de39769f44bba8dd94e9b03a8">mobile_image_mounter_error_t</a> </td>
103
Represents an error code.
108
<hr><h2>Function Documentation</h2>
109
<a class="anchor" name="840a19c567f46f66f1731babb8c608d1"></a><!-- doxytag: member="mobile_image_mounter.h::mobile_image_mounter_free" ref="840a19c567f46f66f1731babb8c608d1" args="(mobile_image_mounter_client_t client)" -->
110
<div class="memitem">
111
<div class="memproto">
112
<table class="memname">
114
<td class="memname"><a class="el" href="include_2libimobiledevice_2mobile__image__mounter_8h.html#e0b7c39de39769f44bba8dd94e9b03a8">mobile_image_mounter_error_t</a> mobile_image_mounter_free </td>
62
<hr/><a name="_details"></a><h2>Detailed Description</h2>
63
<p>Implementation of the mobile image mounter service. </p>
64
<hr/><h2>Typedef Documentation</h2>
65
<a class="anchor" id="ae7690ee36890c0c64933107e86c1ab0f"></a><!-- doxytag: member="mobile_image_mounter.h::mobile_image_mounter_client_t" ref="ae7690ee36890c0c64933107e86c1ab0f" args="" -->
67
<div class="memproto">
68
<table class="memname">
70
<td class="memname">typedef <a class="el" href="structmobile__image__mounter__client__private.html">mobile_image_mounter_client_private</a>* <a class="el" href="structmobile__image__mounter__client__private.html">mobile_image_mounter_client_t</a></td>
76
<p>The client handle. </p>
80
<a class="anchor" id="ae0b7c39de39769f44bba8dd94e9b03a8"></a><!-- doxytag: member="mobile_image_mounter.h::mobile_image_mounter_error_t" ref="ae0b7c39de39769f44bba8dd94e9b03a8" args="" -->
82
<div class="memproto">
83
<table class="memname">
85
<td class="memname">typedef int16_t <a class="el" href="include_2libimobiledevice_2mobile__image__mounter_8h.html#ae0b7c39de39769f44bba8dd94e9b03a8">mobile_image_mounter_error_t</a></td>
91
<p>Represents an error code. </p>
95
<hr/><h2>Function Documentation</h2>
96
<a class="anchor" id="a840a19c567f46f66f1731babb8c608d1"></a><!-- doxytag: member="mobile_image_mounter.h::mobile_image_mounter_free" ref="a840a19c567f46f66f1731babb8c608d1" args="(mobile_image_mounter_client_t client)" -->
98
<div class="memproto">
99
<table class="memname">
101
<td class="memname"><a class="el" href="include_2libimobiledevice_2mobile__image__mounter_8h.html#ae0b7c39de39769f44bba8dd94e9b03a8">mobile_image_mounter_error_t</a> mobile_image_mounter_free </td>
116
<td class="paramtype"><a class="el" href="include_2libimobiledevice_2mobile__image__mounter_8h.html#e7690ee36890c0c64933107e86c1ab0f">mobile_image_mounter_client_t</a> </td>
117
<td class="paramname"> <em>client</em> </td>
103
<td class="paramtype"><a class="el" href="structmobile__image__mounter__client__private.html">mobile_image_mounter_client_t</a> </td>
104
<td class="paramname"> <em>client</em></td>
118
105
<td> ) </td>
151
137
<div class="memdoc">
154
Hangs up the connection to the mobile_image_mounter service.
156
This functions has to be called before freeing up a mobile_image_mounter instance. If not, errors appear in the device's syslog.<p>
157
<dl compact><dt><b>Parameters:</b></dt><dd>
139
<p>Hangs up the connection to the mobile_image_mounter service. </p>
140
<p>This functions has to be called before freeing up a mobile_image_mounter instance. If not, errors appear in the device's syslog.</p>
141
<dl><dt><b>Parameters:</b></dt><dd>
158
142
<table border="0" cellspacing="2" cellpadding="0">
159
143
<tr><td valign="top"></td><td valign="top"><em>client</em> </td><td>The client to hang up</td></tr>
162
<dl class="return" compact><dt><b>Returns:</b></dt><dd>MOBILE_IMAGE_MOUNTER_E_SUCCESS on success, MOBILE_IMAGE_MOUNTER_E_INVALID_ARG if client is invalid, or another error code otherwise. </dd></dl>
147
<dl class="return"><dt><b>Returns:</b></dt><dd>MOBILE_IMAGE_MOUNTER_E_SUCCESS on success, MOBILE_IMAGE_MOUNTER_E_INVALID_ARG if client is invalid, or another error code otherwise. </dd></dl>
166
<a class="anchor" name="36eaa679c99ce97b4d4101691cee5fc3"></a><!-- doxytag: member="mobile_image_mounter.h::mobile_image_mounter_lookup_image" ref="36eaa679c99ce97b4d4101691cee5fc3" args="(mobile_image_mounter_client_t client, const char *image_type, plist_t *result)" -->
151
<a class="anchor" id="a36eaa679c99ce97b4d4101691cee5fc3"></a><!-- doxytag: member="mobile_image_mounter.h::mobile_image_mounter_lookup_image" ref="a36eaa679c99ce97b4d4101691cee5fc3" args="(mobile_image_mounter_client_t client, const char *image_type, plist_t *result)" -->
167
152
<div class="memitem">
168
153
<div class="memproto">
169
154
<table class="memname">
171
<td class="memname"><a class="el" href="include_2libimobiledevice_2mobile__image__mounter_8h.html#e0b7c39de39769f44bba8dd94e9b03a8">mobile_image_mounter_error_t</a> mobile_image_mounter_lookup_image </td>
156
<td class="memname"><a class="el" href="include_2libimobiledevice_2mobile__image__mounter_8h.html#ae0b7c39de39769f44bba8dd94e9b03a8">mobile_image_mounter_error_t</a> mobile_image_mounter_lookup_image </td>
173
<td class="paramtype"><a class="el" href="include_2libimobiledevice_2mobile__image__mounter_8h.html#e7690ee36890c0c64933107e86c1ab0f">mobile_image_mounter_client_t</a> </td>
158
<td class="paramtype"><a class="el" href="structmobile__image__mounter__client__private.html">mobile_image_mounter_client_t</a> </td>
174
159
<td class="paramname"> <em>client</em>, </td>
195
180
<div class="memdoc">
198
Tells if the image of ImageType is already mounted.
200
<dl compact><dt><b>Parameters:</b></dt><dd>
182
<p>Tells if the image of ImageType is already mounted. </p>
183
<dl><dt><b>Parameters:</b></dt><dd>
201
184
<table border="0" cellspacing="2" cellpadding="0">
202
185
<tr><td valign="top"></td><td valign="top"><em>client</em> </td><td>The client use </td></tr>
203
186
<tr><td valign="top"></td><td valign="top"><em>image_type</em> </td><td>The type of the image to look up </td></tr>
204
187
<tr><td valign="top"></td><td valign="top"><em>result</em> </td><td>Pointer to a plist that will receive the result of the operation.</td></tr>
207
<dl class="note" compact><dt><b>Note:</b></dt><dd>This function may return MOBILE_IMAGE_MOUNTER_E_SUCCESS even if the operation has failed. Check the resulting plist for further information.</dd></dl>
208
<dl class="return" compact><dt><b>Returns:</b></dt><dd>MOBILE_IMAGE_MOUNTER_E_SUCCESS on success, or an error code on error </dd></dl>
191
<dl class="note"><dt><b>Note:</b></dt><dd>This function may return MOBILE_IMAGE_MOUNTER_E_SUCCESS even if the operation has failed. Check the resulting plist for further information.</dd></dl>
192
<dl class="return"><dt><b>Returns:</b></dt><dd>MOBILE_IMAGE_MOUNTER_E_SUCCESS on success, or an error code on error </dd></dl>
212
<a class="anchor" name="8b2d5a1a5aca62984095f5a5731ea9cb"></a><!-- doxytag: member="mobile_image_mounter.h::mobile_image_mounter_mount_image" ref="8b2d5a1a5aca62984095f5a5731ea9cb" args="(mobile_image_mounter_client_t client, const char *image_path, const char *image_signature, uint16_t signature_length, const char *image_type, plist_t *result)" -->
196
<a class="anchor" id="a8b2d5a1a5aca62984095f5a5731ea9cb"></a><!-- doxytag: member="mobile_image_mounter.h::mobile_image_mounter_mount_image" ref="a8b2d5a1a5aca62984095f5a5731ea9cb" args="(mobile_image_mounter_client_t client, const char *image_path, const char *image_signature, uint16_t signature_length, const char *image_type, plist_t *result)" -->
213
197
<div class="memitem">
214
198
<div class="memproto">
215
199
<table class="memname">
217
<td class="memname"><a class="el" href="include_2libimobiledevice_2mobile__image__mounter_8h.html#e0b7c39de39769f44bba8dd94e9b03a8">mobile_image_mounter_error_t</a> mobile_image_mounter_mount_image </td>
201
<td class="memname"><a class="el" href="include_2libimobiledevice_2mobile__image__mounter_8h.html#ae0b7c39de39769f44bba8dd94e9b03a8">mobile_image_mounter_error_t</a> mobile_image_mounter_mount_image </td>
219
<td class="paramtype"><a class="el" href="include_2libimobiledevice_2mobile__image__mounter_8h.html#e7690ee36890c0c64933107e86c1ab0f">mobile_image_mounter_client_t</a> </td>
203
<td class="paramtype"><a class="el" href="structmobile__image__mounter__client__private.html">mobile_image_mounter_client_t</a> </td>
220
204
<td class="paramname"> <em>client</em>, </td>
270
252
<tr><td valign="top"></td><td valign="top"><em>image_type</em> </td><td>Type of image to mount </td></tr>
271
253
<tr><td valign="top"></td><td valign="top"><em>result</em> </td><td>Pointer to a plist that will receive the result of the operation.</td></tr>
274
<dl class="note" compact><dt><b>Note:</b></dt><dd>This function may return MOBILE_IMAGE_MOUNTER_E_SUCCESS even if the operation has failed. Check the resulting plist for further information. Note that there is no unmounting function. The mount persists until the device is rebooted.</dd></dl>
275
<dl class="return" compact><dt><b>Returns:</b></dt><dd>MOBILE_IMAGE_MOUNTER_E_SUCCESS on success, MOBILE_IMAGE_MOUNTER_E_INVALID_ARG if on ore more parameters are invalid, or another error code otherwise. </dd></dl>
257
<dl class="note"><dt><b>Note:</b></dt><dd>This function may return MOBILE_IMAGE_MOUNTER_E_SUCCESS even if the operation has failed. Check the resulting plist for further information. Note that there is no unmounting function. The mount persists until the device is rebooted.</dd></dl>
258
<dl class="return"><dt><b>Returns:</b></dt><dd>MOBILE_IMAGE_MOUNTER_E_SUCCESS on success, MOBILE_IMAGE_MOUNTER_E_INVALID_ARG if on ore more parameters are invalid, or another error code otherwise. </dd></dl>
279
<a class="anchor" name="44b66755d06202d4b592227106529ce4"></a><!-- doxytag: member="mobile_image_mounter.h::mobile_image_mounter_new" ref="44b66755d06202d4b592227106529ce4" args="(idevice_t device, uint16_t port, mobile_image_mounter_client_t *client)" -->
262
<a class="anchor" id="a44b66755d06202d4b592227106529ce4"></a><!-- doxytag: member="mobile_image_mounter.h::mobile_image_mounter_new" ref="a44b66755d06202d4b592227106529ce4" args="(idevice_t device, uint16_t port, mobile_image_mounter_client_t *client)" -->
280
263
<div class="memitem">
281
264
<div class="memproto">
282
265
<table class="memname">
284
<td class="memname"><a class="el" href="include_2libimobiledevice_2mobile__image__mounter_8h.html#e0b7c39de39769f44bba8dd94e9b03a8">mobile_image_mounter_error_t</a> mobile_image_mounter_new </td>
267
<td class="memname"><a class="el" href="include_2libimobiledevice_2mobile__image__mounter_8h.html#ae0b7c39de39769f44bba8dd94e9b03a8">mobile_image_mounter_error_t</a> mobile_image_mounter_new </td>
286
<td class="paramtype"><a class="el" href="libimobiledevice_8h.html#e5bc0e9aa2f3b5023755f5e1c5039a60">idevice_t</a> </td>
269
<td class="paramtype"><a class="el" href="structidevice__private.html">idevice_t</a> </td>
287
270
<td class="paramname"> <em>device</em>, </td>