(mh_init2, mh_is_my_name, mh_iterate): Added prototypes.
(mh_open_folder, mh_expand_name): Changed prototypes.
Showing
1 changed file
with
9 additions
and
2 deletions
... | @@ -41,6 +41,8 @@ | ... | @@ -41,6 +41,8 @@ |
41 | #include <mailutils/error.h> | 41 | #include <mailutils/error.h> |
42 | #include <mailutils/errno.h> | 42 | #include <mailutils/errno.h> |
43 | 43 | ||
44 | #include <mu_asprintf.h> | ||
45 | |||
44 | #define MH_FMT_RALIGN 0x1000 | 46 | #define MH_FMT_RALIGN 0x1000 |
45 | #define MH_FMT_ZEROPAD 0x2000 | 47 | #define MH_FMT_ZEROPAD 0x2000 |
46 | #define MH_WIDTH_MASK 0x0fff | 48 | #define MH_WIDTH_MASK 0x0fff |
... | @@ -175,6 +177,7 @@ extern size_t current_message; | ... | @@ -175,6 +177,7 @@ extern size_t current_message; |
175 | extern char mh_list_format[]; | 177 | extern char mh_list_format[]; |
176 | 178 | ||
177 | void mh_init __P((void)); | 179 | void mh_init __P((void)); |
180 | void mh_init2 __P((void)); | ||
178 | void mh_read_profile __P((void)); | 181 | void mh_read_profile __P((void)); |
179 | void mh_save_context __P((void)); | 182 | void mh_save_context __P((void)); |
180 | int mh_read_formfile __P((char *name, char **pformat)); | 183 | int mh_read_formfile __P((char *name, char **pformat)); |
... | @@ -205,14 +208,18 @@ int mh_context_set_value __P((mh_context_t *ctx, const char *name, | ... | @@ -205,14 +208,18 @@ int mh_context_set_value __P((mh_context_t *ctx, const char *name, |
205 | 208 | ||
206 | int mh_message_number __P((message_t msg, size_t *pnum)); | 209 | int mh_message_number __P((message_t msg, size_t *pnum)); |
207 | 210 | ||
208 | mailbox_t mh_open_folder __P((const char *folder)); | 211 | mailbox_t mh_open_folder __P((const char *folder, int create)); |
209 | 212 | ||
210 | int mh_msgset_parse __P((mailbox_t mbox, mh_msgset_t *msgset, | 213 | int mh_msgset_parse __P((mailbox_t mbox, mh_msgset_t *msgset, |
211 | int argc, char **argv)); | 214 | int argc, char **argv)); |
212 | int mh_msgset_member __P((mh_msgset_t *msgset, size_t num)); | 215 | int mh_msgset_member __P((mh_msgset_t *msgset, size_t num)); |
213 | 216 | ||
214 | char *mh_get_dir __P((void)); | 217 | char *mh_get_dir __P((void)); |
215 | const char *mh_expand_name __P((const char *name, int is_folder)); | 218 | char *mh_expand_name __P((const char *name, int is_folder)); |
219 | |||
220 | int mh_is_my_name __P((char *name)); | ||
221 | int mh_iterate __P((mailbox_t mbox, mh_msgset_t *msgset, | ||
222 | mh_iterator_fp itr, void *data)); | ||
216 | 223 | ||
217 | void *xmalloc __P((size_t)); | 224 | void *xmalloc __P((size_t)); |
218 | void *xrealloc __P((void *, size_t)); | 225 | void *xrealloc __P((void *, size_t)); | ... | ... |
-
Please register or sign in to post a comment