This file is indexed.

/usr/share/doc/libimobiledevice-doc/libimobiledevice/webinspector_8h.html is in libimobiledevice-doc 1.2.0+dfsg-3~ubuntu0.2.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.8"/>
<title>libimobiledevice: libimobiledevice/webinspector.h File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">libimobiledevice
   &#160;<span id="projectnumber">1.2.0</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.8 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>Globals</span></a></li>
    </ul>
  </div>
<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_6f94c0669708509ba6e66291c679659c.html">libimobiledevice</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#define-members">Macros</a> &#124;
<a href="#typedef-members">Typedefs</a> &#124;
<a href="#enum-members">Enumerations</a> &#124;
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">webinspector.h File Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>WebKit Remote Debugging.  
<a href="#details">More...</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
Macros</h2></td></tr>
<tr class="memitem:a2fbab011e07e1bfcf26307c7a8f8725d"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a2fbab011e07e1bfcf26307c7a8f8725d"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>WEBINSPECTOR_SERVICE_NAME</b>&#160;&#160;&#160;&quot;com.apple.webinspector&quot;</td></tr>
<tr class="separator:a2fbab011e07e1bfcf26307c7a8f8725d"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="typedef-members"></a>
Typedefs</h2></td></tr>
<tr class="memitem:af2b8c3bf8bebcdcd5fea1acdea773876"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af2b8c3bf8bebcdcd5fea1acdea773876"></a>
typedef struct <br class="typebreak" />
webinspector_client_private&#160;</td><td class="memItemRight" valign="bottom"><b>webinspector_client_private</b></td></tr>
<tr class="separator:af2b8c3bf8bebcdcd5fea1acdea773876"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af602567b155f0feb572373ea6323be7a"><td class="memItemLeft" align="right" valign="top">typedef <br class="typebreak" />
webinspector_client_private *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="webinspector_8h.html#af602567b155f0feb572373ea6323be7a">webinspector_client_t</a></td></tr>
<tr class="memdesc:af602567b155f0feb572373ea6323be7a"><td class="mdescLeft">&#160;</td><td class="mdescRight">The client handle.  <a href="#af602567b155f0feb572373ea6323be7a">More...</a><br /></td></tr>
<tr class="separator:af602567b155f0feb572373ea6323be7a"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="enum-members"></a>
Enumerations</h2></td></tr>
<tr class="memitem:a6395b4fb9d6f5686b5ff159e1074eb71"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a6395b4fb9d6f5686b5ff159e1074eb71"></a>enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="webinspector_8h.html#a6395b4fb9d6f5686b5ff159e1074eb71">webinspector_error_t</a> { <br />
&#160;&#160;<b>WEBINSPECTOR_E_SUCCESS</b> = 0, 
<br />
&#160;&#160;<b>WEBINSPECTOR_E_INVALID_ARG</b> = -1, 
<br />
&#160;&#160;<b>WEBINSPECTOR_E_PLIST_ERROR</b> = -2, 
<br />
&#160;&#160;<b>WEBINSPECTOR_E_MUX_ERROR</b> = -3, 
<br />
&#160;&#160;<b>WEBINSPECTOR_E_SSL_ERROR</b> = -4, 
<br />
&#160;&#160;<b>WEBINSPECTOR_E_UNKNOWN_ERROR</b> = -256
<br />
 }</td></tr>
