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