Mailbox helper functions. More...
Include dependency graph for mutt_mailbox.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Functions | |
| int | mutt_mailbox_check (struct Mailbox *m_cur, CheckStatsFlags flags) |
| Check all all Mailboxes for new mail. | |
| void | mailbox_restore_timestamp (const char *path, struct stat *st) |
| Restore the timestamp of a mailbox. | |
| bool | mutt_mailbox_list (void) |
| Show a message with the list of mailboxes with new mail. | |
| struct Mailbox * | mutt_mailbox_next (struct Mailbox *m_cur, struct Buffer *s) |
| Incoming folders completion routine. | |
| struct Mailbox * | mutt_mailbox_next_unread (struct Mailbox *m_cur, struct Buffer *s) |
| Find next mailbox with unread mail. | |
| bool | mutt_mailbox_notify (struct Mailbox *m_cur) |
| Notify the user if there's new mail. | |
| void | mutt_mailbox_set_notified (struct Mailbox *m) |
| Note when the user was last notified of new mail. | |
Mailbox helper functions.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.
Definition in file mutt_mailbox.h.
| int mutt_mailbox_check | ( | struct Mailbox * | m_cur, |
| CheckStatsFlags | flags ) |
Check all all Mailboxes for new mail.
| m_cur | Current Mailbox |
| flags | Flags, e.g. MUTT_MAILBOX_CHECK_STATS |
| num | Number of mailboxes with new mail |
Check all all Mailboxes for new mail and total/new/flagged messages
Definition at line 169 of file mutt_mailbox.c.
Here is the call graph for this function:
Here is the caller graph for this function:| void mailbox_restore_timestamp | ( | const char * | path, |
| struct stat * | st ) |
Restore the timestamp of a mailbox.
| path | Path to the mailbox |
| st | Timestamp info from stat() |
Fix up the atime and mtime after mbox/mmdf mailbox was modified according to stat() info taken before a modification.
Definition at line 407 of file mutt_mailbox.c.
Here is the call graph for this function:
Here is the caller graph for this function:| bool mutt_mailbox_list | ( | void | ) |
Show a message with the list of mailboxes with new mail.
| true | There is new mail |
Definition at line 248 of file mutt_mailbox.c.
Here is the call graph for this function:
Here is the caller graph for this function:Incoming folders completion routine.
| ptr | Mailbox |
Given a folder name, find the next incoming folder with new mail. The Mailbox will be returned and a pretty version of the path put into s.
Definition at line 361 of file mutt_mailbox.c.
Here is the call graph for this function:
Here is the caller graph for this function:Find next mailbox with unread mail.
| ptr | Mailbox |
Given a folder name, find the next mailbox with unread mail. The Mailbox will be returned and a pretty version of the path put into s.
Definition at line 387 of file mutt_mailbox.c.
Here is the call graph for this function:
Here is the caller graph for this function:| bool mutt_mailbox_notify | ( | struct Mailbox * | m_cur | ) |
Notify the user if there's new mail.
| m_cur | Current Mailbox |
| true | There is new mail |
Definition at line 235 of file mutt_mailbox.c.
Here is the call graph for this function:
Here is the caller graph for this function:| void mutt_mailbox_set_notified | ( | struct Mailbox * | m | ) |
Note when the user was last notified of new mail.
| m | Mailbox |
Definition at line 304 of file mutt_mailbox.c.
Here is the call graph for this function:
Here is the caller graph for this function: