X-Git-Url: https://git.distorted.org.uk/~mdw/mLib/blobdiff_plain/236f657b6dab66f31f4902cecfc03b4673f5bb98..ecfe3bffa6cc019ba7e358dbe359f10e5ce6a09d:/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;