#include #include #include #include #include #include uudeview.h>#include uuint.h>#include fptools.h>#include uustring.h>#include crc32.h>Go to the source code of this file.
Data Structures |
|
| struct | mimemap |
Defines |
|
| #define | SEEK_SET 0 |
| #define | EOLSTRING "\n" |
| #define | CTE_UUENC "x-uuencode" |
| #define | CTE_XXENC "x-xxencode" |
| #define | CTE_BINHEX "x-binhex" |
| #define | CTE_YENC "x-yenc" |
| #define | CTE_TYPE(y) |
Functions |
|
| int UUEXPORT | UUEncodeMulti (FILE *outfile, FILE *infile, char *infname, int encoding, char *outfname, char *mimetype, int filemode) |
| int UUEXPORT | UUEncodePartial (FILE *outfile, FILE *infile, char *infname, int encoding, char *outfname, char *mimetype, int filemode, int partno, long linperfile, crc32_t *crcptr) |
| int UUEXPORT | UUEncodeToStream (FILE *outfile, FILE *infile, char *infname, int encoding, char *outfname, int filemode) |
| int UUEXPORT | UUEncodeToFile (FILE *infile, char *infname, int encoding, char *outfname, char *diskname, long linperfile) |
| int UUEXPORT | UUE_PrepSingle (FILE *outfile, FILE *infile, char *infname, int encoding, char *outfname, int filemode, char *destination, char *from, char *subject, int isemail) |
| int UUEXPORT | UUE_PrepSingleExt (FILE *outfile, FILE *infile, char *infname, int encoding, char *outfname, int filemode, char *destination, char *from, char *subject, char *replyto, int isemail) |
| int UUEXPORT | UUE_PrepPartial (FILE *outfile, FILE *infile, char *infname, int encoding, char *outfname, int filemode, int partno, long linperfile, long filesize, char *destination, char *from, char *subject, int isemail) |
| int UUEXPORT | UUE_PrepPartialExt (FILE *outfile, FILE *infile, char *infname, int encoding, char *outfname, int filemode, int partno, long linperfile, long filesize, char *destination, char *from, char *subject, char *replyto, int isemail) |
Variables |
|
| char * | uuencode_id = "$Id: uuencode.c 260 2007-05-04 23:32:54Z csk $" |
| unsigned char | UUEncodeTable [64] |
| unsigned char | B64EncodeTable [64] |
| unsigned char | XXEncodeTable [64] |
| unsigned char | BHEncodeTable [64] |
| unsigned char | HexEncodeTable [16] |
| char * | uuestr_itemp |
| char * | uuestr_otemp |
| #define CTE_BINHEX "x-binhex" |
Definition at line 115 of file uuencode.c.
| #define CTE_TYPE | ( | y | ) |
Value:
(((y)==B64ENCODED) ? "Base64" : \ ((y)==UU_ENCODED) ? CTE_UUENC : \ ((y)==XX_ENCODED) ? CTE_XXENC : \ ((y)==PT_ENCODED) ? "8bit" : \ ((y)==QP_ENCODED) ? "quoted-printable" : \ ((y)==BH_ENCODED) ? CTE_BINHEX : \ ((y)==YENC_ENCODED) ? CTE_YENC : "x-oops")
Definition at line 118 of file uuencode.c.
| #define CTE_UUENC "x-uuencode" |
Definition at line 113 of file uuencode.c.
| #define CTE_XXENC "x-xxencode" |
Definition at line 114 of file uuencode.c.
| #define CTE_YENC "x-yenc" |
Definition at line 116 of file uuencode.c.
| #define EOLSTRING "\n" |
Definition at line 87 of file uuencode.c.
| #define SEEK_SET 0 |
Definition at line 60 of file uuencode.c.
| int UUEXPORT UUE_PrepPartial | ( | FILE * | outfile, | |
| FILE * | infile, | |||
| char * | infname, | |||
| int | encoding, | |||
| char * | outfname, | |||
| int | filemode, | |||
| int | partno, | |||
| long | linperfile, | |||
| long | filesize, | |||
| char * | destination, | |||
| char * | from, | |||
| char * | subject, | |||
| int | isemail | |||
| ) |
Definition at line 1596 of file uuencode.c.
| int UUEXPORT UUE_PrepPartialExt | ( | FILE * | outfile, | |
| FILE * | infile, | |||
| char * | infname, | |||
| int | encoding, | |||
| char * | outfname, | |||
| int | filemode, | |||
| int | partno, | |||
| long | linperfile, | |||
| long | filesize, | |||
| char * | destination, | |||
| char * | from, | |||
| char * | subject, | |||
| char * | replyto, | |||
| int | isemail | |||
| ) |
Definition at line 1613 of file uuencode.c.
| int UUEXPORT UUE_PrepSingle | ( | FILE * | outfile, | |
| FILE * | infile, | |||
| char * | infname, | |||
| int | encoding, | |||
| char * | outfname, | |||
| int | filemode, | |||
| char * | destination, | |||
| char * | from, | |||
| char * | subject, | |||
| int | isemail | |||
| ) |
Definition at line 1492 of file uuencode.c.
| int UUEXPORT UUE_PrepSingleExt | ( | FILE * | outfile, | |
| FILE * | infile, | |||
| char * | infname, | |||
| int | encoding, | |||
| char * | outfname, | |||
| int | filemode, | |||
| char * | destination, | |||
| char * | from, | |||
| char * | subject, | |||
| char * | replyto, | |||
| int | isemail | |||
| ) |
Definition at line 1507 of file uuencode.c.
| int UUEXPORT UUEncodeMulti | ( | FILE * | outfile, | |
| FILE * | infile, | |||
| char * | infname, | |||
| int | encoding, | |||
| char * | outfname, | |||
| char * | mimetype, | |||
| int | filemode | |||
| ) |
Definition at line 624 of file uuencode.c.
| int UUEXPORT UUEncodePartial | ( | FILE * | outfile, | |
| FILE * | infile, | |||
| char * | infname, | |||
| int | encoding, | |||
| char * | outfname, | |||
| char * | mimetype, | |||
| int | filemode, | |||
| int | partno, | |||
| long | linperfile, | |||
| crc32_t * | crcptr | |||
| ) |
Definition at line 790 of file uuencode.c.
| int UUEXPORT UUEncodeToFile | ( | FILE * | infile, | |
| char * | infname, | |||
| int | encoding, | |||
| char * | outfname, | |||
| char * | diskname, | |||
| long | linperfile | |||
| ) |
Definition at line 1184 of file uuencode.c.
| int UUEXPORT UUEncodeToStream | ( | FILE * | outfile, | |
| FILE * | infile, | |||
| char * | infname, | |||
| int | encoding, | |||
| char * | outfname, | |||
| int | filemode | |||
| ) |
Definition at line 1051 of file uuencode.c.
| unsigned char B64EncodeTable[64] |
Initial value:
{
'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H',
'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P',
'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X',
'Y', 'Z', 'a', 'b', 'c', 'd', 'e', 'f',
'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n',
'o', 'p', 'q', 'r', 's', 't', 'u', 'v',
'w', 'x', 'y', 'z', '0', '1', '2', '3',
'4', '5', '6', '7', '8', '9', '+', '/'
}
Definition at line 142 of file uuencode.c.
| unsigned char BHEncodeTable[64] |
Initial value:
{
'!', '"', '#', '$', '%', '&', '\'', '(',
')', '*', '+', ',', '-', '0', '1', '2',
'3', '4', '5', '6', '8', '9', '@', 'A',
'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I',
'J', 'K', 'L', 'M', 'N', 'P', 'Q', 'R',
'S', 'T', 'U', 'V', 'X', 'Y', 'Z', '[',
'`', 'a', 'b', 'c', 'd', 'e', 'f', 'h',
'i', 'j', 'k', 'l', 'm', 'p', 'q', 'r'
}
Definition at line 164 of file uuencode.c.
| unsigned char HexEncodeTable[16] |
Initial value:
{
'0', '1', '2', '3', '4', '5', '6', '7',
'8', '9', 'A', 'B', 'C', 'D', 'E', 'F'
}
Definition at line 175 of file uuencode.c.
| char* uuencode_id = "$Id: uuencode.c 260 2007-05-04 23:32:54Z csk $" |
Definition at line 64 of file uuencode.c.
| unsigned char UUEncodeTable[64] |
Initial value:
{
'`', '!', '"', '#', '$', '%', '&', '\'',
'(', ')', '*', '+', ',', '-', '.', '/',
'0', '1', '2', '3', '4', '5', '6', '7',
'8', '9', ':', ';', ', '=', '>', '?',
'@', 'A', 'B', 'C', 'D', 'E', 'F', 'G',
'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O',
'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W',
'X', 'Y', 'Z', '[', '\\',']', '^', '_'
}
Definition at line 130 of file uuencode.c.
| char* uuestr_itemp |
Definition at line 240 of file uuencode.c.
| char* uuestr_otemp |
Definition at line 241 of file uuencode.c.
| unsigned char XXEncodeTable[64] |
Initial value:
{
'+', '-', '0', '1', '2', '3', '4', '5',
'6', '7', '8', '9', 'A', 'B', 'C', 'D',
'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L',
'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T',
'U', 'V', 'W', 'X', 'Y', 'Z', 'a', 'b',
'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j',
'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r',
's', 't', 'u', 'v', 'w', 'x', 'y', 'z'
}
Definition at line 153 of file uuencode.c.