<tr class="memdesc:a6395b4fb9d6f5686b5ff159e1074eb71"><td class="mdescLeft">&#160;</td><td class="mdescRight">Error Codes. <br /></td></tr>
<tr class="separator:a6395b4fb9d6f5686b5ff159e1074eb71"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:ab56fd934397cd7fbf07ad42ab01b1ef3"><td class="memItemLeft" align="right" valign="top"><a class="el" href="webinspector_8h.html#a6395b4fb9d6f5686b5ff159e1074eb71">webinspector_error_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="webinspector_8h.html#ab56fd934397cd7fbf07ad42ab01b1ef3">webinspector_client_new</a> (<a class="el" href="libimobiledevice_8h.html#ae5bc0e9aa2f3b5023755f5e1c5039a60">idevice_t</a> device, lockdownd_service_descriptor_t service, <a class="el" href="webinspector_8h.html#af602567b155f0feb572373ea6323be7a">webinspector_client_t</a> *client)</td></tr>
<tr class="memdesc:ab56fd934397cd7fbf07ad42ab01b1ef3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Connects to the webinspector service on the specified device.  <a href="#ab56fd934397cd7fbf07ad42ab01b1ef3">More...</a><br /></td></tr>
<tr class="separator:ab56fd934397cd7fbf07ad42ab01b1ef3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2d4f33b88b63dde06f0a1384c90fab98"><td class="memItemLeft" align="right" valign="top"><a class="el" href="webinspector_8h.html#a6395b4fb9d6f5686b5ff159e1074eb71">webinspector_error_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="webinspector_8h.html#a2d4f33b88b63dde06f0a1384c90fab98">webinspector_client_start_service</a> (<a class="el" href="libimobiledevice_8h.html#ae5bc0e9aa2f3b5023755f5e1c5039a60">idevice_t</a> device, <a class="el" href="webinspector_8h.html#af602567b155f0feb572373ea6323be7a">webinspector_client_t</a> *client, const char *label)</td></tr>
<tr class="memdesc:a2d4f33b88b63dde06f0a1384c90fab98"><td class="mdescLeft">&#160;</td><td class="mdescRight">Starts a new webinspector service on the specified device and connects to it.  <a href="#a2d4f33b88b63dde06f0a1384c90fab98">More...</a><br /></td></tr>
<tr class="separator:a2d4f33b88b63dde06f0a1384c90fab98"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6e042e408a482b04bd7b2ac54d93054f"><td class="memItemLeft" align="right" valign="top"><a class="el" href="webinspector_8h.html#a6395b4fb9d6f5686b5ff159e1074eb71">webinspector_error_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="webinspector_8h.html#a6e042e408a482b04bd7b2ac54d93054f">webinspector_client_free</a> (<a class="el" href="webinspector_8h.html#af602567b155f0feb572373ea6323be7a">webinspector_client_t</a> client)</td></tr>
<tr class="memdesc:a6e042e408a482b04bd7b2ac54d93054f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Disconnects a webinspector client from the device and frees up the webinspector client data.  <a href="#a6e042e408a482b04bd7b2ac54d93054f">More...</a><br /></td></tr>
<tr class="separator:a6e042e408a482b04bd7b2ac54d93054f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3333eb8bd04298a7c07b8211fbb40ffe"><td class="memItemLeft" align="right" valign="top"><a class="el" href="webinspector_8h.html#a6395b4fb9d6f5686b5ff159e1074eb71">webinspector_error_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="webinspector_8h.html#a3333eb8bd04298a7c07b8211fbb40ffe">webinspector_send</a> (<a class="el" href="webinspector_8h.html#af602567b155f0feb572373ea6323be7a">webinspector_client_t</a> client, plist_t plist)</td></tr>
<tr class="memdesc:a3333eb8bd04298a7c07b8211fbb40ffe"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sends a plist to the service.  <a href="#a3333eb8bd04298a7c07b8211fbb40ffe">More...</a><br /></td></tr>
<tr class="separator:a3333eb8bd04298a7c07b8211fbb40ffe"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acc369e9884288b7e34a3dba061a292f6"><td class="memItemLeft" align="right" valign="top"><a class="el" href="webinspector_8h.html#a6395b4fb9d6f5686b5ff159e1074eb71">webinspector_error_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="webinspector_8h.html#acc369e9884288b7e34a3dba061a292f6">webinspector_receive</a> (<a class="el" href="webinspector_8h.html#af602567b155f0feb572373ea6323be7a">webinspector_client_t</a> client, plist_t *plist)</td></tr>
<tr class="memdesc:acc369e9884288b7e34a3dba061a292f6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Receives a plist from the service.  <a href="#acc369e9884288b7e34a3dba061a292f6">More...</a><br /></td></tr>
<tr class="separator:acc369e9884288b7e34a3dba061a292f6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0d2240f3af5208252dcaaf6d897fa469"><td class="memItemLeft" align="right" valign="top"><a class="el" href="webinspector_8h.html#a6395b4fb9d6f5686b5ff159e1074eb71">webinspector_error_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="webinspector_8h.html#a0d2240f3af5208252dcaaf6d897fa469">webinspector_receive_with_timeout</a> (<a class="el" href="webinspector_8h.html#af602567b155f0feb572373ea6323be7a">webinspector_client_t</a> client, plist_t *plist, uint32_t timeout_ms)</td></tr>
<tr class="memdesc:a0d2240f3af5208252dcaaf6d897fa469"><td class="mdescLeft">&#160;</td><td class="mdescRight">Receives a plist using the given webinspector client.  <a href="#a0d2240f3af5208252dcaaf6d897fa469">More...</a><br /></td></tr>
<tr class="separator:a0d2240f3af5208252dcaaf6d897fa469"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>WebKit Remote Debugging. </p>
</div><h2 class="groupheader">Typedef Documentation</h2>
<a class="anchor" id="af602567b155f0feb572373ea6323be7a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef webinspector_client_private* <a class="el" href="webinspector_8h.html#af602567b155f0feb572373ea6323be7a">webinspector_client_t</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>The client handle. </p>

