44 |
#include <mailutils/argcv.h> |
#include <mailutils/argcv.h> |
45 |
#include <mailutils/debug.h> |
#include <mailutils/debug.h> |
46 |
#include <mailutils/mailer.h> |
#include <mailutils/mailer.h> |
47 |
|
#include <mailutils/envelope.h> |
48 |
|
|
49 |
#include <mu_asprintf.h> |
#include <mu_asprintf.h> |
50 |
#include <getline.h> |
#include <getline.h> |
51 |
|
|
52 |
|
#if !HAVE_DECL_STRCHRNUL |
53 |
|
extern char *strchrnul __P((const char *s, int c_in)); |
54 |
|
#endif |
55 |
|
|
56 |
#define MH_FMT_RALIGN 0x1000 |
#define MH_FMT_RALIGN 0x1000 |
57 |
#define MH_FMT_ZEROPAD 0x2000 |
#define MH_FMT_ZEROPAD 0x2000 |
58 |
#define MH_WIDTH_MASK 0x0fff |
#define MH_WIDTH_MASK 0x0fff |
220 |
void mh_init2 __P((void)); |
void mh_init2 __P((void)); |
221 |
void mh_read_profile __P((void)); |
void mh_read_profile __P((void)); |
222 |
int mh_read_formfile __P((char *name, char **pformat)); |
int mh_read_formfile __P((char *name, char **pformat)); |
223 |
mailbox_t mh_open_msg_file (char *folder, char *file_name); |
message_t mh_file_to_message (char *folder, char *file_name); |
224 |
|
message_t mh_stream_to_message (stream_t stream); |
225 |
void mh_install __P((char *name, int automode)); |
void mh_install __P((char *name, int automode)); |
226 |
|
|
227 |
char *mh_global_profile_get __P((char *name, char *defval)); |
char *mh_global_profile_get __P((char *name, char *defval)); |
297 |
int mh_file_copy __P((const char *from, const char *to)); |
int mh_file_copy __P((const char *from, const char *to)); |
298 |
|
|
299 |
void mh_annotate __P((message_t msg, char *field, char *text, int date)); |
void mh_annotate __P((message_t msg, char *field, char *text, int date)); |
300 |
|
|
301 |
|
list_t mhl_format_compile __P((char *name)); |
302 |
|
int mhl_format_run __P((list_t fmt, int width, int length, |
303 |
|
int clearscreen, int bell, |
304 |
|
message_t msg, stream_t output)); |
305 |
|
void mhl_format_destroy (list_t *fmt); |