~ubuntu-branches/ubuntu/wily/libimobiledevice/wily

« back to all changes in this revision

Viewing changes to docs/html/include_2libimobiledevice_2mobile__image__mounter_8h.html

  • Committer: Package Import Robot
  • Author(s): Timo Jyrinki, Matthias Niess, Timo Jyrinki
  • Date: 2014-03-14 08:44:15 UTC
  • mfrom: (1.1.10)
  • Revision ID: package-import@ubuntu.com-20140314084415-twglhjx6bqzmir8v
Tags: 1.1.5+git20140313.bafe6a9e-0ubuntu1
[ Matthias Niess ]
* Replace a duplicate 'backup' util man page with the one for 'crashreport'

[ Timo Jyrinki ]
* New upstream snapshot. (LP: #1207812)
* Drop patches include in the upstream snapshot:
  - debian/patches/CVE-2013-2142.patch
  - debian/patches/git_explicitly_cast_ssl_enabled.patch
* Drop the python patch, new upstream method seems to work:
  - debian/patches/09_use_python_config.patch
* Refreshed remaining patches:
  - debian/patches/01-libs.private.patch
  - debian/patches/02-fix-link-errors.patch
* Drop libimobiledevice-doc, the git does not include html documentation
* Updated libimobiledevice4.symbols 
* Add missing man page for the 'idevicename' util

Show diffs side-by-side

added added

removed removed

Lines of Context:
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>libimobiledevice: libimobiledevice/mobile_image_mounter.h File Reference</title>
7
 
<link href="tabs.css" rel="stylesheet" type="text/css"/>
8
 
<script type="text/javascript" src="jquery.js"></script>
9
 
<script type="text/javascript" src="dynsections.js"></script>
10
 
<link href="doxygen.css" rel="stylesheet" type="text/css" />
11
 
</head>
12
 
<body>
13
 
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
14
 
<div id="titlearea">
15
 
<table cellspacing="0" cellpadding="0">
16
 
 <tbody>
17
 
 <tr style="height: 56px;">
18
 
  <td style="padding-left: 0.5em;">
19
 
   <div id="projectname">libimobiledevice
20
 
   &#160;<span id="projectnumber">1.1.5</span>
21
 
   </div>
22
 
  </td>
23
 
 </tr>
24
 
 </tbody>
25
 
</table>
26
 
</div>
27
 
<!-- end header part -->
28
 
<!-- Generated by Doxygen 1.8.1 -->
29
 
  <div id="navrow1" class="tabs">
30
 
    <ul class="tablist">
31
 
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
32
 
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
33
 
      <li class="current"><a href="files.html"><span>Files</span></a></li>
34
 
    </ul>
35
 
  </div>
36
 
  <div id="navrow2" class="tabs2">
37
 
    <ul class="tablist">
38
 
      <li><a href="files.html"><span>File&#160;List</span></a></li>
39
 
      <li><a href="globals.html"><span>Globals</span></a></li>
40
 
    </ul>
41
 
  </div>
42
 
<div id="nav-path" class="navpath">
43
 
  <ul>
44
 
<li class="navelem"><a class="el" href="dir_0839347dbfd1d6806a2d090799a179ba.html">libimobiledevice</a></li>  </ul>
45
 
</div>
46
 
</div><!-- top -->
47
 
<div class="header">
48
 
  <div class="summary">
49
 
<a href="#typedef-members">Typedefs</a> &#124;
50
 
<a href="#func-members">Functions</a>  </div>
51
 
  <div class="headertitle">
52
 
<div class="title">mobile_image_mounter.h File Reference</div>  </div>
53
 
</div><!--header-->
54
 
<div class="contents">
55
 
 
56
 
<p>Mount developer/debug disk images on the device.  
57
 
<a href="#details">More...</a></p>
58
 
<table class="memberdecls">
59
 
<tr class="heading"><td colspan="2"><h2><a name="typedef-members"></a>
60
 
Typedefs</h2></td></tr>
61
 
<tr class="memitem:ae0b7c39de39769f44bba8dd94e9b03a8"><td class="memItemLeft" align="right" valign="top">typedef int16_t&#160;</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>
62
 
<tr class="memdesc:ae0b7c39de39769f44bba8dd94e9b03a8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Represents an error code.  <a href="#ae0b7c39de39769f44bba8dd94e9b03a8"></a><br/></td></tr>
63
 
<tr class="memitem:ae7690ee36890c0c64933107e86c1ab0f"><td class="memItemLeft" align="right" valign="top">typedef <br class="typebreak"/>
64
 
<a class="el" href="structmobile__image__mounter__client__private.html">mobile_image_mounter_client_private</a> *&#160;</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>
65
 
<tr class="memdesc:ae7690ee36890c0c64933107e86c1ab0f"><td class="mdescLeft">&#160;</td><td class="mdescRight">The client handle.  <a href="#ae7690ee36890c0c64933107e86c1ab0f"></a><br/></td></tr>
66
 
</table><table class="memberdecls">
67
 
<tr class="heading"><td colspan="2"><h2><a name="func-members"></a>
68
 
Functions</h2></td></tr>
69
 
<tr class="memitem:a09b35b0b95d7bd4259ead615c2bae205"><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>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="include_2libimobiledevice_2mobile__image__mounter_8h.html#a09b35b0b95d7bd4259ead615c2bae205">mobile_image_mounter_new</a> (<a class="el" href="libimobiledevice_8h.html#ae5bc0e9aa2f3b5023755f5e1c5039a60">idevice_t</a> device, lockdownd_service_descriptor_t service, <a class="el" href="include_2libimobiledevice_2mobile__image__mounter_8h.html#ae7690ee36890c0c64933107e86c1ab0f">mobile_image_mounter_client_t</a> *client)</td></tr>
70
 
<tr class="memdesc:a09b35b0b95d7bd4259ead615c2bae205"><td class="mdescLeft">&#160;</td><td class="mdescRight">Connects to the mobile_image_mounter service on the specified device.  <a href="#a09b35b0b95d7bd4259ead615c2bae205"></a><br/></td></tr>
71
 
<tr class="memitem:a840a19c567f46f66f1731babb8c608d1"><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>&#160;</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="include_2libimobiledevice_2mobile__image__mounter_8h.html#ae7690ee36890c0c64933107e86c1ab0f">mobile_image_mounter_client_t</a> client)</td></tr>
72
 
<tr class="memdesc:a840a19c567f46f66f1731babb8c608d1"><td class="mdescLeft">&#160;</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>
73
 
<tr class="memitem:a36eaa679c99ce97b4d4101691cee5fc3"><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>&#160;</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="include_2libimobiledevice_2mobile__image__mounter_8h.html#ae7690ee36890c0c64933107e86c1ab0f">mobile_image_mounter_client_t</a> client, const char *image_type, plist_t *result)</td></tr>
74
 
<tr class="memdesc:a36eaa679c99ce97b4d4101691cee5fc3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Tells if the image of ImageType is already mounted.  <a href="#a36eaa679c99ce97b4d4101691cee5fc3"></a><br/></td></tr>
75
 
<tr class="memitem:a8b2d5a1a5aca62984095f5a5731ea9cb"><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>&#160;</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="include_2libimobiledevice_2mobile__image__mounter_8h.html#ae7690ee36890c0c64933107e86c1ab0f">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>
76
 
<tr class="memdesc:a8b2d5a1a5aca62984095f5a5731ea9cb"><td class="mdescLeft">&#160;</td><td class="mdescRight">Mounts an image on the device.  <a href="#a8b2d5a1a5aca62984095f5a5731ea9cb"></a><br/></td></tr>
77
 
<tr class="memitem:a0b171083275b80170677f4e7c2b6200a"><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>&#160;</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="include_2libimobiledevice_2mobile__image__mounter_8h.html#ae7690ee36890c0c64933107e86c1ab0f">mobile_image_mounter_client_t</a> client)</td></tr>
78
 
<tr class="memdesc:a0b171083275b80170677f4e7c2b6200a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Hangs up the connection to the mobile_image_mounter service.  <a href="#a0b171083275b80170677f4e7c2b6200a"></a><br/></td></tr>
79
 
</table><table class="memberdecls">
80
 
<tr class="heading"><td colspan="2"><h2><a name="member-group"></a>
81
 
Error Codes</h2></td></tr>
82
 
<tr class="memitem:a009f8723f2cc02a019de2b15d750abe6"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a009f8723f2cc02a019de2b15d750abe6"></a>
83
 
#define&#160;</td><td class="memItemRight" valign="bottom"><b>MOBILE_IMAGE_MOUNTER_E_SUCCESS</b>&#160;&#160;&#160;0</td></tr>
84
 
<tr class="memitem:a217d6ea66fbb8d8759a0e7cb50244072"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a217d6ea66fbb8d8759a0e7cb50244072"></a>
85
 
#define&#160;</td><td class="memItemRight" valign="bottom"><b>MOBILE_IMAGE_MOUNTER_E_INVALID_ARG</b>&#160;&#160;&#160;-1</td></tr>
86
 
<tr class="memitem:ad4f2241cb27ea2fbd00fe255945c5b33"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad4f2241cb27ea2fbd00fe255945c5b33"></a>
87
 
#define&#160;</td><td class="memItemRight" valign="bottom"><b>MOBILE_IMAGE_MOUNTER_E_PLIST_ERROR</b>&#160;&#160;&#160;-2</td></tr>
88
 
<tr class="memitem:ad35bff9a902ebb2fdc5d97f1a61dc3c5"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad35bff9a902ebb2fdc5d97f1a61dc3c5"></a>
89
 
#define&#160;</td><td class="memItemRight" valign="bottom"><b>MOBILE_IMAGE_MOUNTER_E_CONN_FAILED</b>&#160;&#160;&#160;-3</td></tr>
90
 
<tr class="memitem:a81d6dc3bb4330021394173d6b5166623"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a81d6dc3bb4330021394173d6b5166623"></a>
91
 
#define&#160;</td><td class="memItemRight" valign="bottom"><b>MOBILE_IMAGE_MOUNTER_E_UNKNOWN_ERROR</b>&#160;&#160;&#160;-256</td></tr>
92
 
</table>
93
 
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
94
 
<div class="textblock"><p>Mount developer/debug disk images on the device. </p>
95
 
</div><hr/><h2>Typedef Documentation</h2>
96
 
<a class="anchor" id="ae7690ee36890c0c64933107e86c1ab0f"></a>
97
 
<div class="memitem">
98
 
<div class="memproto">
99
 
      <table class="memname">
100
 
        <tr>
101
 
          <td class="memname">typedef <a class="el" href="structmobile__image__mounter__client__private.html">mobile_image_mounter_client_private</a>* <a class="el" href="include_2libimobiledevice_2mobile__image__mounter_8h.html#ae7690ee36890c0c64933107e86c1ab0f">mobile_image_mounter_client_t</a></td>
102
 
        </tr>
103
 
      </table>
104
 
</div><div class="memdoc">
105
 
 
106
 
<p>The client handle. </p>
107
 
 
108
 
</div>
109
 
</div>
110
 
<a class="anchor" id="ae0b7c39de39769f44bba8dd94e9b03a8"></a>
111
 
<div class="memitem">
112
 
<div class="memproto">
113
 
      <table class="memname">
114
 
        <tr>
115
 
          <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>
116
 
        </tr>
117
 
      </table>
118
 
</div><div class="memdoc">
119
 
 
120
 
<p>Represents an error code. </p>
121
 
 
122
 
</div>
123
 
</div>
124
 
<hr/><h2>Function Documentation</h2>
125
 
<a class="anchor" id="a840a19c567f46f66f1731babb8c608d1"></a>
126
 
<div class="memitem">
127
 
<div class="memproto">
128
 
      <table class="memname">
129
 
        <tr>
130
 
          <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>
131
 
          <td>(</td>
132
 
          <td class="paramtype"><a class="el" href="include_2libimobiledevice_2mobile__image__mounter_8h.html#ae7690ee36890c0c64933107e86c1ab0f">mobile_image_mounter_client_t</a>&#160;</td>
133
 
          <td class="paramname"><em>client</em></td><td>)</td>
134
 
          <td></td>
135
 
        </tr>
136
 
      </table>
137
 
</div><div class="memdoc">
138
 
 
139
 
<p>Disconnects a mobile_image_mounter client from the device and frees up the mobile_image_mounter client data. </p>
140
 
<dl class="params"><dt>Parameters:</dt><dd>
141
 
  <table class="params">
142
 
    <tr><td class="paramname">client</td><td>The mobile_image_mounter client to disconnect and free.</td></tr>
143
 
  </table>
144
 
  </dd>
145
 
</dl>
146
 
<dl class="section return"><dt>Returns:</dt><dd>MOBILE_IMAGE_MOUNTER_E_SUCCESS on success, or MOBILE_IMAGE_MOUNTER_E_INVALID_ARG if client is NULL. </dd></dl>
147
 
 
148
 
</div>
149
 
</div>
150
 
<a class="anchor" id="a0b171083275b80170677f4e7c2b6200a"></a>
151
 
<div class="memitem">
152
 
<div class="memproto">
153
 
      <table class="memname">
154
 
        <tr>
155
 
          <td class="memname"><a class="el" href="include_2libimobiledevice_2mobile__image__mounter_8h.html#ae0b7c39de39769f44bba8dd94e9b03a8">mobile_image_mounter_error_t</a> mobile_image_mounter_hangup </td>
156
 
          <td>(</td>
157
 
          <td class="paramtype"><a class="el" href="include_2libimobiledevice_2mobile__image__mounter_8h.html#ae7690ee36890c0c64933107e86c1ab0f">mobile_image_mounter_client_t</a>&#160;</td>
158
 
          <td class="paramname"><em>client</em></td><td>)</td>
159
 
          <td></td>
160
 
        </tr>
161
 
      </table>
162
 
</div><div class="memdoc">
163
 
 
164
 
<p>Hangs up the connection to the mobile_image_mounter service. </p>
165
 
<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>
166
 
<dl class="params"><dt>Parameters:</dt><dd>
167
 
  <table class="params">
168
 
    <tr><td class="paramname">client</td><td>The client to hang up</td></tr>
169
 
  </table>
170
 
  </dd>
171
 
</dl>
172
 
<dl class="section return"><dt>Returns:</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>
173
 
 
174
 
</div>
175
 
</div>
176
 
<a class="anchor" id="a36eaa679c99ce97b4d4101691cee5fc3"></a>
177
 
<div class="memitem">
178
 
<div class="memproto">
179
 
      <table class="memname">
180
 
        <tr>
181
 
          <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>
182
 
          <td>(</td>
183
 
          <td class="paramtype"><a class="el" href="include_2libimobiledevice_2mobile__image__mounter_8h.html#ae7690ee36890c0c64933107e86c1ab0f">mobile_image_mounter_client_t</a>&#160;</td>
184
 
          <td class="paramname"><em>client</em>, </td>
185
 
        </tr>
186
 
        <tr>
187
 
          <td class="paramkey"></td>
188
 
          <td></td>
189
 
          <td class="paramtype">const char *&#160;</td>
190
 
          <td class="paramname"><em>image_type</em>, </td>
191
 
        </tr>
192
 
        <tr>
193
 
          <td class="paramkey"></td>
194
 
          <td></td>
195
 
          <td class="paramtype">plist_t *&#160;</td>
196
 
          <td class="paramname"><em>result</em>&#160;</td>
197
 
        </tr>
198
 
        <tr>
199
 
          <td></td>
200
 
          <td>)</td>
201
 
          <td></td><td></td>
202
 
        </tr>
203
 
      </table>
204
 
</div><div class="memdoc">
205
 
 
206
 
<p>Tells if the image of ImageType is already mounted. </p>
207
 
<dl class="params"><dt>Parameters:</dt><dd>
208
 
  <table class="params">
209
 
    <tr><td class="paramname">client</td><td>The client use </td></tr>
210
 
    <tr><td class="paramname">image_type</td><td>The type of the image to look up </td></tr>
211
 
    <tr><td class="paramname">result</td><td>Pointer to a plist that will receive the result of the operation.</td></tr>
212
 
  </table>
213
 
  </dd>
214
 
</dl>
215
 
<dl class="section note"><dt>Note:</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>
216
 
<dl class="section return"><dt>Returns:</dt><dd>MOBILE_IMAGE_MOUNTER_E_SUCCESS on success, or an error code on error </dd></dl>
217
 
 
218
 
</div>
219
 
</div>
220
 
<a class="anchor" id="a8b2d5a1a5aca62984095f5a5731ea9cb"></a>
221
 
<div class="memitem">
222
 
<div class="memproto">
223
 
      <table class="memname">
224
 
        <tr>
225
 
          <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>
226
 
          <td>(</td>
227
 
          <td class="paramtype"><a class="el" href="include_2libimobiledevice_2mobile__image__mounter_8h.html#ae7690ee36890c0c64933107e86c1ab0f">mobile_image_mounter_client_t</a>&#160;</td>
228
 
          <td class="paramname"><em>client</em>, </td>
229
 
        </tr>
230
 
        <tr>
231
 
          <td class="paramkey"></td>
232
 
          <td></td>
233
 
          <td class="paramtype">const char *&#160;</td>
234
 
          <td class="paramname"><em>image_path</em>, </td>
235
 
        </tr>
236
 
        <tr>
237
 
          <td class="paramkey"></td>
238
 
          <td></td>
239
 
          <td class="paramtype">const char *&#160;</td>
240
 
          <td class="paramname"><em>image_signature</em>, </td>
241
 
        </tr>
242
 
        <tr>
243
 
          <td class="paramkey"></td>
244
 
          <td></td>
245
 
          <td class="paramtype">uint16_t&#160;</td>
246
 
          <td class="paramname"><em>signature_length</em>, </td>
247
 
        </tr>
248
 
        <tr>
249
 
          <td class="paramkey"></td>
250
 
          <td></td>
251
 
          <td class="paramtype">const char *&#160;</td>
252
 
          <td class="paramname"><em>image_type</em>, </td>
253
 
        </tr>
254
 
        <tr>
255
 
          <td class="paramkey"></td>
256
 
          <td></td>
257
 
          <td class="paramtype">plist_t *&#160;</td>
258
 
          <td class="paramname"><em>result</em>&#160;</td>
259
 
        </tr>
260
 
        <tr>
261
 
          <td></td>
262
 
          <td>)</td>
263
 
          <td></td><td></td>
264
 
        </tr>
265
 
      </table>
266
 
</div><div class="memdoc">
267
 
 
268
 
<p>Mounts an image on the device. </p>
269
 
<dl class="params"><dt>Parameters:</dt><dd>
270
 
  <table class="params">
271
 
    <tr><td class="paramname">client</td><td>The connected mobile_image_mounter client. </td></tr>
272
 
    <tr><td class="paramname">image_path</td><td>The absolute path of the image to mount. The image must be present before calling this function. </td></tr>
273
 
    <tr><td class="paramname">image_signature</td><td>Pointer to a buffer holding the images' signature </td></tr>
274
 
    <tr><td class="paramname">signature_length</td><td>Length of the signature image_signature points to </td></tr>
275
 
    <tr><td class="paramname">image_type</td><td>Type of image to mount </td></tr>
276
 
    <tr><td class="paramname">result</td><td>Pointer to a plist that will receive the result of the operation.</td></tr>
277
 
  </table>
278
 
  </dd>
279
 
</dl>
280
 
<dl class="section note"><dt>Note:</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>
281
 
<dl class="section return"><dt>Returns:</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>
282
 
 
283
 
</div>
284
 
</div>
285
 
<a class="anchor" id="a09b35b0b95d7bd4259ead615c2bae205"></a>
286
 
<div class="memitem">
287
 
<div class="memproto">
288
 
      <table class="memname">
289
 
        <tr>
290
 
          <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>
291
 
          <td>(</td>
292
 
          <td class="paramtype"><a class="el" href="libimobiledevice_8h.html#ae5bc0e9aa2f3b5023755f5e1c5039a60">idevice_t</a>&#160;</td>
293
 
          <td class="paramname"><em>device</em>, </td>
294
 
        </tr>
295
 
        <tr>
296
 
          <td class="paramkey"></td>
297
 
          <td></td>
298
 
          <td class="paramtype">lockdownd_service_descriptor_t&#160;</td>
299
 
          <td class="paramname"><em>service</em>, </td>
300
 
        </tr>
301
 
        <tr>
302
 
          <td class="paramkey"></td>
303
 
          <td></td>
304
 
          <td class="paramtype"><a class="el" href="include_2libimobiledevice_2mobile__image__mounter_8h.html#ae7690ee36890c0c64933107e86c1ab0f">mobile_image_mounter_client_t</a> *&#160;</td>
305
 
          <td class="paramname"><em>client</em>&#160;</td>
306
 
        </tr>
307
 
        <tr>
308
 
          <td></td>
309
 
          <td>)</td>
310
 
          <td></td><td></td>
311
 
        </tr>
312
 
      </table>
313
 
</div><div class="memdoc">
314
 
 
315
 
<p>Connects to the mobile_image_mounter service on the specified device. </p>
316
 
<dl class="params"><dt>Parameters:</dt><dd>
317
 
  <table class="params">
318
 
    <tr><td class="paramname">device</td><td>The device to connect to. </td></tr>
319
 
    <tr><td class="paramname">service</td><td>The service descriptor returned by lockdownd_start_service. </td></tr>
320
 
    <tr><td class="paramname">client</td><td>Pointer that will be set to a newly allocated mobile_image_mounter_client_t upon successful return.</td></tr>
321
 
  </table>
322
 
  </dd>
323
 
</dl>
324
 
<dl class="section return"><dt>Returns:</dt><dd>MOBILE_IMAGE_MOUNTER_E_SUCCESS on success, MOBILE_IMAGE_MOUNTER_E_INVALID_ARG if device is NULL, or MOBILE_IMAGE_MOUNTER_E_CONN_FAILED if the connection to the device could not be established. </dd></dl>
325
 
 
326
 
</div>
327
 
</div>
328
 
</div><!-- contents -->
329
 
<!-- start footer part -->
330
 
<hr class="footer"/><address class="footer"><small>
331
 
Generated by &#160;<a href="http://www.doxygen.org/index.html">
332
 
<img class="footer" src="doxygen.png" alt="doxygen"/>
333
 
</a> 1.8.1
334
 
</small></address>
335
 
</body>
336
 
</html>