Lines Matching defs:mailbox
192 Vmalloc_t* vm; /* IMAP mailbox store */
201 int selected; /* mailbox selected */
216 int delimiter; /* mailbox hierarchy delimiter */
224 } mailbox; /* mailbox state */
517 * set mailbox flag capabilities
1111 while (state.msg.count < imap->mailbox.exists)
1114 if (state.msg.count < imap->mailbox.unseen || !imap->mailbox.unseen)
1117 if (imap->mailbox.unseen < 0)
1118 imap->mailbox.unseen = 1;
1119 else if (imap->mailbox.unseen > state.msg.count)
1120 imap->mailbox.unseen = state.msg.count;
1217 if (imap->mailbox.exists < 0)
1218 imap->mailbox.exists = op->count;
1221 n = op->count - imap->mailbox.exists;
1231 imap->mailbox.exists = op->count;
1277 imap->mailbox.read_only = 1;
1280 imap->mailbox.read_only = 0;
1283 imap->mailbox.trycreate = 1;
1286 imap->mailbox.uidnext = sp && sp->type == IMAP_number ? sp->value.number : 0;
1289 imap->mailbox.uidvalidity = sp && sp->type == IMAP_number ? sp->value.number : 0;
1292 imap->mailbox.unseen = sp && sp->type == IMAP_number ? sp->value.number : 0;
1306 imap->mailbox.recent = op->count;
1759 memset(&imap->mailbox, sizeof(imap->mailbox), 0);
1760 imap->mailbox.exists = -1;
1812 state.msg.dot = state.msg.list + imap->mailbox.unseen - 1;
1928 sfprintf(sfstdout, " delimiter %s\n", imap->mailbox.delimiter);
1929 sfprintf(sfstdout, " exists %d\n", imap->mailbox.exists);
1930 sfprintf(sfstdout, " recent %d\n", imap->mailbox.recent);
1931 sfprintf(sfstdout, " read_only %d\n", imap->mailbox.recent);
1932 sfprintf(sfstdout, " trycreate %d\n", imap->mailbox.trycreate);
1933 sfprintf(sfstdout, " uidnext %d\n", imap->mailbox.uidnext);
1934 sfprintf(sfstdout, " uidvalidity %d\n", imap->mailbox.uidvalidity);
1935 sfprintf(sfstdout, " unseen %d\n", imap->mailbox.unseen);