mirror of
https://github.com/jkcoxson/idevice.git
synced 2026-03-02 06:26:15 +01:00
Update FFI examples to current idevice
This commit is contained in:
@@ -179,7 +179,7 @@ int main(int argc, char **argv) {
|
|||||||
|
|
||||||
// Connect to installation proxy
|
// Connect to installation proxy
|
||||||
InstallationProxyClientHandle *instproxy_client = NULL;
|
InstallationProxyClientHandle *instproxy_client = NULL;
|
||||||
err = installation_proxy_connect_tcp(provider, &instproxy_client);
|
err = installation_proxy_connect(provider, &instproxy_client);
|
||||||
if (err != NULL) {
|
if (err != NULL) {
|
||||||
fprintf(stderr, "Failed to connect to installation proxy: [%d] %s",
|
fprintf(stderr, "Failed to connect to installation proxy: [%d] %s",
|
||||||
err->code, err->message);
|
err->code, err->message);
|
||||||
|
|||||||
@@ -42,7 +42,7 @@ int main() {
|
|||||||
|
|
||||||
// Connect to installation proxy
|
// Connect to installation proxy
|
||||||
InstallationProxyClientHandle *client = NULL;
|
InstallationProxyClientHandle *client = NULL;
|
||||||
err = installation_proxy_connect_tcp(provider, &client);
|
err = installation_proxy_connect(provider, &client);
|
||||||
if (err != NULL) {
|
if (err != NULL) {
|
||||||
fprintf(stderr, "Failed to connect to installation proxy: [%d] %s",
|
fprintf(stderr, "Failed to connect to installation proxy: [%d] %s",
|
||||||
err->code, err->message);
|
err->code, err->message);
|
||||||
|
|||||||
Reference in New Issue
Block a user