diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2013-04-12 09:20:47 +0300 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2013-04-12 09:20:47 +0300 |
commit | ec100ee63e55ba60369363c72d6d2e1fbc3663a2 (patch) | |
tree | b6f30d165f6fade93bbd806171ffd58de05a6148 /mh/mh.h | |
parent | d7dec96841e872ffa6924d6c5f93a1be473bf8ff (diff) | |
download | mailutils-ec100ee63e55ba60369363c72d6d2e1fbc3663a2.tar.gz mailutils-ec100ee63e55ba60369363c72d6d2e1fbc3663a2.tar.bz2 |
Implement MH show utility.
* mh/show.c: New file.
* NEWS: Document changes.
* libmailutils/stream/message_stream.c (copy_trimmed_value): Fix
string length calculation to allow for empty lines.
* mh/.gitignore: Update.
* mh/Makefile.am: Build show.
* mh/TODO: Document show.
* mh/mh_getopt.h: Add new option codes.
* mh/mh_init.c (mh_expand_name): Change handling of the
last argument. All callers updated.
(mh_draft_name): Remove.
Diffstat (limited to 'mh/mh.h')
-rw-r--r-- | mh/mh.h | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -306,9 +306,13 @@ size_t mh_msgset_first (mu_msgset_t msgset); size_t mh_msgset_first_uid (mu_msgset_t msgset); int mh_msgset_single_message (mu_msgset_t msgset); +#define NAME_ANY 0 +#define NAME_FOLDER 1 +#define NAME_FILE 2 +char *mh_expand_name (const char *base, const char *name, int what); + char *mh_get_dir (void); int mh_find_file (const char *name, char **resolved_name); -char *mh_expand_name (const char *base, const char *name, int is_folder); void mh_quote (const char *in, char **out); void mh_expand_aliases (mu_message_t msg, mu_address_t *addr_to, mu_address_t *addr_cc, |