From 1ffe1ccb6ec5771765f1f6f0c439ed07bf345d67 Mon Sep 17 00:00:00 2001 From: Florian Weimer Date: Sun, 12 Nov 2017 09:53:06 +0100 Subject: support: Add xstrndup, xunlink, xreadlink, support_create_temp_directory --- support/temp_file.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'support/temp_file.h') diff --git a/support/temp_file.h b/support/temp_file.h index 6fed8df1ea..dfefe585de 100644 --- a/support/temp_file.h +++ b/support/temp_file.h @@ -32,6 +32,11 @@ void add_temp_file (const char *name); *FILENAME. */ int create_temp_file (const char *base, char **filename); +/* Create a temporary directory and schedule it for deletion. BASE + must end with the six characters "XXXXXX". Return the name of the + temporary directory. The caller should free the string. */ +char *support_create_temp_directory (const char *base); + __END_DECLS #endif /* SUPPORT_TEMP_FILE_H */ -- cgit v1.2.3