1mail::ACCOUNT::getFolmdaeirlI:n:dAeCxCSOiUzNeT(3Sxy)nchronmoauisl:A:PAICCrOeUfNeTr:e:ngceetFolderIndexSize(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
15
16 size_t messageCount=mail->getFolderIndexSize(void);
17
19 mail::ACCOUNT::getFolderIndexSize returns the number of messages in the
20 currently open folder. Messages in the folder are numbered starting
21 with zero, and ending with one less than the number returned by this
22 function.
23
24 For example, if mail::ACCOUNT::getFolderIndexSize returns 5 it means
25 that there are five messages in the folder, numbered 0 through 4.
26
28 This function always succeeds, and returns the number of messages in
29 the currently-open folder.
30
32 mail::ACCOUNT::getFolderIndexInfo(3x), mail::ACCOUNT::openFolder(3x)
33
34
35
36 10 Aprilm2a0i0l6::ACCOUNT::getFolderIndexSize(3x)