33 |
char *name; |
char *name; |
34 |
status_funcp fun; |
status_funcp fun; |
35 |
} status_table[] = { |
} status_table[] = { |
36 |
"MESSAGES", status_messages, |
{"MESSAGES", status_messages}, |
37 |
"RECENT", status_recent, |
{"RECENT", status_recent}, |
38 |
"UIDNEXT", status_uidnext, |
{"UIDNEXT", status_uidnext}, |
39 |
"UIDVALIDITY", status_uidvalidity, |
{"UIDVALIDITY", status_uidvalidity}, |
40 |
"UNSEEN", status_unseen, |
{"UNSEEN", status_unseen}, |
41 |
NULL |
{ NULL } |
42 |
}; |
}; |
43 |
|
|
44 |
static status_funcp |
static status_funcp |
107 |
/* Get the status item names. */ |
/* Get the status item names. */ |
108 |
while (*sp && *sp != ')') |
while (*sp && *sp != ')') |
109 |
{ |
{ |
|
int err = 1; |
|
110 |
status_funcp fun; |
status_funcp fun; |
111 |
|
|
112 |
util_token (item, sizeof (item), &sp); |
util_token (item, sizeof (item), &sp); |