summaryrefslogtreecommitdiffstats
path: root/src/lockdown.h
diff options
context:
space:
mode:
authorGravatar Christophe Fergeau2008-12-29 12:35:51 +0100
committerGravatar Matt Colyer2009-01-02 09:55:08 -0800
commitd77ecbe3fbd73418dd72e147a0ac2a89e62b1cd9 (patch)
tree6ef70292982a499e36d4e14c529436f889e42be1 /src/lockdown.h
parent0efa3bc3a3519695f288211d720620cc0672f054 (diff)
downloadlibimobiledevice-d77ecbe3fbd73418dd72e147a0ac2a89e62b1cd9.tar.gz
libimobiledevice-d77ecbe3fbd73418dd72e147a0ac2a89e62b1cd9.tar.bz2
Fix function prototypes
Add missing static, const, change function() to function(void)
Diffstat (limited to 'src/lockdown.h')
-rw-r--r--src/lockdown.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lockdown.h b/src/lockdown.h
index 9176524..012ac72 100644
--- a/src/lockdown.h
+++ b/src/lockdown.h
@@ -40,11 +40,11 @@ struct iphone_lckd_client_int {
int gtls_buffer_hack_len;
};
-char *lockdownd_generate_hostid();
+char *lockdownd_generate_hostid(void);
iphone_lckd_client_t new_lockdownd_client(iphone_device_t phone);
iphone_error_t lockdownd_hello(iphone_lckd_client_t control);
-iphone_error_t lockdownd_generic_get_value(iphone_lckd_client_t control, char *req_key, char *req_string, char **value);
+iphone_error_t lockdownd_generic_get_value(iphone_lckd_client_t control, const char *req_key, const char *req_string, char **value);
iphone_error_t lockdownd_get_device_uid(iphone_lckd_client_t control, char **uid);
iphone_error_t lockdownd_get_device_public_key(iphone_lckd_client_t control, char **public_key);