Commit 4accbe8f 4accbe8f0cbe4f83aef5bd1995dae7afe2fe07f4 by Sergey Poznyakoff

(struct mh_whatnow_env): Added draftfile member.

1 parent 1c91e4b7
Showing 1 changed file with 6 additions and 0 deletions
......@@ -190,12 +190,17 @@ typedef void (*mh_iterator_fp) __P((mailbox_t mbox, message_t msg,
struct mh_whatnow_env { /* An environment for whatnow shell */
char *file; /* The file being processed */
char *msg; /* The original message (if any) */
char *draftfile; /* File to preserve the draft into */
char *draftfolder;
char *draftmessage;
char *editor;
char *prompt;
};
#define DISP_QUIT 0
#define DISP_USE 1
#define DISP_REPLACE 2
extern char *current_folder;
extern size_t current_message;
extern char mh_list_format[];
......@@ -268,3 +273,4 @@ void *xrealloc __P((void *, size_t));
int mh_spawnp __P((const char *prog, const char *file));
int mh_whatnow __P((struct mh_whatnow_env *wh, int initial_edit));
int mh_disposition __P((const char *filename));
......