--- pgp/src/fileio.h 2018/04/24 16:38:46 1.1.1.2 +++ pgp/src/fileio.h 2018/04/24 16:39:29 1.1.1.3 @@ -51,10 +51,6 @@ boolean file_exists(char *filename); /* Returns TRUE iff file can be opened for writing. Does not harm file! */ boolean file_ok_write(char *filename); -/* Completely overwrite and erase file, so that no sensitive information is - left on the disk */ -int wipeout(FILE *f); - /* Completely overwrite and erase file of given name, so that no sensitive information is left on the disk */ int wipefile(char *filename); @@ -141,3 +137,9 @@ void rmtemp(char *); char *savetemp(char *, char *); void cleanup_tmpf(void); int savetempbak(char *, char *); + +extern int write_error(FILE *f); +extern void settmpdir(char *path); +extern void setoutdir(char *filename); +extern boolean is_tempfile(char *path); +extern boolean has_extension(char *filename, char *extension);