/* * Another stupid program, this one parsing the headers of an * email to figure out authorship and subject */ #include "builtin.h" #include "abspath.h" #include "environment.h" #include "gettext.h" #include "strbuf.h" #include "mailinfo.h" #include "parse-options.h" static const char * const mailinfo_usage[] = …; struct metainfo_charset { … }; static int parse_opt_explicit_encoding(const struct option *opt, const char *arg, int unset) { … } static int parse_opt_quoted_cr(const struct option *opt, const char *arg, int unset) { … } int cmd_mailinfo(int argc, const char **argv, const char *prefix) { … }