X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/476f7e5e6e32469a347a055922be6b3d0e45d8ba..28a967a12cfb0b16a136223082e07884eecba715:/h/prototypes.h diff --git a/h/prototypes.h b/h/prototypes.h index 97f0544e..eefbfec5 100644 --- a/h/prototypes.h +++ b/h/prototypes.h @@ -191,6 +191,7 @@ int m_putenv (char *, char *); int m_rand (unsigned char *, size_t); char *m_mktemp(const char *, int *, FILE **); char *m_mktemp2(const char *, const char *, int *, FILE **); +char *get_temp_dir(); void m_unknown(m_getfld_state_t *, FILE *); int makedir (char *); char *message_id (time_t, int); @@ -358,3 +359,10 @@ char *construct_build_directive(char *, const char *, int); */ void init_credentials_file (); int nmh_get_credentials (char *, char *, int, nmh_creds_t); + +/* + * temporary file management + */ +int nmh_init(const char *argv0, int read_context); +int m_unlink(const char *); +void unregister_for_removal(int remove_files);