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/sync.H>
11
12 mail::ACCOUNT *mail;
13
14 size_t messageCount=mail->getFolderIndexSize(void);
15
17 mail::ACCOUNT::getFolderIndexSize returns the number of messages in the
18 currently open folder. Messages in the folder are numbered starting
19 with zero, and ending with one less than the number returned by this
20 function.
21
22 For example, if mail::ACCOUNT::getFolderIndexSize returns 5 it means
23 that there are five messages in the folder, numbered 0 through 4.
24
26 This function always succeeds, and returns the number of messages in
27 the currently-open folder.
28
30 mail::ACCOUNT::getFolderIndexInfo(3x), mail::ACCOUNT::openFolder(3x)
31
32
33
34[FIXME: source] 05/08/2010 MAIL::ACCOUNT::GETFO(3x)