From 4d890286652dfd73169ecdbeb6e82ecc6f55079e Mon Sep 17 00:00:00 2001 From: Martin Szulecki Date: Wed, 7 Nov 2012 22:14:42 +0100 Subject: Add error buffer and getter function to get the last error message --- src/idevicerestore.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/idevicerestore.h') diff --git a/src/idevicerestore.h b/src/idevicerestore.h index 6f34743..5674665 100644 --- a/src/idevicerestore.h +++ b/src/idevicerestore.h @@ -66,6 +66,7 @@ void idevicerestore_set_error_stream(FILE* strm); void idevicerestore_set_debug_stream(FILE* strm); int idevicerestore_start(struct idevicerestore_client_t* client); +const char* idevicerestore_get_error(); void usage(int argc, char* argv[]); int check_mode(struct idevicerestore_client_t* client); -- cgit v1.1-32-gdbae