~ubuntu-branches/ubuntu/trusty/libimobiledevice/trusty-proposed

« back to all changes in this revision

Viewing changes to docs/html/include_2libimobiledevice_2installation__proxy_8h.html

  • Committer: Bazaar Package Importer
  • Author(s): Julien Lavergne
  • Date: 2011-02-13 23:48:06 UTC
  • mfrom: (6.1.2 experimental)
  • Revision ID: james.westby@ubuntu.com-20110213234806-troqpz4p4w2ooka1
Tags: 1.0.4-2
Upload to unstable.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2
 
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
 
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"/>
3
5
<title>libimobiledevice: libimobiledevice/installation_proxy.h File Reference</title>
4
 
<link href="tabs.css" rel="stylesheet" type="text/css">
5
 
<link href="doxygen.css" rel="stylesheet" type="text/css">
6
 
</head><body>
7
 
<!-- Generated by Doxygen 1.5.9 -->
 
6
<link href="tabs.css" rel="stylesheet" type="text/css"/>
 
7
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
 
8
</head>
 
9
<body>
 
10
<!-- Generated by Doxygen 1.6.3 -->
8
11
<div class="navigation" id="top">
9
12
  <div class="tabs">
10
13
    <ul>
21
24
  </div>
22
25
</div>
23
26
<div class="contents">
24
 
<h1>libimobiledevice/installation_proxy.h File Reference</h1>Implementation to talk to the installation proxy on a device.  
25
 
<a href="#_details">More...</a>
26
 
<p>
 
27
<h1>libimobiledevice/installation_proxy.h File Reference</h1>
 
28
<p>Implementation to talk to the installation proxy on a device.  
 
29
<a href="#_details">More...</a></p>
27
30
<table border="0" cellpadding="0" cellspacing="0">
28
 
<tr><td></td></tr>
29
 
<tr><td colspan="2"><br><h2>Typedefs</h2></td></tr>
30
 
<tr><td class="memItemLeft" nowrap align="right" valign="top">typedef int16_t&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="include_2libimobiledevice_2installation__proxy_8h.html#488853e737060e4269b9e3a7706271cc">instproxy_error_t</a></td></tr>
31
 
 
32
 
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Represents an error code.  <a href="#488853e737060e4269b9e3a7706271cc"></a><br></td></tr>
33
 
<tr><td class="memItemLeft" nowrap align="right" valign="top">typedef instproxy_client_private *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="include_2libimobiledevice_2installation__proxy_8h.html#397d08ac5391f6e5bf20a42cfebec9f9">instproxy_client_t</a></td></tr>
34
 
 
35
 
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The client handle.  <a href="#397d08ac5391f6e5bf20a42cfebec9f9"></a><br></td></tr>
36
 
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="92b83275dce2d558a2366f92a62f5b80"></a><!-- doxytag: member="include/libimobiledevice/installation_proxy.h::instproxy_status_cb_t" ref="92b83275dce2d558a2366f92a62f5b80" args=")(const char *operation, plist_t status)" -->
37
 
typedef void(*&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="include_2libimobiledevice_2installation__proxy_8h.html#92b83275dce2d558a2366f92a62f5b80">instproxy_status_cb_t</a> )(const char *operation, plist_t status)</td></tr>
38
 
 
39
 
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Reports the status of the given operation. <br></td></tr>
40
 
<tr><td colspan="2"><br><h2>Functions</h2></td></tr>
41
 
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="include_2libimobiledevice_2installation__proxy_8h.html#488853e737060e4269b9e3a7706271cc">instproxy_error_t</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="include_2libimobiledevice_2installation__proxy_8h.html#3f7068e2a47bbebdea43bbeb86656157">instproxy_client_new</a> (<a class="el" href="libimobiledevice_8h.html#e5bc0e9aa2f3b5023755f5e1c5039a60">idevice_t</a> device, uint16_t port, <a class="el" href="include_2libimobiledevice_2installation__proxy_8h.html#397d08ac5391f6e5bf20a42cfebec9f9">instproxy_client_t</a> *client)</td></tr>
42
 
 
43
 
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Connects to the installation_proxy service on the specified device.  <a href="#3f7068e2a47bbebdea43bbeb86656157"></a><br></td></tr>
44
 
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="include_2libimobiledevice_2installation__proxy_8h.html#488853e737060e4269b9e3a7706271cc">instproxy_error_t</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="include_2libimobiledevice_2installation__proxy_8h.html#3d9667bc75e60f3e9b4ec71b47334044">instproxy_client_free</a> (<a class="el" href="include_2libimobiledevice_2installation__proxy_8h.html#397d08ac5391f6e5bf20a42cfebec9f9">instproxy_client_t</a> client)</td></tr>
45
 
 
46
 
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Disconnects an installation_proxy client from the device and frees up the installation_proxy client data.  <a href="#3d9667bc75e60f3e9b4ec71b47334044"></a><br></td></tr>
47
 
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="include_2libimobiledevice_2installation__proxy_8h.html#488853e737060e4269b9e3a7706271cc">instproxy_error_t</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="include_2libimobiledevice_2installation__proxy_8h.html#8f5c351869472a10ba8e2d47e8f09edb">instproxy_browse</a> (<a class="el" href="include_2libimobiledevice_2installation__proxy_8h.html#397d08ac5391f6e5bf20a42cfebec9f9">instproxy_client_t</a> client, plist_t client_options, plist_t *result)</td></tr>
48
 
 
49
 
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">List installed applications.  <a href="#8f5c351869472a10ba8e2d47e8f09edb"></a><br></td></tr>
50
 
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="include_2libimobiledevice_2installation__proxy_8h.html#488853e737060e4269b9e3a7706271cc">instproxy_error_t</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="include_2libimobiledevice_2installation__proxy_8h.html#0ee9939b249aadfc89e44c2e7701868f">instproxy_install</a> (<a class="el" href="include_2libimobiledevice_2installation__proxy_8h.html#397d08ac5391f6e5bf20a42cfebec9f9">instproxy_client_t</a> client, const char *pkg_path, plist_t client_options, <a class="el" href="include_2libimobiledevice_2installation__proxy_8h.html#92b83275dce2d558a2366f92a62f5b80">instproxy_status_cb_t</a> status_cb)</td></tr>
51
 
 
52
 
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Install an application on the device.  <a href="#0ee9939b249aadfc89e44c2e7701868f"></a><br></td></tr>
53
 
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="include_2libimobiledevice_2installation__proxy_8h.html#488853e737060e4269b9e3a7706271cc">instproxy_error_t</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="include_2libimobiledevice_2installation__proxy_8h.html#8d5e97d6c3b80d6c67259293ef5fb09d">instproxy_upgrade</a> (<a class="el" href="include_2libimobiledevice_2installation__proxy_8h.html#397d08ac5391f6e5bf20a42cfebec9f9">instproxy_client_t</a> client, const char *pkg_path, plist_t client_options, <a class="el" href="include_2libimobiledevice_2installation__proxy_8h.html#92b83275dce2d558a2366f92a62f5b80">instproxy_status_cb_t</a> status_cb)</td></tr>
54
 
 
55
 
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Upgrade an application on the device.  <a href="#8d5e97d6c3b80d6c67259293ef5fb09d"></a><br></td></tr>
56
 
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="include_2libimobiledevice_2installation__proxy_8h.html#488853e737060e4269b9e3a7706271cc">instproxy_error_t</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="include_2libimobiledevice_2installation__proxy_8h.html#05c8dceee6f29fcc01c203dab96f53b0">instproxy_uninstall</a> (<a class="el" href="include_2libimobiledevice_2installation__proxy_8h.html#397d08ac5391f6e5bf20a42cfebec9f9">instproxy_client_t</a> client, const char *appid, plist_t client_options, <a class="el" href="include_2libimobiledevice_2installation__proxy_8h.html#92b83275dce2d558a2366f92a62f5b80">instproxy_status_cb_t</a> status_cb)</td></tr>
57
 
 
58
 
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Uninstall an application from the device.  <a href="#05c8dceee6f29fcc01c203dab96f53b0"></a><br></td></tr>
59
 
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="include_2libimobiledevice_2installation__proxy_8h.html#488853e737060e4269b9e3a7706271cc">instproxy_error_t</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="include_2libimobiledevice_2installation__proxy_8h.html#9487418c57758fd672f60c8eb8e2b16c">instproxy_lookup_archives</a> (<a class="el" href="include_2libimobiledevice_2installation__proxy_8h.html#397d08ac5391f6e5bf20a42cfebec9f9">instproxy_client_t</a> client, plist_t client_options, plist_t *result)</td></tr>
60
 
 
61
 
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">List archived applications.  <a href="#9487418c57758fd672f60c8eb8e2b16c"></a><br></td></tr>
62
 
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="include_2libimobiledevice_2installation__proxy_8h.html#488853e737060e4269b9e3a7706271cc">instproxy_error_t</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="include_2libimobiledevice_2installation__proxy_8h.html#14a12024b5dca9a54d528aaf051dd22b">instproxy_archive</a> (<a class="el" href="include_2libimobiledevice_2installation__proxy_8h.html#397d08ac5391f6e5bf20a42cfebec9f9">instproxy_client_t</a> client, const char *appid, plist_t client_options, <a class="el" href="include_2libimobiledevice_2installation__proxy_8h.html#92b83275dce2d558a2366f92a62f5b80">instproxy_status_cb_t</a> status_cb)</td></tr>
63
 
 
64
 
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Archive an application on the device.  <a href="#14a12024b5dca9a54d528aaf051dd22b"></a><br></td></tr>
65
 
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="include_2libimobiledevice_2installation__proxy_8h.html#488853e737060e4269b9e3a7706271cc">instproxy_error_t</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="include_2libimobiledevice_2installation__proxy_8h.html#62d33ff9f5da3a3b58627bd9ca335776">instproxy_restore</a> (<a class="el" href="include_2libimobiledevice_2installation__proxy_8h.html#397d08ac5391f6e5bf20a42cfebec9f9">instproxy_client_t</a> client, const char *appid, plist_t client_options, <a class="el" href="include_2libimobiledevice_2installation__proxy_8h.html#92b83275dce2d558a2366f92a62f5b80">instproxy_status_cb_t</a> status_cb)</td></tr>
66
 
 
67
 
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Restore a previously archived application on the device.  <a href="#62d33ff9f5da3a3b58627bd9ca335776"></a><br></td></tr>
68
 
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="include_2libimobiledevice_2installation__proxy_8h.html#488853e737060e4269b9e3a7706271cc">instproxy_error_t</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="include_2libimobiledevice_2installation__proxy_8h.html#e0831d5caccd1b2f7c6e93527b3f8a22">instproxy_remove_archive</a> (<a class="el" href="include_2libimobiledevice_2installation__proxy_8h.html#397d08ac5391f6e5bf20a42cfebec9f9">instproxy_client_t</a> client, const char *appid, plist_t client_options, <a class="el" href="include_2libimobiledevice_2installation__proxy_8h.html#92b83275dce2d558a2366f92a62f5b80">instproxy_status_cb_t</a> status_cb)</td></tr>
69
 
 
70
 
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Removes a previously archived application from the device.  <a href="#e0831d5caccd1b2f7c6e93527b3f8a22"></a><br></td></tr>
71
 
