X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/f02de746f64f0879e1d8dc754293a121b686646b..d2520ac7054ad75d60342606bf13c821305d958c:/h/prototypes.h diff --git a/h/prototypes.h b/h/prototypes.h index fceef407..f8adbac5 100644 --- a/h/prototypes.h +++ b/h/prototypes.h @@ -46,6 +46,20 @@ void cpydgst (int, int, char *, char *); char *cpytrim (const char *); int decode_rfc2047 (char *, char *, size_t); void discard (FILE *); +char *upcase (const char *); + +/* + * Decode two characters into their quoted-printable representation. + * + * Arguments are: + * + * byte1 - First character of Q-P representation + * byte2 - Second character of Q-P representation + * + * Returns the decoded value, -1 if the conversion failed. + */ +int decode_qp(unsigned char byte1, unsigned char byte2); + int default_done (int); /* @@ -191,7 +205,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 *m_mktemps(const char *pfx, const char *, int *, FILE **); +char *m_mktemps(const char *pfx, const char *suffix, int *, FILE **); char *get_temp_dir(); void m_unknown(m_getfld_state_t *, FILE *); int makedir (char *);