diff options
Diffstat (limited to 'camel/camel-mime-utils.h')
-rw-r--r-- | camel/camel-mime-utils.h | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/camel/camel-mime-utils.h b/camel/camel-mime-utils.h index fcd1a06fa5..8bd9c81993 100644 --- a/camel/camel-mime-utils.h +++ b/camel/camel-mime-utils.h @@ -28,6 +28,11 @@ /* maximum size of a line from header_fold() */ #define CAMEL_FOLD_SIZE (77) +#define CAMEL_UUDECODE_STATE_INIT (0) +#define CAMEL_UUDECODE_STATE_BEGIN (1 << 16) +#define CAMEL_UUDECODE_STATE_END (1 << 17) +#define CAMEL_UUDECODE_STATE_MASK (CAMEL_UUDECODE_STATE_BEGIN | CAMEL_UUDECODE_STATE_END) + /* a list of references for this message */ struct _header_references { struct _header_references *next; @@ -191,12 +196,12 @@ size_t base64_decode_step(unsigned char *in, size_t len, unsigned char *out, int size_t base64_encode_step(unsigned char *in, size_t len, gboolean break_lines, unsigned char *out, int *state, int *save); size_t base64_encode_close(unsigned char *in, size_t len, gboolean break_lines, unsigned char *out, int *state, int *save); -size_t uudecode_step (unsigned char *in, size_t len, unsigned char *out, int *state, guint32 *save, char *uulen); +size_t uudecode_step (unsigned char *in, size_t len, unsigned char *out, int *state, guint32 *save); size_t uuencode_step (unsigned char *in, size_t len, unsigned char *out, unsigned char *uubuf, int *state, - guint32 *save, char *uulen); + guint32 *save); size_t uuencode_close (unsigned char *in, size_t len, unsigned char *out, unsigned char *uubuf, int *state, - guint32 *save, char *uulen); + guint32 *save); size_t quoted_decode_step(unsigned char *in, size_t len, unsigned char *out, int *savestate, int *saveme); |