<tr><td class="memItemLeft" nowrap align="right" valign="top">plist_t&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="include_2libimobiledevice_2installation__proxy_8h.html#570202c469be75185cc4fda62bbae7e0">instproxy_client_options_new</a> ()</td></tr>
72
 
 
73
 
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Create a new client_options plist.  <a href="#570202c469be75185cc4fda62bbae7e0"></a><br></td></tr>
74
 
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="include_2libimobiledevice_2installation__proxy_8h.html#2b7c6cfb5d3503f4db7342288030895b">instproxy_client_options_add</a> (plist_t client_options,...) G_GNUC_NULL_TERMINATED</td></tr>
75
 
 
76
 
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Add one or more new key:value pairs to the given client_options.  <a href="#2b7c6cfb5d3503f4db7342288030895b"></a><br></td></tr>
77
 
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="include_2libimobiledevice_2installation__proxy_8h.html#fda149bd9a657b060338d1b3ddbfae35">instproxy_client_options_free</a> (plist_t client_options)</td></tr>
78
 
 
79
 
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Free client_options plist.  <a href="#fda149bd9a657b060338d1b3ddbfae35"></a><br></td></tr>
80
 
<tr><td colspan="2"><br><h2>Error Codes</h2></td></tr>
81
 
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="6f4547a1b18cf038622fd24d3aa2dc2c"></a><!-- doxytag: member="include/libimobiledevice/installation_proxy.h::INSTPROXY_E_SUCCESS" ref="6f4547a1b18cf038622fd24d3aa2dc2c" args="" -->
 
31
<tr><td colspan="2"><h2>Typedefs</h2></td></tr>
 
32
<tr><td class="memItemLeft" align="right" valign="top">typedef int16_t&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="include_2libimobiledevice_2installation__proxy_8h.html#a488853e737060e4269b9e3a7706271cc">instproxy_error_t</a></td></tr>
 
33
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Represents an error code.  <a href="#a488853e737060e4269b9e3a7706271cc"></a><br/></td></tr>
 
34
<tr><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="structinstproxy__client__private.html">instproxy_client_private</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="include_2libimobiledevice_2installation__proxy_8h.html#a397d08ac5391f6e5bf20a42cfebec9f9">instproxy_client_t</a></td></tr>
 
35
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The client handle.  <a href="#a397d08ac5391f6e5bf20a42cfebec9f9"></a><br/></td></tr>
 
36
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a92b83275dce2d558a2366f92a62f5b80"></a><!-- doxytag: member="include/libimobiledevice/installation_proxy.h::instproxy_status_cb_t" ref="a92b83275dce2d558a2366f92a62f5b80" args=")(const char *operation, plist_t status)" -->
 
37
typedef void(*&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="include_2libimobiledevice_2installation__proxy_8h.html#a92b83275dce2d558a2366f92a62f5b80">instproxy_status_cb_t</a> )(const char *operation, plist_t status)</td></tr>
 
38
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Reports the status of the given operation. <br/></td></tr>
 
39
<tr><td colspan="2"><h2>Functions</h2></td></tr>
 
40
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="include_2libimobiledevice_2installation__proxy_8h.html#a488853e737060e4269b9e3a7706271cc">instproxy_error_t</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="include_2libimobiledevice_2installation__proxy_8h.html#a3f7068e2a47bbebdea43bbeb86656157">instproxy_client_new</a> (<a class="el" href="structidevice__private.html">idevice_t</a> device, uint16_t port, <a class="el" href="structinstproxy__client__private.html">instproxy_client_t</a> *client)</td></tr>
 
41
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Connects to the installation_proxy service on the specified device.  <a href="#a3f7068e2a47bbebdea43bbeb86656157"></a><br/></td></tr>
 
42
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="include_2libimobiledevice_2installation__proxy_8h.html#a488853e737060e4269b9e3a7706271cc">instproxy_error_t</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="include_2libimobiledevice_2installation__proxy_8h.html#a3d9667bc75e60f3e9b4ec71b47334044">instproxy_client_free</a> (<a class="el" href="structinstproxy__client__private.html">instproxy_client_t</a> client)</td></tr>
 
43
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Disconnects an installation_proxy client from the device and frees up the installation_proxy client data.  <a href="#a3d9667bc75e60f3e9b4ec71b47334044"></a><br/></td></tr>
 
44
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="include_2libimobiledevice_2installation__proxy_8h.html#a488853e737060e4269b9e3a7706271cc">instproxy_error_t</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="include_2libimobiledevice_2installation__proxy_8h.html#a8f5c351869472a10ba8e2d47e8f09edb">instproxy_browse</a> (<a class="el" href="structinstproxy__client__private.html">instproxy_client_t</a> client, plist_t client_options, plist_t *result)</td></tr>
 
45
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">List installed applications.  <a href="#a8f5c351869472a10ba8e2d47e8f09edb"></a><br/></td></tr>
 
46
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="include_2libimobiledevice_2installation__proxy_8h.html#a488853e737060e4269b9e3a7706271cc">instproxy_error_t</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="include_2libimobiledevice_2installation__proxy_8h.html#a0ee9939b249aadfc89e44c2e7701868f">instproxy_install</a> (<a class="el" href="structinstproxy__client__private.html">instproxy_client_t</a> client, const char *pkg_path, plist_t client_options, <a class="el" href="include_2libimobiledevice_2installation__proxy_8h.html#a92b83275dce2d558a2366f92a62f5b80">instproxy_status_cb_t</a> status_cb)</td></tr>
 
47
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Install an application on the device.  <a href="#a0ee9939b249aadfc89e44c2e7701868f"></a><br/></td></tr>
 
48
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="include_2libimobiledevice_2installation__proxy_8h.html#a488853e737060e4269b9e3a7706271cc">instproxy_error_t</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="include_2libimobiledevice_2installation__proxy_8h.html#a8d5e97d6c3b80d6c67259293ef5fb09d">instproxy_upgrade</a> (<a class="el" href="structinstproxy__client__private.html">instproxy_client_t</a> client, const char *pkg_path, plist_t client_options, <a class="el" href="include_2libimobiledevice_2installation__proxy_8h.html#a92b83275dce2d558a2366f92a62f5b80">instproxy_status_cb_t</a> status_cb)</td></tr>
 
49
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Upgrade an application on the device.  <a href="#a8d5e97d6c3b80d6c67259293ef5fb09d"></a><br/></td></tr>
 
50
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="include_2libimobiledevice_2installation__proxy_8h.html#a488853e737060e4269b9e3a7706271cc">instproxy_error_t</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="include_2libimobiledevice_2installation__proxy_8h.html#a05c8dceee6f29fcc01c203dab96f53b0">instproxy_uninstall</a> (<a class="el" href="structinstproxy__client__private.html">instproxy_client_t</a> client, const char *appid, plist_t client_options, <a class="el" href="include_2libimobiledevice_2installation__proxy_8h.html#a92b83275dce2d558a2366f92a62f5b80">instproxy_status_cb_t</a> status_cb)</td></tr>
 
51
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Uninstall an application from the device.  <a href="#a05c8dceee6f29fcc01c203dab96f53b0"></a><br/></td></tr>
 
52
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="include_2libimobiledevice_2installation__proxy_8h.html#a488853e737060e4269b9e3a7706271cc">instproxy_error_t</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="include_2libimobiledevice_2installation__proxy_8h.html#a9487418c57758fd672f60c8eb8e2b16c">instproxy_lookup_archives</a> (<a class="el" href="structinstproxy__client__private.html">instproxy_client_t</a> client, plist_t client_options, plist_t *result)</td></tr>
 
53
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">List archived applications.  <a href="#a9487418c57758fd672f60c8eb8e2b16c"></a><br/></td></tr>
 
54
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="include_2libimobiledevice_2installation__proxy_8h.html#a488853e737060e4269b9e3a7706271cc">instproxy_error_t</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="include_2libimobiledevice_2installation__proxy_8h.html#a14a12024b5dca9a54d528aaf051dd22b">instproxy_archive</a> (<a class="el" href="structinstproxy__client__private.html">instproxy_client_t</a> client, const char *appid, plist_t client_options, <a class="el" href="include_2libimobiledevice_2installation__proxy_8h.html#a92b83275dce2d558a2366f92a62f5b80">instproxy_status_cb_t</a> status_cb)</td></tr>
 
55
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Archive an application on the device.  <a href="#a14a12024b5dca9a54d528aaf051dd22b"></a><br/></td></tr>
 
56
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="include_2libimobiledevice_2installation__proxy_8h.html#a488853e737060e4269b9e3a7706271cc">instproxy_error_t</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="include_2libimobiledevice_2installation__proxy_8h.html#a62d33ff9f5da3a3b58627bd9ca335776">instproxy_restore</a> (<a class="el" href="structinstproxy__client__private.html">instproxy_client_t</a> client, const char *appid, plist_t client_options, <a class="el" href="include_2libimobiledevice_2installation__proxy_8h.html#a92b83275dce2d558a2366f92a62f5b80">instproxy_status_cb_t</a> status_cb)</td></tr>
 
