]> diplodocus.org Git - nmh/blobdiff - h/prototypes.h
Compare character with EOF using signed comparison because
[nmh] / h / prototypes.h
index 1ff92f64c5cf0c3c33e832ab5b3de6ad62caf34c..f8adbac56888a82e517c44e446ddb92a9c54f1f2 100644 (file)
@@ -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);
 
 /*