22 |
The side effect is that is set the cursor/cursor |
The side effect is that is set the cursor/cursor |
23 |
to the newest or read message number. */ |
to the newest or read message number. */ |
24 |
int |
int |
25 |
mail_summary (int argc, char **argv) |
mail_summary (int argc ARG_UNUSED, char **argv ARG_UNUSED) |
26 |
{ |
{ |
27 |
message_t msg; |
message_t msg; |
28 |
attribute_t attr; |
attribute_t attr; |
31 |
int mseen = 0, mnew = 0, mdelete = 0; |
int mseen = 0, mnew = 0, mdelete = 0; |
32 |
int first_new = 0, first_unread = 0; |
int first_new = 0, first_unread = 0; |
33 |
|
|
|
(void)argc; (void)argv; |
|
34 |
mailbox_messages_count (mbox, &count); |
mailbox_messages_count (mbox, &count); |
35 |
for (msgno = 1; msgno <= count; msgno++) |
for (msgno = 1; msgno <= count; msgno++) |
36 |
{ |
{ |