57
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Restore a previously archived application on the device.  <a href="#a62d33ff9f5da3a3b58627bd9ca335776"></a><br/></td></tr>
 
58
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="include_2libimobiledevice_2installation__proxy_8h.html#a488853e737060e4269b9e3a7706271cc">instproxy_error_t</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="include_2libimobiledevice_2installation__proxy_8h.html#ae0831d5caccd1b2f7c6e93527b3f8a22">instproxy_remove_archive</a> (<a class="el" href="structinstproxy__client__private.html">instproxy_client_t</a> client, const char *appid, plist_t client_options, <a class="el" href="include_2libimobiledevice_2installation__proxy_8h.html#a92b83275dce2d558a2366f92a62f5b80">instproxy_status_cb_t</a> status_cb)</td></tr>
 
59
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Removes a previously archived application from the device.  <a href="#ae0831d5caccd1b2f7c6e93527b3f8a22"></a><br/></td></tr>
 
60
<tr><td class="memItemLeft" align="right" valign="top">plist_t&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="include_2libimobiledevice_2installation__proxy_8h.html#a570202c469be75185cc4fda62bbae7e0">instproxy_client_options_new</a> ()</td></tr>
 
61
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Create a new client_options plist.  <a href="#a570202c469be75185cc4fda62bbae7e0"></a><br/></td></tr>
 
62
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="include_2libimobiledevice_2installation__proxy_8h.html#a2b7c6cfb5d3503f4db7342288030895b">instproxy_client_options_add</a> (plist_t client_options,...) G_GNUC_NULL_TERMINATED</td></tr>
 
63
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Add one or more new key:value pairs to the given client_options.  <a href="#a2b7c6cfb5d3503f4db7342288030895b"></a><br/></td></tr>
 
64
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="include_2libimobiledevice_2installation__proxy_8h.html#afda149bd9a657b060338d1b3ddbfae35">instproxy_client_options_free</a> (plist_t client_options)</td></tr>
 
65
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Free client_options plist.  <a href="#afda149bd9a657b060338d1b3ddbfae35"></a><br/></td></tr>
 
66
<tr><td colspan="2"><h2>Error Codes</h2></td></tr>
 
67
<tr><td colspan="2"><p><a class="anchor" id="amgrp5c244138ac975df1b1cec1afc71a6c9a"></a> </p>
 
68
<br/><br/></td></tr>
 
69
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a6f4547a1b18cf038622fd24d3aa2dc2c"></a><!-- doxytag: member="include/libimobiledevice/installation_proxy.h::INSTPROXY_E_SUCCESS" ref="a6f4547a1b18cf038622fd24d3aa2dc2c" args="" -->
82
70
#define&nbsp;</td><td class="memItemRight" valign="bottom"><b>INSTPROXY_E_SUCCESS</b>&nbsp;&nbsp;&nbsp;0</td></tr>
83
 
 
84
 
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="94410800d99bc7a7ea07f2cf9ec080d5"></a><!-- doxytag: member="include/libimobiledevice/installation_proxy.h::INSTPROXY_E_INVALID_ARG" ref="94410800d99bc7a7ea07f2cf9ec080d5" args="" -->
 
71
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a94410800d99bc7a7ea07f2cf9ec080d5"></a><!-- doxytag: member="include/libimobiledevice/installation_proxy.h::INSTPROXY_E_INVALID_ARG" ref="a94410800d99bc7a7ea07f2cf9ec080d5" args="" -->
85
72
#define&nbsp;</td><td class="memItemRight" valign="bottom"><b>INSTPROXY_E_INVALID_ARG</b>&nbsp;&nbsp;&nbsp;-1</td></tr>
86
 
 
87
 
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="47fe5fb73315a4c1a54254040bb1163b"></a><!-- doxytag: member="include/libimobiledevice/installation_proxy.h::INSTPROXY_E_PLIST_ERROR" ref="47fe5fb73315a4c1a54254040bb1163b" args="" -->
 
73
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a47fe5fb73315a4c1a54254040bb1163b"></a><!-- doxytag: member="include/libimobiledevice/installation_proxy.h::INSTPROXY_E_PLIST_ERROR" ref="a47fe5fb73315a4c1a54254040bb1163b" args="" -->
88
74
#define&nbsp;</td><td class="memItemRight" valign="bottom"><b>INSTPROXY_E_PLIST_ERROR</b>&nbsp;&nbsp;&nbsp;-2</td></tr>
89
 
 
90
 
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="afc3a02caf1bb6a620f815a89e390939"></a><!-- doxytag: member="include/libimobiledevice/installation_proxy.h::INSTPROXY_E_CONN_FAILED" ref="afc3a02caf1bb6a620f815a89e390939" args="" -->
 
75
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aafc3a02caf1bb6a620f815a89e390939"></a><!-- doxytag: member="include/libimobiledevice/installation_proxy.h::INSTPROXY_E_CONN_FAILED" ref="aafc3a02caf1bb6a620f815a89e390939" args="" -->
91
76
#define&nbsp;</td><td class="memItemRight" valign="bottom"><b>INSTPROXY_E_CONN_FAILED</b>&nbsp;&nbsp;&nbsp;-3</td></tr>
92
 
 
93
 
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="c32961c6e5ef00f86713c949bc080b31"></a><!-- doxytag: member="include/libimobiledevice/installation_proxy.h::INSTPROXY_E_OP_IN_PROGRESS" ref="c32961c6e5ef00f86713c949bc080b31" args="" -->
 
77
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ac32961c6e5ef00f86713c949bc080b31"></a><!-- doxytag: member="include/libimobiledevice/installation_proxy.h::INSTPROXY_E_OP_IN_PROGRESS" ref="ac32961c6e5ef00f86713c949bc080b31" args="" -->
94
78
#define&nbsp;</td><td class="memItemRight" valign="bottom"><b>INSTPROXY_E_OP_IN_PROGRESS</b>&nbsp;&nbsp;&nbsp;-4</td></tr>
95
 
 
96
 
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="20a31915178a440a3464f1a90d513a10"></a><!-- doxytag: member="include/libimobiledevice/installation_proxy.h::INSTPROXY_E_OP_FAILED" ref="20a31915178a440a3464f1a90d513a10" args="" -->
 
79
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a20a31915178a440a3464f1a90d513a10"></a><!-- doxytag: member="include/libimobiledevice/installation_proxy.h::INSTPROXY_E_OP_FAILED" ref="a20a31915178a440a3464f1a90d513a10" args="" -->
97
80
#define&nbsp;</td><td class="memItemRight" valign="bottom"><b>INSTPROXY_E_OP_FAILED</b>&nbsp;&nbsp;&nbsp;-5</td></tr>
98
 
 
99
 
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="d53fac71e580bfcd62c491d30d71d65b"></a><!-- doxytag: member="include/libimobiledevice/installation_proxy.h::INSTPROXY_E_UNKNOWN_ERROR" ref="d53fac71e580bfcd62c491d30d71d65b" args="" -->
 
81
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad53fac71e580bfcd62c491d30d71d65b"></a><!-- doxytag: member="include/libimobiledevice/installation_proxy.h::INSTPROXY_E_UNKNOWN_ERROR" ref="ad53fac71e580bfcd62c491d30d71d65b" args="" -->
100
82
#define&nbsp;</td><td class="memItemRight" valign="bottom"><b>INSTPROXY_E_UNKNOWN_ERROR</b>&nbsp;&nbsp;&nbsp;-256</td></tr>
101
 
 
102
83
</table>
103
 
<hr><h2>Detailed Description</h2>
104
 
Implementation to talk to the installation proxy on a device. 
105
 
<p>
106
 
<hr><h2>Typedef Documentation</h2>
107
 
<a class="anchor" name="397d08ac5391f6e5bf20a42cfebec9f9"></a><!-- doxytag: member="installation_proxy.h::instproxy_client_t" ref="397d08ac5391f6e5bf20a42cfebec9f9" args="" -->
108
 
<div class="memitem">
109
 
<div class="memproto">
110
 
      <table class="memname">
111
 
        <tr>
112
 
          <td class="memname">typedef instproxy_client_private* <a class="el" href="include_2libimobiledevice_2installation__proxy_8h.html#397d08ac5391f6e5bf20a42cfebec9f9">instproxy_client_t</a>          </td>
113
 
        </tr>
114
 
      </table>
115
 
</div>
116
 
<div class="memdoc">
117
 
 
118
 
<p>
119
 
The client handle. 
120
 
<p>
121
 
 
122
 
</div>
123
 
</div><p>
124
 
<a class="anchor" name="488853e737060e4269b9e3a7706271cc"></a><!-- doxytag: member="installation_proxy.h::instproxy_error_t" ref="488853e737060e4269b9e3a7706271cc" args="" -->
125
 
<div class="memitem">
126
 
<div class="memproto">
127
 
      <table class="memname">
128
 
        <tr>
129
 
          <td class="memname">typedef int16_t <a class="el" href="include_2libimobiledevice_2installation__proxy_8h.html#488853e737060e4269b9e3a7706271cc">instproxy_error_t</a>          </td>
130
 
        </tr>
131
 
      </table>
132
 
</div>
133
 
<div class="memdoc">
134
 
 
135
 
<p>
136
 
Represents an error code. 
137
 
<p>
138
 
 
139
 
</div>
140
 
</div><p>
141
 
<hr><h2>Function Documentation</h2>
142
 
<a class="anchor" name="14a12024b5dca9a54d528aaf051dd22b"></a><!-- doxytag: member="installation_proxy.h::instproxy_archive" ref="14a12024b5dca9a54d528aaf051dd22b" args="(instproxy_client_t client, const char *appid, plist_t client_options, instproxy_status_cb_t status_cb)" -->
143
 
<div class="memitem">
144
 
<div class="memproto">
145
 
      <table class="memname">
146
 
        <tr>
147
 
          <td class="memname"><a class="el" href="include_2libimobiledevice_2installation__proxy_8h.html#488853e737060e4269b9e3a7706271cc">instproxy_error_t</a> instproxy_archive           </td>
 
