From a808accd1e748184933f0e4d97d499d79f34f889 Mon Sep 17 00:00:00 2001 From: Nikias Bassen Date: Wed, 23 Jan 2019 01:19:46 +0100 Subject: Replace tempnam() with mkstemp() and provide reference implementation for systems lacking it --- src/common.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/common.h') diff --git a/src/common.h b/src/common.h index efa94f9..2f6beb3 100644 --- a/src/common.h +++ b/src/common.h @@ -136,6 +136,8 @@ char *generate_guid(void); int mkdir_with_parents(const char *dir, int mode); +char *get_temp_filename(const char *prefix); + void idevicerestore_progress(struct idevicerestore_client_t* client, int step, double progress); #ifndef HAVE_STRSEP -- cgit v1.1-32-gdbae