1MAIL::ACCOUNT::GETFO(3x)Cone: COnsole Newsreader And EMAIL::ACCOUNT::GETFO(3x)
2
3
4
6 mail::account::getFolderIndexSize - Return number of messages in the
7 current folder
8
10 #include <libmail/mail.H>
11
12
13 mail::account *account;
14
15 size_t count=account->getFolderIndexSize(void);
16
18 mail::account::getFolderIndexSize returns the number of messages in the
19 currently open folder. Messages in the folder are numbered starting
20 with zero, and ending with one less than the number returned by this
21 function.
22
23 For example, if mail::account::getFolderIndexSize returns 5 it means
24 that there are five messages in the folder, numbered 0 through 4.
25
27 This function always succeeds, returning the message count.
28
30 mail::account::readMessageAttributes(3x),
31 mail::account::getFolderIndexInfo(3x).
32
33
34
35[FIXME: source] 05/08/2010 MAIL::ACCOUNT::GETFO(3x)