84
<hr/><a name="_details"></a><h2>Detailed Description</h2>
 
85
<p>Implementation to talk to the installation proxy on a device. </p>
 
86
<hr/><h2>Typedef Documentation</h2>
 
87
<a class="anchor" id="a397d08ac5391f6e5bf20a42cfebec9f9"></a><!-- doxytag: member="installation_proxy.h::instproxy_client_t" ref="a397d08ac5391f6e5bf20a42cfebec9f9" args="" -->
 
88
<div class="memitem">
 
89
<div class="memproto">
 
90
      <table class="memname">
 
91
        <tr>
 
92
          <td class="memname">typedef <a class="el" href="structinstproxy__client__private.html">instproxy_client_private</a>* <a class="el" href="structinstproxy__client__private.html">instproxy_client_t</a></td>
 
93
        </tr>
 
94
      </table>
 
95
</div>
 
96
<div class="memdoc">
 
97
 
 
98
<p>The client handle. </p>
 
99
 
 
100
</div>
 
101
</div>
 
102
<a class="anchor" id="a488853e737060e4269b9e3a7706271cc"></a><!-- doxytag: member="installation_proxy.h::instproxy_error_t" ref="a488853e737060e4269b9e3a7706271cc" args="" -->
 
103
<div class="memitem">
 
104
<div class="memproto">
 
105
      <table class="memname">
 
106
        <tr>
 
107
          <td class="memname">typedef int16_t <a class="el" href="include_2libimobiledevice_2installation__proxy_8h.html#a488853e737060e4269b9e3a7706271cc">instproxy_error_t</a></td>
 
108
        </tr>
 
109
      </table>
 
110
</div>
 
111
<div class="memdoc">
 
112
 
 
113
<p>Represents an error code. </p>
 
114
 
 
115
</div>
 
116
</div>
 
117
<hr/><h2>Function Documentation</h2>
 
118
<a class="anchor" id="a14a12024b5dca9a54d528aaf051dd22b"></a><!-- doxytag: member="installation_proxy.h::instproxy_archive" ref="a14a12024b5dca9a54d528aaf051dd22b" args="(instproxy_client_t client, const char *appid, plist_t client_options, instproxy_status_cb_t status_cb)" -->
 
119
<div class="memitem">
 
120
<div class="memproto">
 
121
      <table class="memname">
 
122
        <tr>
 
123
          <td class="memname"><a class="el" href="include_2libimobiledevice_2installation__proxy_8h.html#a488853e737060e4269b9e3a7706271cc">instproxy_error_t</a> instproxy_archive </td>
