Commit 79b0d0bd 79b0d0bd1d291e21c7335a3953f099c01057127b by Sergey Poznyakoff

(mh_seq_add, mh_seq_delete, mh_seq_read): New functions.

1 parent a2ec610a
Showing 1 changed file with 7 additions and 0 deletions
...@@ -211,6 +211,9 @@ struct mh_whatnow_env { /* An environment for whatnow shell */ ...@@ -211,6 +211,9 @@ struct mh_whatnow_env { /* An environment for whatnow shell */
211 typedef int (*mh_context_iterator) __PMT((char *field, 211 typedef int (*mh_context_iterator) __PMT((char *field,
212 char *value, char *data)); 212 char *value, char *data));
213 213
214 #define SEQ_PRIVATE 1
215 #define SEQ_ZERO 2
216
214 extern char *current_folder; 217 extern char *current_folder;
215 extern size_t current_message; 218 extern size_t current_message;
216 extern char mh_list_format[]; 219 extern char mh_list_format[];
...@@ -303,3 +306,7 @@ int mhl_format_run __P((list_t fmt, int width, int length, ...@@ -303,3 +306,7 @@ int mhl_format_run __P((list_t fmt, int width, int length,
303 int clearscreen, int bell, 306 int clearscreen, int bell,
304 message_t msg, stream_t output)); 307 message_t msg, stream_t output));
305 void mhl_format_destroy (list_t *fmt); 308 void mhl_format_destroy (list_t *fmt);
309
310 void mh_seq_add __P((char *name, mh_msgset_t *mset, int flags));
311 int mh_seq_delete __P((char *name, mh_msgset_t *mset, int flags));
312 char *mh_seq_read __P((char *name, int flags));
......