(struct mh_whatnow_env): Added draftfile member.
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, | ... | @@ -190,12 +190,17 @@ typedef void (*mh_iterator_fp) __P((mailbox_t mbox, message_t msg, |
190 | struct mh_whatnow_env { /* An environment for whatnow shell */ | 190 | struct mh_whatnow_env { /* An environment for whatnow shell */ |
191 | char *file; /* The file being processed */ | 191 | char *file; /* The file being processed */ |
192 | char *msg; /* The original message (if any) */ | 192 | char *msg; /* The original message (if any) */ |
193 | char *draftfile; /* File to preserve the draft into */ | ||
193 | char *draftfolder; | 194 | char *draftfolder; |
194 | char *draftmessage; | 195 | char *draftmessage; |
195 | char *editor; | 196 | char *editor; |
196 | char *prompt; | 197 | char *prompt; |
197 | }; | 198 | }; |
198 | 199 | ||
200 | #define DISP_QUIT 0 | ||
201 | #define DISP_USE 1 | ||
202 | #define DISP_REPLACE 2 | ||
203 | |||
199 | extern char *current_folder; | 204 | extern char *current_folder; |
200 | extern size_t current_message; | 205 | extern size_t current_message; |
201 | extern char mh_list_format[]; | 206 | extern char mh_list_format[]; |
... | @@ -268,3 +273,4 @@ void *xrealloc __P((void *, size_t)); | ... | @@ -268,3 +273,4 @@ void *xrealloc __P((void *, size_t)); |
268 | 273 | ||
269 | int mh_spawnp __P((const char *prog, const char *file)); | 274 | int mh_spawnp __P((const char *prog, const char *file)); |
270 | int mh_whatnow __P((struct mh_whatnow_env *wh, int initial_edit)); | 275 | int mh_whatnow __P((struct mh_whatnow_env *wh, int initial_edit)); |
276 | int mh_disposition __P((const char *filename)); | ... | ... |
-
Please register or sign in to post a comment