diff options
author | Joshua Hill | 2010-06-02 22:12:59 -0400 |
---|---|---|
committer | Joshua Hill | 2010-06-02 22:12:59 -0400 |
commit | ac4f614856a5751336fdb1b29b33060bd6c2eaf1 (patch) | |
tree | 097a3063556de5a73d16298868a4dd16ecccd4cf /include | |
parent | 30fd56859f50dea5712492807a1b9784da9fec11 (diff) | |
download | libirecovery-ac4f614856a5751336fdb1b29b33060bd6c2eaf1.tar.gz libirecovery-ac4f614856a5751336fdb1b29b33060bd6c2eaf1.tar.bz2 |
Added some new helper functions to fetch chip id and board id and changed Makefile to automatically refresh linker cache after install
Diffstat (limited to 'include')
-rw-r--r-- | include/libirecovery.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/libirecovery.h b/include/libirecovery.h index a501c0f..20ecfc7 100644 --- a/include/libirecovery.h +++ b/include/libirecovery.h @@ -83,7 +83,9 @@ irecv_error_t irecv_receive(irecv_client_t client); irecv_error_t irecv_send_exploit(irecv_client_t client); irecv_error_t irecv_set_debug(irecv_client_t client, int level); irecv_error_t irecv_getenv(irecv_client_t client, unsigned char** var); -irecv_error_t irecv_get_ecid(irecv_client_t client, unsigned long long* pecid); +irecv_error_t irecv_get_cpid(irecv_client_t client, unsigned int* cpid); +irecv_error_t irecv_get_bdid(irecv_client_t client, unsigned int* bdid); +irecv_error_t irecv_get_ecid(irecv_client_t client, unsigned long long* ecid); irecv_error_t irecv_send(irecv_client_t client, unsigned char* command); irecv_error_t irecv_send_file(irecv_client_t client, const char* filename); irecv_error_t irecv_send_command(irecv_client_t client, unsigned char* command); |