canlock-hfp - CLI frontend for libcanlock library
canlock-hfp -h | -v
canlock-hfp [-d] [-n]
Header Field Parser (hfp) for RFC 8315 conformant header fields.
The header field is read from stdin.
The input data must be an unfolded "Cancel-Lock" or "Cancel-Key" header field
without line break at the end.
If such a header field is found, it is parsed according to the syntax defined in
RFC 8315. If valid c-lock or c-key (respectively) elements are found, they are
printed to stdout with SP (Space) as delimiter.
The following options are supported:
Enable debug mode (messages are printed to stderr).
Print help message, then exit.
Prepend the data on stdout with the header field name (including the colon)
and a SP (Space) delimiter.
Print version and compile time options, then exit.
Zero on success or regular exit respectively.
The value 1 indicates an error.
All other values indicate a warning.
Report bugs to <mailto:mailto:email@example.com>.
canlock-hfp tries to comply with the following standards: