Commit 95fdc09c 95fdc09c10dbcdfc9681a4a1eb44b40a268a3831 by Sergey Poznyakoff

(mh_msgset_reverse,mh_msgset_negate,mh_msgset_current,

  mh_msgset_free): new functions.
 (mh_context_get_value,mh_msgset_parse): Changed.
1 parent 190bf9a7
Showing 1 changed file with 7 additions and 3 deletions
...@@ -212,17 +212,21 @@ mh_context_t *mh_context_create __P((char *name, int copy)); ...@@ -212,17 +212,21 @@ mh_context_t *mh_context_create __P((char *name, int copy));
212 int mh_context_read __P((mh_context_t *ctx)); 212 int mh_context_read __P((mh_context_t *ctx));
213 int mh_context_write __P((mh_context_t *ctx)); 213 int mh_context_write __P((mh_context_t *ctx));
214 char *mh_context_get_value __P((mh_context_t *ctx, const char *name, 214 char *mh_context_get_value __P((mh_context_t *ctx, const char *name,
215 char *defval)); 215 const char *defval));
216 int mh_context_set_value __P((mh_context_t *ctx, const char *name, 216 int mh_context_set_value __P((mh_context_t *ctx, const char *name,
217 char *value)); 217 const char *value));
218 218
219 int mh_message_number __P((message_t msg, size_t *pnum)); 219 int mh_message_number __P((message_t msg, size_t *pnum));
220 220
221 mailbox_t mh_open_folder __P((const char *folder, int create)); 221 mailbox_t mh_open_folder __P((const char *folder, int create));
222 222
223 int mh_msgset_parse __P((mailbox_t mbox, mh_msgset_t *msgset, 223 int mh_msgset_parse __P((mailbox_t mbox, mh_msgset_t *msgset,
224 int argc, char **argv)); 224 int argc, char **argv, char *def));
225 int mh_msgset_member __P((mh_msgset_t *msgset, size_t num)); 225 int mh_msgset_member __P((mh_msgset_t *msgset, size_t num));
226 void mh_msgset_reverse __P((mh_msgset_t *msgset));
227 void mh_msgset_negate __P((mailbox_t mbox, mh_msgset_t *msgset));
228 int mh_msgset_current __P((mailbox_t mbox, mh_msgset_t *msgset, int index));
229 void mh_msgset_free __P((mh_msgset_t *msgset));
226 230
227 char *mh_get_dir __P((void)); 231 char *mh_get_dir __P((void));
228 char *mh_expand_name __P((const char *name, int is_folder)); 232 char *mh_expand_name __P((const char *name, int is_folder));
......