-struct temp_file *temp_file_create (void);
-bool temp_file_destroy (struct temp_file *);
-bool temp_file_read (const struct temp_file *, off_t offset, size_t n, void *);
-bool temp_file_write (struct temp_file *, off_t offset, size_t n,
- const void *);
-bool temp_file_error (const struct temp_file *);
+FILE *create_temp_file (void);
+void close_temp_file (FILE *);
+const char *temp_dir_name (void);