blaze822_priv.h: macro cleanup

pull/1/merge
Christian Neukirchen 8 years ago
parent 01c1c0d970
commit 8ba55bae99

@ -16,12 +16,6 @@
#include "blaze822.h"
#include "blaze822_priv.h"
// WSP = SP / HTAB
#define iswsp(c) (((c) == ' ' || (c) == '\t'))
// ASCII lowercase without alpha check (wrong for "@[\]^_")
#define lc(c) ((c) | 0x20)
#define bufsiz 4096
static long

@ -6,4 +6,8 @@ struct message {
char *bodychunk;
};
// WSP = SP / HTAB
#define iswsp(c) (((c) == ' ' || (c) == '\t'))
// ASCII lowercase without alpha check (wrong for "@[\]^_")
#define lc(c) ((c) | 0x20)

@ -5,10 +5,8 @@
#include <string.h>
#include <stdint.h>
#define iswsp(c) (((c) == ' ' || (c) == '\t'))
// ASCII lowercase without alpha check (wrong for "@[\]^_")
#define lc(c) ((c) | 0x20)
#include "blaze822.h"
#include "blaze822_priv.h"
// XXX error detection on decode
// XXX keep trying bytewise on invalid iconv

Loading…
Cancel
Save