148
124
          <td>(</td>
149
 
          <td class="paramtype"><a class="el" href="include_2libimobiledevice_2installation__proxy_8h.html#397d08ac5391f6e5bf20a42cfebec9f9">instproxy_client_t</a>&nbsp;</td>
 
125
          <td class="paramtype"><a class="el" href="structinstproxy__client__private.html">instproxy_client_t</a>&nbsp;</td>
150
126
          <td class="paramname"> <em>client</em>, </td>
151
127
        </tr>
152
128
        <tr>
164
140
        <tr>
165
141
          <td class="paramkey"></td>
166
142
          <td></td>
167
 
          <td class="paramtype"><a class="el" href="include_2libimobiledevice_2installation__proxy_8h.html#92b83275dce2d558a2366f92a62f5b80">instproxy_status_cb_t</a>&nbsp;</td>
 
143
          <td class="paramtype"><a class="el" href="include_2libimobiledevice_2installation__proxy_8h.html#a92b83275dce2d558a2366f92a62f5b80">instproxy_status_cb_t</a>&nbsp;</td>
168
144
          <td class="paramname"> <em>status_cb</em></td><td>&nbsp;</td>
169
145
        </tr>
170
146
        <tr>
176
152
</div>
177
153
<div class="memdoc">
178
154
 
179
 
<p>
180
 
Archive an application on the device. 
181
 
<p>
182
 
This function tells the device to make an archive of the specified application. This results in the device creating a ZIP archive in the 'ApplicationArchives' directory and uninstalling the application.<p>
183
 
<dl compact><dt><b>Parameters:</b></dt><dd>
 
155
<p>Archive an application on the device. </p>
 
156
<p>This function tells the device to make an archive of the specified application. This results in the device creating a ZIP archive in the 'ApplicationArchives' directory and uninstalling the application.</p>
 
157
<dl><dt><b>Parameters:</b></dt><dd>
184
158
  <table border="0" cellspacing="2" cellpadding="0">
185
159
    <tr><td valign="top"></td><td valign="top"><em>client</em>&nbsp;</td><td>The connected installation proxy client </td></tr>
186
160
    <tr><td valign="top"></td><td valign="top"><em>appid</em>&nbsp;</td><td>ApplicationIdentifier of the app to archive. </td></tr>
188
162
    <tr><td valign="top"></td><td valign="top"><em>status_cb</em>&nbsp;</td><td>Callback function for progress and status information. If NULL is passed, this function will run synchronously. </td></tr>
189
163
    <tr><td valign="top"></td><td valign="top"><em>user_data</em>&nbsp;</td><td>Callback data passed to status_cb.</td></tr>
190
164
  </table>
 
165
  </dd>
191
166
</dl>
192
 
<dl class="return" compact><dt><b>Returns:</b></dt><dd>INSTPROXY_E_SUCCESS on success or an INSTPROXY_E_* error value if an error occured.</dd></dl>
193
 
<dl class="note" compact><dt><b>Note:</b></dt><dd>If a callback function is given (async mode), this function returns INSTPROXY_E_SUCCESS immediately if the status updater thread has been created successfully; any error occuring during the operation has to be handled inside the specified callback function. </dd></dl>
 
167
<dl class="return"><dt><b>Returns:</b></dt><dd>INSTPROXY_E_SUCCESS on success or an INSTPROXY_E_* error value if an error occured.</dd></dl>
 
168
<dl class="note"><dt><b>Note:</b></dt><dd>If a callback function is given (async mode), this function returns INSTPROXY_E_SUCCESS immediately if the status updater thread has been created successfully; any error occuring during the operation has to be handled inside the specified callback function. </dd></dl>
194
169
 
195
170
</div>
196
 
</div><p>
197
 
<a class="anchor" name="8f5c351869472a10ba8e2d47e8f09edb"></a><!-- doxytag: member="installation_proxy.h::instproxy_browse" ref="8f5c351869472a10ba8e2d47e8f09edb" args="(instproxy_client_t client, plist_t client_options, plist_t *result)" -->
 
171
</div>
 
172
<a class="anchor" id="a8f5c351869472a10ba8e2d47e8f09edb"></a><!-- doxytag: member="installation_proxy.h::instproxy_browse" ref="a8f5c351869472a10ba8e2d47e8f09edb" args="(instproxy_client_t client, plist_t client_options, plist_t *result)" -->
198
173
<div class="memitem">
199
174
<div class="memproto">
200
175
      <table class="memname">
201
176
        <tr>
202
 
          <td class="memname"><a class="el" href="include_2libimobiledevice_2installation__proxy_8h.html#488853e737060e4269b9e3a7706271cc">instproxy_error_t</a> instproxy_browse           </td>
 
177
          <td class="memname"><a class="el" href="include_2libimobiledevice_2installation__proxy_8h.html#a488853e737060e4269b9e3a7706271cc">instproxy_error_t</a> instproxy_browse </td>
203
178
          <td>(</td>
204
 
          <td class="paramtype"><a class="el" href="include_2libimobiledevice_2installation__proxy_8h.html#397d08ac5391f6e5bf20a42cfebec9f9">instproxy_client_t</a>&nbsp;</td>
 
179
          <td class="paramtype"><a class="el" href="structinstproxy__client__private.html">instproxy_client_t</a>&nbsp;</td>
205
180
          <td class="paramname"> <em>client</em>, </td>
206
181
        </tr>
207
182
        <tr>
225
200
</div>
226
201
<div class="memdoc">
227
202
 
228
 
<p>
229
 
List installed applications. 
230
 
<p>
231
 
This function runs synchronously.<p>
232
 
<dl compact><dt><b>Parameters:</b></dt><dd>
 
203
<p>List installed applications. </p>
 
204
<p>This function runs synchronously.</p>
 
205
<dl><dt><b>Parameters:</b></dt><dd>
233
206
  <table border="0" cellspacing="2" cellpadding="0">
234
207
    <tr><td valign="top"></td><td valign="top"><em>client</em>&nbsp;</td><td>The connected installation_proxy client </td></tr>
235
208
    <tr><td valign="top"></td><td valign="top"><em>client_options</em>&nbsp;</td><td>The client options to use, as PLIST_DICT, or NULL. Valid client options include: "ApplicationType" -&gt; "User" "ApplicationType" -&gt; "System" </td></tr>
236
209
    <tr><td valign="top"></td><td valign="top"><em>result</em>&nbsp;</td><td>Pointer that will be set to a plist that will hold an array of PLIST_DICT holding information about the applications found.</td></tr>
237
210
  </table>
 
211
  </dd>
238
212
</dl>
239
 
<dl class="return" compact><dt><b>Returns:</b></dt><dd>INSTPROXY_E_SUCCESS on success or an INSTPROXY_E_* error value if an error occured. </dd></dl>
 
213
<dl class="return"><dt><b>Returns:</b></dt><dd>INSTPROXY_E_SUCCESS on success or an INSTPROXY_E_* error value if an error occured. </dd></dl>
240
214
 
241
215
</div>
242
 
</div><p>
243
 
<a class="anchor" name="3d9667bc75e60f3e9b4ec71b47334044"></a><!-- doxytag: member="installation_proxy.h::instproxy_client_free" ref="3d9667bc75e60f3e9b4ec71b47334044" args="(instproxy_client_t client)" -->
 
216
</div>
 
217
<a class="anchor" id="a3d9667bc75e60f3e9b4ec71b47334044"></a><!-- doxytag: member="installation_proxy.h::instproxy_client_free" ref="a3d9667bc75e60f3e9b4ec71b47334044" args="(instproxy_client_t client)" -->
244
218
<div class="memitem">
245
219
<div class="memproto">
246
220
      <table class="memname">
247
221
        <tr>
248
 
          <td class="memname"><a class="el" href="include_2libimobiledevice_2installation__proxy_8h.html#488853e737060e4269b9e3a7706271cc">instproxy_error_t</a> instproxy_client_free           </td>
 
222
          <td class="memname"><a class="el" href="include_2libimobiledevice_2installation__proxy_8h.html#a488853e737060e4269b9e3a7706271cc">instproxy_error_t</a> instproxy_client_free </td>
249
223
          <td>(</td>
250
 
          <td class="paramtype"><a class="el" href="include_2libimobiledevice_2installation__proxy_8h.html#397d08ac5391f6e5bf20a42cfebec9f9">instproxy_client_t</a>&nbsp;</td>
251
 
          <td class="paramname"> <em>client</em>          </td>
 
224
          <td class="paramtype"><a class="el" href="structinstproxy__client__private.html">instproxy_client_t</a>&nbsp;</td>
 
225
          <td class="paramname"> <em>client</em></td>
252
226
          <td>&nbsp;)&nbsp;</td>
253
227
          <td></td>
254
228
        </tr>
256
230
</div>
257
231
<div class="memdoc">
258
232
 
259
 
<p>
260
 
Disconnects an installation_proxy client from the device and frees up the installation_proxy client data. 
261
 
<p>
262
 
<dl compact><dt><b>Parameters:</b></dt><dd>
 
233
<p>Disconnects an installation_proxy client from the device and frees up the installation_proxy client data. </p>
 
234
<dl><dt><b>Parameters:</b></dt><dd>
263
235
  <table border="0" cellspacing="2" cellpadding="0">
264
236
    <tr><td valign="top"></td><td valign="top"><em>client</em>&nbsp;</td><td>The installation_proxy client to disconnect and free.</td></tr>
265
237
  </table>
 
238
  </dd>
266
239
</dl>
267
 
<dl class="return" compact><dt><b>Returns:</b></dt><dd>INSTPROXY_E_SUCCESS on success or INSTPROXY_E_INVALID_ARG if client is NULL. </dd></dl>
 
240
<dl class="return"><dt><b>Returns:</b></dt><dd>INSTPROXY_E_SUCCESS on success or INSTPROXY_E_INVALID_ARG if client is NULL. </dd></dl>
268
241
 
269
242
</div>
270
 
</div><p>
271
 
<a class="anchor" name="3f7068e2a47bbebdea43bbeb86656157"></a><!-- doxytag: member="installation_proxy.h::instproxy_client_new" ref="3f7068e2a47bbebdea43bbeb86656157" args="(idevice_t device, uint16_t port, instproxy_client_t *client)" -->
 
243
</div>
 
244
<a class="anchor" id="a3f7068e2a47bbebdea43bbeb86656157"></a><!-- doxytag: member="installation_proxy.h::instproxy_client_new" ref="a3f7068e2a47bbebdea43bbeb86656157" args="(idevice_t device, uint16_t port, instproxy_client_t *client)" -->
272
245
<div class="memitem">
273
246
<div class="memproto">
274
247
      <table class="memname">
275
248
        <tr>
276
 
          <td class="memname"><a class="el" href="include_2libimobiledevice_2installation__proxy_8h.html#488853e737060e4269b9e3a7706271cc">instproxy_error_t</a> instproxy_client_new           </td>
 
249
          <td class="memname"><a class="el" href="include_2libimobiledevice_2installation__proxy_8h.html#a488853e737060e4269b9e3a7706271cc">instproxy_error_t</a> instproxy_client_new </td>
277
250
          <td>(</td>
278
 
          <td class="paramtype"><a class="el" href="libimobiledevice_8h.html#e5bc0e9aa2f3b5023755f5e1c5039a60">idevice_t</a>&nbsp;</td>
 
251
          <td class="paramtype"><a class="el" href="structidevice__private.html">idevice_t</a>&nbsp;</td>
279
252
          <td class="paramname"> <em>device</em>, </td>
280
253
        </tr>
281
254
        <tr>
287
260
        <tr>
288
261
          <td class="paramkey"></td>
289
262
          <td></td>
290
 
          <td class="paramtype"><a class="el" href="include_2libimobiledevice_2installation__proxy_8h.html#397d08ac5391f6e5bf20a42cfebec9f9">instproxy_client_t</a> *&nbsp;</td>
 
263
          <td class="paramtype"><a class="el" href="structinstproxy__client__private.html">instproxy_client_t</a> *&nbsp;</td>
291
264
          <td class="paramname"> <em>client</em></td><td>&nbsp;</td>
292
265
        </tr>
293
266
        <tr>
299
272
</div>
300
273
<div class="memdoc">
301
274
 
302
 
<p>
303
 
Connects to the installation_proxy service on the specified device. 
304
 
<p>
305
 
<dl compact><dt><b>Parameters:</b></dt><dd>
 
275
<p>Connects to the installation_proxy service on the specified device. </p>
 
276
<dl><dt><b>Parameters:</b></dt><dd>
306
277
  <table border="0" cellspacing="2" cellpadding="0">
307
278
    <tr><td valign="top"></td><td valign="top"><em>device</em>&nbsp;</td><td>The device to connect to </td></tr>
308
279
    <tr><td valign="top"></td><td valign="top"><em>port</em>&nbsp;</td><td>Destination port (usually given by lockdownd_start_service). </td></tr>
309
280
    <tr><td valign="top"></td><td valign="top"><em>client</em>&nbsp;</td><td>Pointer that will be set to a newly allocated instproxy_client_t upon successful return.</td></tr>
310
281
  </table>
 
282
  </dd>
311
283
</dl>
312
 
<dl class="return" compact><dt><b>Returns:</b></dt><dd>INSTPROXY_E_SUCCESS on success, or an INSTPROXY_E_* error value when an error occured. </dd></dl>
 
284
<dl class="return"><dt><b>Returns:</b></dt><dd>INSTPROXY_E_SUCCESS on success, or an INSTPROXY_E_* error value when an error occured. </dd></dl>
313
285
 
314
286
</div>
315
 
</div><p>
316
 
<a class="anchor" name="2b7c6cfb5d3503f4db7342288030895b"></a><!-- doxytag: member="installation_proxy.h::instproxy_client_options_add" ref="2b7c6cfb5d3503f4db7342288030895b" args="(plist_t client_options,...) G_GNUC_NULL_TERMINATED" -->
 
287
</div>
 
288
<a class="anchor" id="a2b7c6cfb5d3503f4db7342288030895b"></a><!-- doxytag: member="installation_proxy.h::instproxy_client_options_add" ref="a2b7c6cfb5d3503f4db7342288030895b" args="(plist_t client_options,...) G_GNUC_NULL_TERMINATED" -->
317
289
<div class="memitem">
318
290
<div class="memproto">
319
291
      <table class="memname">
320
292
        <tr>
321
 
          <td class="memname">void instproxy_client_options_add           </td>
 
293
          <td class="memname">void instproxy_client_options_add </td>
322
294
          <td>(</td>
323
295
          <td class="paramtype">plist_t&nbsp;</td>
324
296
          <td class="paramname"> <em>client_options</em>, </td>
338
310
</div>
339
311
<div class="memdoc">
340
312
 
341
 
<p>
342
 
Add one or more new key:value pairs to the given client_options. 
343
 
<p>
344
 
<dl compact><dt><b>Parameters:</b></dt><dd>
 
313
<p>Add one or more new key:value pairs to the given client_options. </p>
 
314
<dl><dt><b>Parameters:</b></dt><dd>
345
315
  <table border="0" cellspacing="2" cellpadding="0">
346
316
    <tr><td valign="top"></td><td valign="top"><em>client_options</em>&nbsp;</td><td>The client options to modify. </td></tr>
347
317
    <tr><td valign="top"></td><td valign="top"><em>...</em>&nbsp;</td><td>KEY, VALUE, [KEY, VALUE], NULL</td></tr>
348
318
  </table>
 
319
  </dd>
349
320
</dl>
350
 
<dl class="note" compact><dt><b>Note:</b></dt><dd>The keys and values passed are expected to be strings, except for "ApplicationSINF" and "iTunesMetadata" expecting a plist node of type PLIST_DATA as value, or "SkipUninstall" needing int as value. </dd></dl>
 
321
<dl class="note"><dt><b>Note:</b></dt><dd>The keys and values passed are expected to be strings, except for "ApplicationSINF" and "iTunesMetadata" expecting a plist node of type PLIST_DATA as value, or "SkipUninstall" needing int as value. </dd></dl>
351
322
 
352
323
</div>
353
 
</div><p>
354
 
<a class="anchor" name="fda149bd9a657b060338d1b3ddbfae35"></a><!-- doxytag: member="installation_proxy.h::instproxy_client_options_free" ref="fda149bd9a657b060338d1b3ddbfae35" args="(plist_t client_options)" -->
 
324
</div>
 
325
<a class="anchor" id="afda149bd9a657b060338d1b3ddbfae35"></a><!-- doxytag: member="installation_proxy.h::instproxy_client_options_free" ref="afda149bd9a657b060338d1b3ddbfae35" args="(plist_t client_options)" -->
355
326
<div class="memitem">
356
327
<div class="memproto">
357
328
      <table class="memname">
358
329
        <tr>
359
 
          <td class="memname">void instproxy_client_options_free           </td>
 
330
          <td class="memname">void instproxy_client_options_free </td>
360
331
          <td>(</td>
361
332
          <td class="paramtype">plist_t&nbsp;</td>
362
 
          <td class="paramname"> <em>client_options</em>          </td>
 
333
          <td class="paramname"> <em>client_options</em></td>
363
334
          <td>&nbsp;)&nbsp;</td>
364
335
          <td></td>
365
336
        </tr>
367
338
</div>
368
339
<div class="memdoc">
369
340
 
370
 
<p>
371
 
Free client_options plist. 
372
 
<p>
373
 
<dl compact><dt><b>Parameters:</b></dt><dd>
 
341
<p>Free client_options plist. </p>
 
342
<dl><dt><b>Parameters:</b></dt><dd>
374
343
  <table border="0" cellspacing="2" cellpadding="0">
375
344
    <tr><td valign="top"></td><td valign="top"><em>client_options</em>&nbsp;</td><td>The client options plist to free. Does nothing if NULL is passed. </td></tr>
376
345
  </table>
 
346
  </dd>
377
347
</dl>
378
348
 
379
349
</div>
380
 
</div><p>
381
 
<a class="anchor" name="570202c469be75185cc4fda62bbae7e0"></a><!-- doxytag: member="installation_proxy.h::instproxy_client_options_new" ref="570202c469be75185cc4fda62bbae7e0" args="()" -->
 
350
</div>
 
351
<a class="anchor" id="a570202c469be75185cc4fda62bbae7e0"></a><!-- doxytag: member="installation_proxy.h::instproxy_client_options_new" ref="a570202c469be75185cc4fda62bbae7e0" args="()" -->
382
352
<div class="memitem">
383
353
<div class="memproto">
384
354
      <table class="memname">
385
355
        <tr>
386
 
          <td class="memname">plist_t instproxy_client_options_new           </td>
 
356
          <td class="memname">plist_t instproxy_client_options_new </td>
387
357
          <td>(</td>
388
 
          <td class="paramname">          </td>
 
358
          <td class="paramname"></td>
389
359
          <td>&nbsp;)&nbsp;</td>
390
360
          <td></td>
391
361
        </tr>
393
363
</div>
394
364
<div class="memdoc">
395
365
 
396
 
<p>
397
 
Create a new client_options plist. 
398
 
<p>
399
 
<dl class="return" compact><dt><b>Returns:</b></dt><dd>A new plist_t of type PLIST_DICT. </dd></dl>
 
366
<p>Create a new client_options plist. </p>
 
367
<dl class="return"><dt><b>Returns:</b></dt><dd>A new plist_t of type PLIST_DICT. </dd></dl>
400
368
 
401
369
</div>
402
 
</div><p>
403
 
<a class="anchor" name="0ee9939b249aadfc89e44c2e7701868f"></a><!-- doxytag: member="installation_proxy.h::instproxy_install" ref="0ee9939b249aadfc89e44c2e7701868f" args="(instproxy_client_t client, const char *pkg_path, plist_t client_options, instproxy_status_cb_t status_cb)" -->
 
370
</div>
 
371
<a class="anchor" id="a0ee9939b249aadfc89e44c2e7701868f"></a><!-- doxytag: member="installation_proxy.h::instproxy_install" ref="a0ee9939b249aadfc89e44c2e7701868f" args="(instproxy_client_t client, const char *pkg_path, plist_t client_options, instproxy_status_cb_t status_cb)" -->
404
372
<div class="memitem">
405
373
<div class="memproto">
406
374
      <table class="memname">
407
375
        <tr>
408
 
          <td class="memname"><a class="el" href="include_2libimobiledevice_2installation__proxy_8h.html#488853e737060e4269b9e3a7706271cc">instproxy_error_t</a> instproxy_install           </td>
 
376
          <td class="memname"><a class="el" href="include_2libimobiledevice_2installation__proxy_8h.html#a488853e737060e4269b9e3a7706271cc">instproxy_error_t</a> instproxy_install </td>
409
377
          <td>(</td>
410
 
          <td class="paramtype"><a class="el" href="include_2libimobiledevice_2installation__proxy_8h.html#397d08ac5391f6e5bf20a42cfebec9f9">instproxy_client_t</a>&nbsp;</td>
 
378
          <td class="paramtype"><a class="el" href="structinstproxy__client__private.html">instproxy_client_t</a>&nbsp;</td>
411
379
          <td class="paramname"> <em>client</em>, </td>
412
380
        </tr>
413
381
        <tr>
425
393
        <tr>
426
394
          <td class="paramkey"></td>
427
395
          <td></td>
428
 
          <td class="paramtype"><a class="el" href="include_2libimobiledevice_2installation__proxy_8h.html#92b83275dce2d558a2366f92a62f5b80">instproxy_status_cb_t</a>&nbsp;</td>
 
396
          <td class="paramtype"><a class="el" href="include_2libimobiledevice_2installation__proxy_8h.html#a92b83275dce2d558a2366f92a62f5b80">instproxy_status_cb_t</a>&nbsp;</td>
429
397
          <td class="paramname"> <em>status_cb</em></td><td>&nbsp;</td>
430
398
        </tr>
431
399
        <tr>
437
405
</div>
438
406
<div class="memdoc">
439
407
 
440
 
<p>
441
 
Install an application on the device. 
442
 
<p>
443
 
<dl compact><dt><b>Parameters:</b></dt><dd>
 
408
<p>Install an application on the device. </p>
 
409
<dl><dt><b>Parameters:</b></dt><dd>
444
410
  <table border="0" cellspacing="2" cellpadding="0">
445
411
    <tr><td valign="top"></td><td valign="top"><em>client</em>&nbsp;</td><td>The connected installation_proxy client </td></tr>
446
412
    <tr><td valign="top"></td><td valign="top"><em>pkg_path</em>&nbsp;</td><td>Path of the installation package (inside the AFC jail) </td></tr>
448
414
    <tr><td valign="top"></td><td valign="top"><em>status_cb</em>&nbsp;</td><td>Callback function for progress and status information. If NULL is passed, this function will run synchronously. </td></tr>
449
415
    <tr><td valign="top"></td><td valign="top"><em>user_data</em>&nbsp;</td><td>Callback data passed to status_cb.</td></tr>
450
416
  </table>
 
417
  </dd>
451
418
</dl>
452
 
<dl class="return" compact><dt><b>Returns:</b></dt><dd>INSTPROXY_E_SUCCESS on success or an INSTPROXY_E_* error value if an error occured.</dd></dl>
453
 
<dl class="note" compact><dt><b>Note:</b></dt><dd>If a callback function is given (async mode), this function returns INSTPROXY_E_SUCCESS immediately if the status updater thread has been created successfully; any error occuring during the operation has to be handled inside the specified callback function. </dd></dl>
 
419
<dl class="return"><dt><b>Returns:</b></dt><dd>INSTPROXY_E_SUCCESS on success or an INSTPROXY_E_* error value if an error occured.</dd></dl>
 
420
<dl class="note"><dt><b>Note:</b></dt><dd>If a callback function is given (async mode), this function returns INSTPROXY_E_SUCCESS immediately if the status updater thread has been created successfully; any error occuring during the operation has to be handled inside the specified callback function. </dd></dl>
454
421
 
455
422
</div>
456
 
</div><p>
457
 
<a class="anchor" name="9487418c57758fd672f60c8eb8e2b16c"></a><!-- doxytag: member="installation_proxy.h::instproxy_lookup_archives" ref="9487418c57758fd672f60c8eb8e2b16c" args="(instproxy_client_t client, plist_t client_options, plist_t *result)" -->
 
423
</div>
 
424
<a class="anchor" id="a9487418c57758fd672f60c8eb8e2b16c"></a><!-- doxytag: member="installation_proxy.h::instproxy_lookup_archives" ref="a9487418c57758fd672f60c8eb8e2b16c" args="(instproxy_client_t client, plist_t client_options, plist_t *result)" -->
458
425
<div class="memitem">
459
426
<div class="memproto">
460
427
      <table class="memname">
461
428
        <tr>
462
 
          <td class="memname"><a class="el" href="include_2libimobiledevice_2installation__proxy_8h.html#488853e737060e4269b9e3a7706271cc">instproxy_error_t</a> instproxy_lookup_archives           </td>
 
429
          <td class="memname"><a class="el" href="include_2libimobiledevice_2installation__proxy_8h.html#a488853e737060e4269b9e3a7706271cc">instproxy_error_t</a> instproxy_lookup_archives </td>
463
430
          <td>(</td>
464
 
          <td class="paramtype"><a class="el" href="include_2libimobiledevice_2installation__proxy_8h.html#397d08ac5391f6e5bf20a42cfebec9f9">instproxy_client_t</a>&nbsp;</td>
 
431
          <td class="paramtype"><a class="el" href="structinstproxy__client__private.html">instproxy_client_t</a>&nbsp;</td>
465
432
          <td class="paramname"> <em>client</em>, </td>
466
433
        </tr>
467
434
        <tr>
485
452
</div>
486
453
<div class="memdoc">
487
454
 
488
 
<p>
489
 
List archived applications. 
490
 
<p>
491
 
This function runs synchronously.<p>
492
 
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="include_2libimobiledevice_2installation__proxy_8h.html#14a12024b5dca9a54d528aaf051dd22b" title="Archive an application on the device.">instproxy_archive</a></dd></dl>
493
 
<dl compact><dt><b>Parameters:</b></dt><dd>
 
455
<p>List archived applications. </p>
 
456
<p>This function runs synchronously.</p>
 
457
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="include_2libimobiledevice_2installation__proxy_8h.html#a14a12024b5dca9a54d528aaf051dd22b" title="Archive an application on the device.">instproxy_archive</a></dd></dl>
 
458
<dl><dt><b>Parameters:</b></dt><dd>
494
459
  <table border="0" cellspacing="2" cellpadding="0">
495
460
    <tr><td valign="top"></td><td valign="top"><em>client</em>&nbsp;</td><td>The connected installation_proxy client </td></tr>
496
461
    <tr><td valign="top"></td><td valign="top"><em>client_options</em>&nbsp;</td><td>The client options to use, as PLIST_DICT, or NULL. Currently there are no known client options, so pass NULL here. </td></tr>
497
462
    <tr><td valign="top"></td><td valign="top"><em>result</em>&nbsp;</td><td>Pointer that will be set to a plist containing a PLIST_DICT holding information about the archived applications found.</td></tr>
498
463
  </table>
 
464
  </dd>
499
465
</dl>
500
 
<dl class="return" compact><dt><b>Returns:</b></dt><dd>INSTPROXY_E_SUCCESS on success or an INSTPROXY_E_* error value if an error occured. </dd></dl>
 
466
<dl class="return"><dt><b>Returns:</b></dt><dd>INSTPROXY_E_SUCCESS on success or an INSTPROXY_E_* error value if an error occured. </dd></dl>
501
467
 
502
468
</div>
503
 
</div><p>
504
 
<a class="anchor" name="e0831d5caccd1b2f7c6e93527b3f8a22"></a><!-- doxytag: member="installation_proxy.h::instproxy_remove_archive" ref="e0831d5caccd1b2f7c6e93527b3f8a22" args="(instproxy_client_t client, const char *appid, plist_t client_options, instproxy_status_cb_t status_cb)" -->
 
469
</div>
 
470
<a class="anchor" id="ae0831d5caccd1b2f7c6e93527b3f8a22"></a><!-- doxytag: member="installation_proxy.h::instproxy_remove_archive" ref="ae0831d5caccd1b2f7c6e93527b3f8a22" args="(instproxy_client_t client, const char *appid, plist_t client_options, instproxy_status_cb_t status_cb)" -->
505
471
<div class="memitem">
506
472
<div class="memproto">
507
473
      <table class="memname">
508
474
        <tr>
509
 
          <td class="memname"><a class="el" href="include_2libimobiledevice_2installation__proxy_8h.html#488853e737060e4269b9e3a7706271cc">instproxy_error_t</a> instproxy_remove_archive           </td>
 
475
          <td class="memname"><a class="el" href="include_2libimobiledevice_2installation__proxy_8h.html#a488853e737060e4269b9e3a7706271cc">instproxy_error_t</a> instproxy_remove_archive </td>
510
476
          <td>(</td>
511
 
          <td class="paramtype"><a class="el" href="include_2libimobiledevice_2installation__proxy_8h.html#397d08ac5391f6e5bf20a42cfebec9f9">instproxy_client_t</a>&nbsp;</td>
 
477
          <td class="paramtype"><a class="el" href="structinstproxy__client__private.html">instproxy_client_t</a>&nbsp;</td>
512
478
          <td class="paramname"> <em>client</em>, </td>
513
479
        </tr>
514
480
        <tr>
526
492
        <tr>
527
493
          <td class="paramkey"></td>
528
494
          <td></td>
529
 
          <td class="paramtype"><a class="el" href="include_2libimobiledevice_2installation__proxy_8h.html#92b83275dce2d558a2366f92a62f5b80">instproxy_status_cb_t</a>&nbsp;</td>
 
495
          <td class="paramtype"><a class="el" href="include_2libimobiledevice_2installation__proxy_8h.html#a92b83275dce2d558a2366f92a62f5b80">instproxy_status_cb_t</a>&nbsp;</td>
530
496
          <td class="paramname"> <em>status_cb</em></td><td>&nbsp;</td>
531
497
        </tr>
532
498
        <tr>
538
504
</div>
539
505
<div class="memdoc">
540
506
 
541
 
<p>
542
 
Removes a previously archived application from the device. 
543
 
<p>
544
 
This function removes the ZIP archive from the 'ApplicationArchives' directory.<p>
545
 
<dl compact><dt><b>Parameters:</b></dt><dd>
 
507
<p>Removes a previously archived application from the device. </p>
 
508
<p>This function removes the ZIP archive from the 'ApplicationArchives' directory.</p>
 
509
<dl><dt><b>Parameters:</b></dt><dd>
546
510
  <table border="0" cellspacing="2" cellpadding="0">
547
511
    <tr><td valign="top"></td><td valign="top"><em>client</em>&nbsp;</td><td>The connected installation proxy client </td></tr>
548
512
    <tr><td valign="top"></td><td valign="top"><em>appid</em>&nbsp;</td><td>ApplicationIdentifier of the archived app to remove. </td></tr>
550
514
    <tr><td valign="top"></td><td valign="top"><em>status_cb</em>&nbsp;</td><td>Callback function for progress and status information. If NULL is passed, this function will run synchronously. </td></tr>
551
515
    <tr><td valign="top"></td><td valign="top"><em>user_data</em>&nbsp;</td><td>Callback data passed to status_cb.</td></tr>
552
516
  </table>
 
517
  </dd>
553
518
</dl>
554
 
<dl class="return" compact><dt><b>Returns:</b></dt><dd>INSTPROXY_E_SUCCESS on success or an INSTPROXY_E_* error value if an error occured.</dd></dl>
555
 
<dl class="note" compact><dt><b>Note:</b></dt><dd>If a callback function is given (async mode), this function returns INSTPROXY_E_SUCCESS immediately if the status updater thread has been created successfully; any error occuring during the operation has to be handled inside the specified callback function. </dd></dl>
 
519
<dl class="return"><dt><b>Returns:</b></dt><dd>INSTPROXY_E_SUCCESS on success or an INSTPROXY_E_* error value if an error occured.</dd></dl>
 
520
<dl class="note"><dt><b>Note:</b></dt><dd>If a callback function is given (async mode), this function returns INSTPROXY_E_SUCCESS immediately if the status updater thread has been created successfully; any error occuring during the operation has to be handled inside the specified callback function. </dd></dl>
556
521
 
557
522
</div>
558
 
</div><p>
559
 
<a class="anchor" name="62d33ff9f5da3a3b58627bd9ca335776"></a><!-- doxytag: member="installation_proxy.h::instproxy_restore" ref="62d33ff9f5da3a3b58627bd9ca335776" args="(instproxy_client_t client, const char *appid, plist_t client_options, instproxy_status_cb_t status_cb)" -->
 
523
</div>
 
524
<a class="anchor" id="a62d33ff9f5da3a3b58627bd9ca335776"></a><!-- doxytag: member="installation_proxy.h::instproxy_restore" ref="a62d33ff9f5da3a3b58627bd9ca335776" args="(instproxy_client_t client, const char *appid, plist_t client_options, instproxy_status_cb_t status_cb)" -->
560
525
<div class="memitem">
561
526
<div class="memproto">
562
527
      <table class="memname">
563
528
        <tr>
564
 
          <td class="memname"><a class="el" href="include_2libimobiledevice_2installation__proxy_8h.html#488853e737060e4269b9e3a7706271cc">instproxy_error_t</a> instproxy_restore           </td>
 
529
          <td class="memname"><a class="el" href="include_2libimobiledevice_2installation__proxy_8h.html#a488853e737060e4269b9e3a7706271cc">instproxy_error_t</a> instproxy_restore </td>
565
530
          <td>(</td>
566
 
          <td class="paramtype"><a class="el" href="include_2libimobiledevice_2installation__proxy_8h.html#397d08ac5391f6e5bf20a42cfebec9f9">instproxy_client_t</a>&nbsp;</td>
 
531
          <td class="paramtype"><a class="el" href="structinstproxy__client__private.html">instproxy_client_t</a>&nbsp;</td>
567
532
          <td class="paramname"> <em>client</em>, </td>
568
533
        </tr>
569
534
        <tr>
581
546
        <tr>
582
547
          <td class="paramkey"></td>
583
548
          <td></td>
584
 
          <td class="paramtype"><a class="el" href="include_2libimobiledevice_2installation__proxy_8h.html#92b83275dce2d558a2366f92a62f5b80">instproxy_status_cb_t</a>&nbsp;</td>
 
549
          <td class="paramtype"><a class="el" href="include_2libimobiledevice_2installation__proxy_8h.html#a92b83275dce2d558a2366f92a62f5b80">instproxy_status_cb_t</a>&nbsp;</td>
585
550
          <td class="paramname"> <em>status_cb</em></td><td>&nbsp;</td>
586
551
        </tr>
587
552
        <tr>
593
558
</div>
594
559
<div class="memdoc">
595
560
 
596
 
<p>
597
 
Restore a previously archived application on the device. 
598
 
<p>
599
 
This function is the counterpart to instproxy_archive. <dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="include_2libimobiledevice_2installation__proxy_8h.html#14a12024b5dca9a54d528aaf051dd22b" title="Archive an application on the device.">instproxy_archive</a></dd></dl>
600
 
<dl compact><dt><b>Parameters:</b></dt><dd>
 
561
<p>Restore a previously archived application on the device. </p>
 
562
<p>This function is the counterpart to instproxy_archive. </p>
 
563
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="include_2libimobiledevice_2installation__proxy_8h.html#a14a12024b5dca9a54d528aaf051dd22b" title="Archive an application on the device.">instproxy_archive</a></dd></dl>
 
564
<dl><dt><b>Parameters:</b></dt><dd>
601
565
  <table border="0" cellspacing="2" cellpadding="0">
602
566
    <tr><td valign="top"></td><td valign="top"><em>client</em>&nbsp;</td><td>The connected installation proxy client </td></tr>
603
567
    <tr><td valign="top"></td><td valign="top"><em>appid</em>&nbsp;</td><td>ApplicationIdentifier of the app to restore. </td></tr>
605
569
    <tr><td valign="top"></td><td valign="top"><em>status_cb</em>&nbsp;</td><td>Callback function for progress and status information. If NULL is passed, this function will run synchronously. </td></tr>
606
570
    <tr><td valign="top"></td><td valign="top"><em>user_data</em>&nbsp;</td><td>Callback data passed to status_cb.</td></tr>
607
571
  </table>
 
572
  </dd>
608
573
</dl>
609
 
<dl class="return" compact><dt><b>Returns:</b></dt><dd>INSTPROXY_E_SUCCESS on success or an INSTPROXY_E_* error value if an error occured.</dd></dl>
610
 
<dl class="note" compact><dt><b>Note:</b></dt><dd>If a callback function is given (async mode), this function returns INSTPROXY_E_SUCCESS immediately if the status updater thread has been created successfully; any error occuring during the operation has to be handled inside the specified callback function. </dd></dl>
 
574
<dl class="return"><dt><b>Returns:</b></dt><dd>INSTPROXY_E_SUCCESS on success or an INSTPROXY_E_* error value if an error occured.</dd></dl>
 
575
<dl class="note"><dt><b>Note:</b></dt><dd>If a callback function is given (async mode), this function returns INSTPROXY_E_SUCCESS immediately if the status updater thread has been created successfully; any error occuring during the operation has to be handled inside the specified callback function. </dd></dl>
611
576
 
612
577
</div>
613
 
</div><p>
614
 
<a class="anchor" name="05c8dceee6f29fcc01c203dab96f53b0"></a><!-- doxytag: member="installation_proxy.h::instproxy_uninstall" ref="05c8dceee6f29fcc01c203dab96f53b0" args="(instproxy_client_t client, const char *appid, plist_t client_options, instproxy_status_cb_t status_cb)" -->
 
578
</div>
 
579
<a class="anchor" id="a05c8dceee6f29fcc01c203dab96f53b0"></a><!-- doxytag: member="installation_proxy.h::instproxy_uninstall" ref="a05c8dceee6f29fcc01c203dab96f53b0" args="(instproxy_client_t client, const char *appid, plist_t client_options, instproxy_status_cb_t status_cb)" -->
615
580
<div class="memitem">
616
581
<div class="memproto">
617
582
      <table class="memname">
618
583
        <tr>
619
 
          <td class="memname"><a class="el" href="include_2libimobiledevice_2installation__proxy_8h.html#488853e737060e4269b9e3a7706271cc">instproxy_error_t</a> instproxy_uninstall           </td>
 
584
          <td class="memname"><a class="el" href="include_2libimobiledevice_2installation__proxy_8h.html#a488853e737060e4269b9e3a7706271cc">instproxy_error_t</a> instproxy_uninstall </td>
620
585
          <td>(</td>
621
 
          <td class="paramtype"><a class="el" href="include_2libimobiledevice_2installation__proxy_8h.html#397d08ac5391f6e5bf20a42cfebec9f9">instproxy_client_t</a>&nbsp;</td>
 
586
          <td class="paramtype"><a class="el" href="structinstproxy__client__private.html">instproxy_client_t</a>&nbsp;</td>
622
587
          <td class="paramname"> <em>client</em>, </td>
623
588
        </tr>
624
589
        <tr>
636
601
        <tr>
637
602
          <td class="paramkey"></td>
638
603
          <td></td>
639
 
          <td class="paramtype"><a class="el" href="include_2libimobiledevice_2installation__proxy_8h.html#92b83275dce2d558a2366f92a62f5b80">instproxy_status_cb_t</a>&nbsp;</td>
 
604
          <td class="paramtype"><a class="el" href="include_2libimobiledevice_2installation__proxy_8h.html#a92b83275dce2d558a2366f92a62f5b80">instproxy_status_cb_t</a>&nbsp;</td>
640
605
          <td class="paramname"> <em>status_cb</em></td><td>&nbsp;</td>
641
606
        </tr>
642
607
        <tr>
648
613
</div>
649
614
<div class="memdoc">
650
615
 
651
 
<p>
652
 
Uninstall an application from the device. 
653
 
<p>
654
 
<dl compact><dt><b>Parameters:</b></dt><dd>
 
616
<p>Uninstall an application from the device. </p>
 
617
<dl><dt><b>Parameters:</b></dt><dd>
655
618
  <table border="0" cellspacing="2" cellpadding="0">
656
619
    <tr><td valign="top"></td><td valign="top"><em>client</em>&nbsp;</td><td>The connected installation proxy client </td></tr>
657
620
    <tr><td valign="top"></td><td valign="top"><em>appid</em>&nbsp;</td><td>ApplicationIdentifier of the app to uninstall </td></tr>
659
622
    <tr><td valign="top"></td><td valign="top"><em>status_cb</em>&nbsp;</td><td>Callback function for progress and status information. If NULL is passed, this function will run synchronously. </td></tr>
660
623
    <tr><td valign="top"></td><td valign="top"><em>user_data</em>&nbsp;</td><td>Callback data passed to status_cb.</td></tr>
661
624
  </table>
 
625
  </dd>
662
626
</dl>
663
 
<dl class="return" compact><dt><b>Returns:</b></dt><dd>INSTPROXY_E_SUCCESS on success or an INSTPROXY_E_* error value if an error occured.</dd></dl>
664
 
<dl class="note" compact><dt><b>Note:</b></dt><dd>If a callback function is given (async mode), this function returns INSTPROXY_E_SUCCESS immediately if the status updater thread has been created successfully; any error occuring during the operation has to be handled inside the specified callback function. </dd></dl>
 
627
<dl class="return"><dt><b>Returns:</b></dt><dd>INSTPROXY_E_SUCCESS on success or an INSTPROXY_E_* error value if an error occured.</dd></dl>
 
628
<dl class="note"><dt><b>Note:</b></dt><dd>If a callback function is given (async mode), this function returns INSTPROXY_E_SUCCESS immediately if the status updater thread has been created successfully; any error occuring during the operation has to be handled inside the specified callback function. </dd></dl>
665
629
 
666
630
</div>
667
 
</div><p>
668
 
<a class="anchor" name="8d5e97d6c3b80d6c67259293ef5fb09d"></a><!-- doxytag: member="installation_proxy.h::instproxy_upgrade" ref="8d5e97d6c3b80d6c67259293ef5fb09d" args="(instproxy_client_t client, const char *pkg_path, plist_t client_options, instproxy_status_cb_t status_cb)" -->
 
631
</div>
 
632
<a class="anchor" id="a8d5e97d6c3b80d6c67259293ef5fb09d"></a><!-- doxytag: member="installation_proxy.h::instproxy_upgrade" ref="a8d5e97d6c3b80d6c67259293ef5fb09d" args="(instproxy_client_t client, const char *pkg_path, plist_t client_options, instproxy_status_cb_t status_cb)" -->
669
633
<div class="memitem">
670
634
<div class="memproto">
671
635
      <table class="memname">
672
636
        <tr>
673
 
          <td class="memname"><a class="el" href="include_2libimobiledevice_2installation__proxy_8h.html#488853e737060e4269b9e3a7706271cc">instproxy_error_t</a> instproxy_upgrade           </td>
 
637
          <td class="memname"><a class="el" href="include_2libimobiledevice_2installation__proxy_8h.html#a488853e737060e4269b9e3a7706271cc">instproxy_error_t</a> instproxy_upgrade </td>
674
638
          <td>(</td>
675
 
          <td class="paramtype"><a class="el" href="include_2libimobiledevice_2installation__proxy_8h.html#397d08ac5391f6e5bf20a42cfebec9f9">instproxy_client_t</a>&nbsp;</td>
 
639
          <td class="paramtype"><a class="el" href="structinstproxy__client__private.html">instproxy_client_t</a>&nbsp;</td>
676
640
          <td class="paramname"> <em>client</em>, </td>
677
641
        </tr>
678
642
        <tr>
690
654
        <tr>
691
655
          <td class="paramkey"></td>
692
656
          <td></td>
693
 
          <td class="paramtype"><a class="el" href="include_2libimobiledevice_2installation__proxy_8h.html#92b83275dce2d558a2366f92a62f5b80">instproxy_status_cb_t</a>&nbsp;</td>
 
657
          <td class="paramtype"><a class="el" href="include_2libimobiledevice_2installation__proxy_8h.html#a92b83275dce2d558a2366f92a62f5b80">instproxy_status_cb_t</a>&nbsp;</td>
694
658
          <td class="paramname"> <em>status_cb</em></td><td>&nbsp;</td>
695
659
        </tr>
696
660
        <tr>
702
666
</div>
703
667
<div class="memdoc">
704
668
 
705
 
<p>
706
 
Upgrade an application on the device. 
707
 
<p>
708
 
This function is nearly the same as instproxy_install; the difference is that the installation progress on the device is faster if the application is already installed.<p>
709
 
<dl compact><dt><b>Parameters:</b></dt><dd>
 
669
<p>Upgrade an application on the device. </p>
 
670
<p>This function is nearly the same as instproxy_install; the difference is that the installation progress on the device is faster if the application is already installed.</p>
 
671
<dl><dt><b>Parameters:</b></dt><dd>
710
672
  <table border="0" cellspacing="2" cellpadding="0">
711
673
    <tr><td valign="top"></td><td valign="top"><em>client</em>&nbsp;</td><td>The connected installation_proxy client </td></tr>
712
674
    <tr><td valign="top"></td><td valign="top"><em>pkg_path</em>&nbsp;</td><td>Path of the installation package (inside the AFC jail) </td></tr>
714
676
    <tr><td valign="top"></td><td valign="top"><em>status_cb</em>&nbsp;</td><td>Callback function for progress and status information. If NULL is passed, this function will run synchronously. </td></tr>
715
677
    <tr><td valign="top"></td><td valign="top"><em>user_data</em>&nbsp;</td><td>Callback data passed to status_cb.</td></tr>
716
678
  </table>
 
679
  </dd>
717
680
</dl>
718
 
<dl class="return" compact><dt><b>Returns:</b></dt><dd>INSTPROXY_E_SUCCESS on success or an INSTPROXY_E_* error value if an error occured.</dd></dl>
719
 
<dl class="note" compact><dt><b>Note:</b></dt><dd>If a callback function is given (async mode), this function returns INSTPROXY_E_SUCCESS immediately if the status updater thread has been created successfully; any error occuring during the operation has to be handled inside the specified callback function. </dd></dl>
 
681
<dl class="return"><dt><b>Returns:</b></dt><dd>INSTPROXY_E_SUCCESS on success or an INSTPROXY_E_* error value if an error occured.</dd></dl>
 
682
<dl class="note"><dt><b>Note:</b></dt><dd>If a callback function is given (async mode), this function returns INSTPROXY_E_SUCCESS immediately if the status updater thread has been created successfully; any error occuring during the operation has to be handled inside the specified callback function. </dd></dl>
720
683
 
721
684
</div>
722
 
</div><p>
723
 
</div>
724
 
<hr size="1"><address style="text-align: right;"><small><a href="http://www.doxygen.org/index.html">
725
 
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> </small></address>
 
685
</div>
 
686
</div>
 
687
<hr class="footer"/><address style="text-align: right;"><small>Generated on Sat Nov 27 19:58:07 2010 for libimobiledevice by&nbsp;
 
688
<a href="http://www.doxygen.org/index.html">
 
689
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.3 </small></address>
726
690
</body>
727
691
</html>