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[]; |
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)); |
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)); |
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 |
|
|
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 |
|
|