Extern declarations for current_folder, current_message, mh_list_format, etc.
Showing
1 changed file
with
9 additions
and
0 deletions
... | @@ -39,6 +39,8 @@ | ... | @@ -39,6 +39,8 @@ |
39 | #define MH_FMT_ZEROPAD 0x2000 | 39 | #define MH_FMT_ZEROPAD 0x2000 |
40 | #define MH_WIDTH_MASK 0x0fff | 40 | #define MH_WIDTH_MASK 0x0fff |
41 | 41 | ||
42 | #define MH_SEQUENCES_FILE ".mh_sequences" | ||
43 | |||
42 | enum mh_opcode | 44 | enum mh_opcode |
43 | { | 45 | { |
44 | /* 0. Stop. Format: mhop_stop */ | 46 | /* 0. Stop. Format: mhop_stop */ |
... | @@ -127,7 +129,14 @@ struct mh_builtin | ... | @@ -127,7 +129,14 @@ struct mh_builtin |
127 | int optarg; | 129 | int optarg; |
128 | }; | 130 | }; |
129 | 131 | ||
132 | extern char *current_folder; | ||
133 | extern size_t current_message; | ||
134 | extern char mh_list_format[]; | ||
135 | |||
130 | void mh_init (void); | 136 | void mh_init (void); |
137 | int mh_read_context_file (char *path, header_t *header); | ||
138 | char *mh_read_formfile (char *name); | ||
139 | |||
131 | int mh_format (mh_format_t *fmt, message_t msg, size_t msgno, | 140 | int mh_format (mh_format_t *fmt, message_t msg, size_t msgno, |
132 | char *buffer, size_t bufsize); | 141 | char *buffer, size_t bufsize); |
133 | int mh_format_parse (char *format_str, mh_format_t *fmt); | 142 | int mh_format_parse (char *format_str, mh_format_t *fmt); | ... | ... |
-
Please register or sign in to post a comment