X-Git-Url: https://git.distorted.org.uk/~mdw/mLib/blobdiff_plain/2f59186c318eced4c75b2cd74767d13eee7899b1..09fbf4d0a21c9cad25cc3f12b1e3f365f850eb94:/codec/codec.h diff --git a/codec/codec.h b/codec/codec.h index 2c3e694..6155d5a 100644 --- a/codec/codec.h +++ b/codec/codec.h @@ -58,10 +58,11 @@ typedef struct codec_class { #define CDCF_IGNZPAD 32u /* Ignore zero padding on input */ #define CDCF_IGNNEWL 64u /* Ignore newlines on input */ #define CDCF_IGNINVCH 128u /* Ignore invalid chars on input */ +#define CDCF_IGNSPC 256u /* Ignore whitespace on input */ -#define CDCF_IGNJUNK /* Ignore all bad things */ \ +#define CDCF_IGNJUNK /* Ignore all bad things */ \ (CDCF_IGNEQMID | CDCF_IGNZPAD | \ - CDCF_IGNCASE | CDCF_IGNNEWL | CDCF_IGNINVCH) + CDCF_IGNCASE | CDCF_IGNNEWL | CDCF_IGNSPC | CDCF_IGNINVCH) } codec_class;