summaryrefslogtreecommitdiff
path: root/support/temp_file.h
diff options
context:
space:
mode:
Diffstat (limited to 'support/temp_file.h')
-rw-r--r--support/temp_file.h5
1 files changed, 5 insertions, 0 deletions
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 */