replace the pathetic mutt_parse_rfc822_line function with a really better
authorPierre Habouzit <madcoder@debian.org>
Mon, 6 Nov 2006 23:49:08 +0000 (00:49 +0100)
committerPierre Habouzit <madcoder@debian.org>
Mon, 6 Nov 2006 23:49:08 +0000 (00:49 +0100)
commit38c7d971a4e206284e06e958511bb55694cb4deb
tree9835dabc81b6d356c21d281670e9afe9eeffadfb
parent8bca9860d0edd96e0087b3e47be2814474425654
replace the pathetic mutt_parse_rfc822_line function with a really better
looking one.

that code uses gperf to generate the string -> enum function, so that we
don't have to do a thing to hash them.

we improved:
  * readability (the C code is way better)
  * efficiency

Signed-off-by: Pierre Habouzit <madcoder@debian.org>
lib-mime/.gitignore [new file with mode: 0644]
lib-mime/Makefile.am
lib-mime/mime.h
lib-mime/rfc822hdrs.def [new file with mode: 0644]
lib-mime/rfc822hdrs.sh [new file with mode: 0644]
lib-mime/rfc822parse.c
protos.h