</div>
</div>
<h2 class="groupheader">Function Documentation</h2>
<a class="anchor" id="a6e042e408a482b04bd7b2ac54d93054f"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="webinspector_8h.html#a6395b4fb9d6f5686b5ff159e1074eb71">webinspector_error_t</a> webinspector_client_free </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="webinspector_8h.html#af602567b155f0feb572373ea6323be7a">webinspector_client_t</a>&#160;</td>
          <td class="paramname"><em>client</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Disconnects a webinspector client from the device and frees up the webinspector client data. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">client</td><td>The webinspector client to disconnect and free.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>WEBINSPECTOR_E_SUCCESS on success, WEBINSPECTOR_E_INVALID_ARG when client is NULL, or an WEBINSPECTOR_E_* error code otherwise. </dd></dl>

</div>
</div>
<a class="anchor" id="ab56fd934397cd7fbf07ad42ab01b1ef3"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="webinspector_8h.html#a6395b4fb9d6f5686b5ff159e1074eb71">webinspector_error_t</a> webinspector_client_new </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="libimobiledevice_8h.html#ae5bc0e9aa2f3b5023755f5e1c5039a60">idevice_t</a>&#160;</td>
          <td class="paramname"><em>device</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">lockdownd_service_descriptor_t&#160;</td>
          <td class="paramname"><em>service</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="webinspector_8h.html#af602567b155f0feb572373ea6323be7a">webinspector_client_t</a> *&#160;</td>
          <td class="paramname"><em>client</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Connects to the webinspector service on the specified device. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">device</td><td>The device to connect to. </td></tr>
    <tr><td class="paramname">service</td><td>The service descriptor returned by lockdownd_start_service. </td></tr>
    <tr><td class="paramname">client</td><td>Pointer that will point to a newly allocated webinspector_client_t upon successful return. Must be freed using <a class="el" href="webinspector_8h.html#a6e042e408a482b04bd7b2ac54d93054f" title="Disconnects a webinspector client from the device and frees up the webinspector client data...">webinspector_client_free()</a> after use.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>WEBINSPECTOR_E_SUCCESS on success, WEBINSPECTOR_E_INVALID_ARG when client is NULL, or an WEBINSPECTOR_E_* error code otherwise. </dd></dl>

</div>
</div>
<a class="anchor" id="a2d4f33b88b63dde06f0a1384c90fab98"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="webinspector_8h.html#a6395b4fb9d6f5686b5ff159e1074eb71">webinspector_error_t</a> webinspector_client_start_service </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="libimobiledevice_8h.html#ae5bc0e9aa2f3b5023755f5e1c5039a60">idevice_t</a>&#160;</td>
          <td class="paramname"><em>device</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="webinspector_8h.html#af602567b155f0feb572373ea6323be7a">webinspector_client_t</a> *&#160;</td>
          <td class="paramname"><em>client</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>label</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Starts a new webinspector service on the specified device and connects to it. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">device</td><td>The device to connect to. </td></tr>
    <tr><td class="paramname">client</td><td>Pointer that will point to a newly allocated webinspector_client_t upon successful return. Must be freed using <a class="el" href="webinspector_8h.html#a6e042e408a482b04bd7b2ac54d93054f" title="Disconnects a webinspector client from the device and frees up the webinspector client data...">webinspector_client_free()</a> after use. </td></tr>
    <tr><td class="paramname">label</td><td>The label to use for communication. Usually the program name. Pass NULL to disable sending the label in requests to lockdownd.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>WEBINSPECTOR_E_SUCCESS on success, or an WEBINSPECTOR_E_* error code otherwise. </dd></dl>

</div>
</div>
<a class="anchor" id="acc369e9884288b7e34a3dba061a292f6"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="webinspector_8h.html#a6395b4fb9d6f5686b5ff159e1074eb71">webinspector_error_t</a> webinspector_receive </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="webinspector_8h.html#af602567b155f0feb572373ea6323be7a">webinspector_client_t</a>&#160;</td>
          <td class="paramname"><em>client</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">plist_t *&#160;</td>
          <td class="paramname"><em>plist</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Receives a plist from the service. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">client</td><td>The webinspector client </td></tr>
    <tr><td class="paramname">plist</td><td>The plist to store the received data</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>DIAGNOSTICS_RELAY_E_SUCCESS on success, DIAGNOSTICS_RELAY_E_INVALID_ARG when client or plist is NULL </dd></dl>

</div>
</div>
<a class="anchor" id="a0d2240f3af5208252dcaaf6d897fa469"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="webinspector_8h.html#a6395b4fb9d6f5686b5ff159e1074eb71">webinspector_error_t</a> webinspector_receive_with_timeout </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="webinspector_8h.html#af602567b155f0feb572373ea6323be7a">webinspector_client_t</a>&#160;</td>
          <td class="paramname"><em>client</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">plist_t *&#160;</td>
          <td class="paramname"><em>plist</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>timeout_ms</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Receives a plist using the given webinspector client. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">client</td><td>The webinspector client to use for receiving </td></tr>
    <tr><td class="paramname">plist</td><td>pointer to a plist_t that will point to the received plist upon successful return </td></tr>
    <tr><td class="paramname">timeout</td><td>Maximum time in milliseconds to wait for data.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>WEBINSPECTOR_E_SUCCESS on success, WEBINSPECTOR_E_INVALID_ARG when client or *plist is NULL, WEBINSPECTOR_E_PLIST_ERROR when the received data cannot be converted to a plist, WEBINSPECTOR_E_MUX_ERROR when a communication error occurs, or WEBINSPECTOR_E_UNKNOWN_ERROR when an unspecified error occurs. </dd></dl>

</div>
</div>
<a class="anchor" id="a3333eb8bd04298a7c07b8211fbb40ffe"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="webinspector_8h.html#a6395b4fb9d6f5686b5ff159e1074eb71">webinspector_error_t</a> webinspector_send </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="webinspector_8h.html#af602567b155f0feb572373ea6323be7a">webinspector_client_t</a>&#160;</td>
          <td class="paramname"><em>client</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">plist_t&#160;</td>
          <td class="paramname"><em>plist</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Sends a plist to the service. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">client</td><td>The webinspector client </td></tr>
    <tr><td class="paramname">plist</td><td>The plist to send</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>DIAGNOSTICS_RELAY_E_SUCCESS on success, DIAGNOSTICS_RELAY_E_INVALID_ARG when client or plist is NULL </dd></dl>

</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Wed Jan 28 2015 23:15:48 for libimobiledevice by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.8
</small></address>
</body>
</html>