utils/versioncmp.h: Add a wrapper macro for `versioncmp'.
[mLib] / codec / codec.3
index 96174f3..fd797c5 100644 (file)
@@ -122,6 +122,11 @@ Ignore newline (and carriage-return) characters when decoding: the
 default for RFC4648 codecs is to reject newline characters.  If these
 characters are significant in the encoding, then this flag is ignored.
 .TP
 default for RFC4648 codecs is to reject newline characters.  If these
 characters are significant in the encoding, then this flag is ignored.
 .TP
+.B CDCF_IGNSPC
+Ignore whitespace characters (other than newlines) when decoding: the
+default for RFC4648 codecs is to reject whitespace characters.  If these
+characters are significant in the encoding, then this flag is ignored.
+.TP
 .B CDCF_IGNINVCH
 Ignore any other invalid characters appearing in the input when
 decoding.
 .B CDCF_IGNINVCH
 Ignore any other invalid characters appearing in the input when
 decoding.
@@ -131,7 +136,7 @@ Ignore all `junk' in the input.  This should suppress almost all
 decoding errors.
 .PP
 If you do not set any of the
 decoding errors.
 .PP
 If you do not set any of the
-.BR CDCF_IGN ...
+.BR CDCF_IGN ...\&
 flags, a decoder should only accept the exact encoding that the
 corresponding encoder would produce (with
 .I maxline
 flags, a decoder should only accept the exact encoding that the
 corresponding encoder would produce (with
 .I maxline
@@ -165,7 +170,7 @@ object.
 .TP
 .BI "int (*code)(codec *" c ", const void *" p ", size_t " sz ", dstr *" d ")"
 Encode or decode, using the codec
 .TP
 .BI "int (*code)(codec *" c ", const void *" p ", size_t " sz ", dstr *" d ")"
 Encode or decode, using the codec
-.I c ,
+.IR c ,
 the data in the buffer at address
 .I p
 and continuing for
 the data in the buffer at address
 .I p
 and continuing for