/[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.29 by polak, Sun Feb 9 21:06:48 2003 UTC revision 1.30 by gray, Mon Feb 10 01:05:47 2003 UTC
# Line 203  struct mh_whatnow_env {   /* An environm Line 203  struct mh_whatnow_env {   /* An environm
203  #define DISP_USE 1  #define DISP_USE 1
204  #define DISP_REPLACE 2  #define DISP_REPLACE 2
205    
206    typedef int (*mh_context_iterator) __PMT((char *field,
207                                              char *value, char *data));
208    
209  extern char *current_folder;  extern char *current_folder;
210  extern size_t current_message;  extern size_t current_message;
211  extern char mh_list_format[];  extern char mh_list_format[];
# Line 212  void mh_init __P((void)); Line 215  void mh_init __P((void));
215  void mh_init2 __P((void));  void mh_init2 __P((void));
216  void mh_read_profile __P((void));  void mh_read_profile __P((void));
217  int mh_read_formfile __P((char *name, char **pformat));  int mh_read_formfile __P((char *name, char **pformat));
218  mailbox_t mh_open_msg_file (char *file_name);  mailbox_t mh_open_msg_file (char *folder, char *file_name);
219    void mh_install __P((char *name, int automode));
220    
221  char *mh_global_profile_get __P((char *name, char *defval));  char *mh_global_profile_get __P((char *name, char *defval));
222  int mh_global_profile_set __P((const char *name, const char *value));  int mh_global_profile_set __P((const char *name, const char *value));
# Line 222  char *mh_current_folder __P((void)); Line 226  char *mh_current_folder __P((void));
226  char *mh_global_sequences_get __P((const char *name, const char *defval));  char *mh_global_sequences_get __P((const char *name, const char *defval));
227  int mh_global_sequences_set __P((const char *name, const char *value));  int mh_global_sequences_set __P((const char *name, const char *value));
228  void mh_global_save_state __P((void));  void mh_global_save_state __P((void));
229    int mh_global_context_iterate __P((mh_context_iterator fp, void *data));
230    int mh_global_sequences_iterate __P((mh_context_iterator fp, void *data));
231    
232  int mh_getyn __P((const char *fmt, ...));  int mh_getyn __P((const char *fmt, ...));
233  int mh_check_folder __P((char *pathname, int confirm));  int mh_check_folder __P((char *pathname, int confirm));
# Line 247  char *mh_context_get_value __P((mh_conte Line 253  char *mh_context_get_value __P((mh_conte
253                                  const char *defval));                                  const char *defval));
254  int mh_context_set_value __P((mh_context_t *ctx, const char *name,  int mh_context_set_value __P((mh_context_t *ctx, const char *name,
255                                const char *value));                                const char *value));
256    int mh_context_iterate __P((mh_context_t *ctx,
257                                mh_context_iterator fp, void *data));
258    
259  int mh_message_number __P((message_t msg, size_t *pnum));  int mh_message_number __P((message_t msg, size_t *pnum));
260    
# Line 279  void *xrealloc __P((void *, size_t)); Line 287  void *xrealloc __P((void *, size_t));
287  int mh_spawnp __P((const char *prog, const char *file));  int mh_spawnp __P((const char *prog, const char *file));
288  int mh_whatnow __P((struct mh_whatnow_env *wh, int initial_edit));  int mh_whatnow __P((struct mh_whatnow_env *wh, int initial_edit));
289  int mh_disposition __P((const char *filename));  int mh_disposition __P((const char *filename));
290    int mh_usedraft __P((const char *filename));
291  int mh_file_copy __P((const char *from, const char *to));  int mh_file_copy __P((const char *from, const char *to));
292    

Legend:
Removed from v.1.29  
changed lines
  Added in v.1.30

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