Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
freebsd
GitHub Repository: freebsd/freebsd-ports-gnome
Path: blob/main/converters/mmencode/files/patch-mmencode.c
16171 views
1
--- mmencode.c.orig 2012-12-30 23:29:36.000000000 +0100
2
+++ mmencode.c 2012-12-30 23:30:33.000000000 +0100
3
@@ -14,6 +14,7 @@ WITHOUT ANY EXPRESS OR IMPLIED WARRANTIE
4
*/
5
#include <stdio.h>
6
#include <config.h>
7
+#include <stdlib.h>
8
#ifdef MSDOS
9
#include <fcntl.h>
10
#endif
11
@@ -21,6 +22,12 @@ WITHOUT ANY EXPRESS OR IMPLIED WARRANTIE
12
#define BASE64 1
13
#define QP 2 /* quoted-printable */
14
15
+extern void to64(FILE *infile, FILE *outfile, int PortableNewlines);
16
+extern void from64(FILE *infile, FILE *outfile, char **boundaries, int *boundaryct, int PortableNewlines);
17
+extern void toqp(FILE *infile, FILE *outfile);
18
+extern void fromqp(FILE *infile, FILE *outfile, char **boundaries, int *boundaryct);
19
+
20
+int
21
main(argc, argv)
22
int argc;
23
char **argv;
24
25