path: root/mh/mh.h
diff options
authorSergey Poznyakoff <>2010-11-30 17:44:41 +0200
committerSergey Poznyakoff <>2010-11-30 17:44:41 +0200
commit34361061098003122b0ce911a87123f012e79f88 (patch)
tree70f5b85a8b9bb316a79df6b37593baf83c634683 /mh/mh.h
parentf5374bc2ff9bb95dd94668eb8a5fb54c88c30f22 (diff)
sortm: update current message number; add testsuite.
* mh/sortm.c (current_num): New variable. (sort): Keep track of the current message UID. Store it back to mailbox if in reorder mode. (main): Save initial current message UID. Save global and mailbox status before exiting. * mh/mh.h (mh_open_folder): Change last argument name. * mh_open_folder (mh_open_folder): Change meaning of the 2nd argument: it contains usual stream flags now. All uses changed. * mh/tests/ New file. * mh/tests/ Include * mh/tests/ (TESTSUITE_AT): Add
Diffstat (limited to 'mh/mh.h')
1 files changed, 1 insertions, 1 deletions
diff --git a/mh/mh.h b/mh/mh.h
index 07cb09674..af0fc6361 100644
--- a/mh/mh.h
+++ b/mh/mh.h
@@ -302,7 +302,7 @@ void mh_audit_close (FILE *fp);
int mh_message_number (mu_message_t msg, size_t *pnum);
-mu_mailbox_t mh_open_folder (const char *folder, int create);
+mu_mailbox_t mh_open_folder (const char *folder, int flags);
void mh_msgset_parse (mu_mailbox_t mbox, mh_msgset_t *msgset,
int argc, char **argv, char *def);

Return to:

Send suggestions and report system problems to the System administrator.