/[mailutils]/mailutils/mh/mh.h
ViewVC logotype

Diff of /mailutils/mh/mh.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.22 by gray, Mon Jan 13 15:07:51 2003 UTC revision 1.23 by gray, Wed Jan 15 17:30:06 2003 UTC
# Line 41  Line 41 
41  #include <mailutils/error.h>  #include <mailutils/error.h>
42  #include <mailutils/errno.h>  #include <mailutils/errno.h>
43  #include <mailutils/nls.h>  #include <mailutils/nls.h>
44    #include <mailutils/argcv.h>
45    
46  #include <mu_asprintf.h>  #include <mu_asprintf.h>
47    #include <getline.h>
48    
49  #define MH_FMT_RALIGN 0x1000  #define MH_FMT_RALIGN 0x1000
50  #define MH_FMT_ZEROPAD 0x2000  #define MH_FMT_ZEROPAD 0x2000
# Line 183  typedef void (*mh_iterator_fp) __P((mail Line 185  typedef void (*mh_iterator_fp) __P((mail
185  #define RCPT_ME   0x0004  #define RCPT_ME   0x0004
186  #define RCPT_ALL  (RCPT_TO|RCPT_CC|RCPT_ME)  #define RCPT_ALL  (RCPT_TO|RCPT_CC|RCPT_ME)
187    
188    struct mh_whatnow_env {   /* An environment for whatnow shell */
189      char *file;             /* The file being processed */
190      char *msg;              /* The original message (if any) */
191      char *draftfolder;
192      char *draftmessage;
193      char *editor;
194      char *prompt;
195    };
196    
197  extern char *current_folder;  extern char *current_folder;
198  extern size_t current_message;  extern size_t current_message;
199  extern char mh_list_format[];  extern char mh_list_format[];
# Line 253  int mh_decode_rcpt_flag __P((const char Line 264  int mh_decode_rcpt_flag __P((const char
264  void *xmalloc __P((size_t));  void *xmalloc __P((size_t));
265  void *xrealloc __P((void *, size_t));  void *xrealloc __P((void *, size_t));
266            
267    int mh_spawnp __P((const char *prog, const char *file));
268    int mh_whatnow __P((struct mh_whatnow_env *wh, int initial_edit));

Legend:
Removed from v.1.22  
changed lines
  Added in v.1.23

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26