Is the Mailbox empty?
More...
Is the Mailbox empty?
- Parameters
-
- Return values
-
- Precondition
- path is not NULL and not empty
◆ imap_path_is_empty()
static int imap_path_is_empty |
( |
struct Buffer * |
path | ) |
|
|
static |
Is the mailbox empty - Implements MxOps::path_is_empty() -.
Definition at line 2390 of file imap.c.
2391{
2393 if (rc < 0)
2394 return -1;
2395 if (rc == 0)
2396 return 1;
2397 return 0;
2398}
static const char * buf_string(const struct Buffer *buf)
Convert a buffer to a const char * "string".
int imap_path_status(const char *path, bool queue)
Refresh the number of total and new messages.
◆ mbox_path_is_empty()
static int mbox_path_is_empty |
( |
struct Buffer * |
path | ) |
|
|
static |
Is the mailbox empty - Implements MxOps::path_is_empty() -.
Definition at line 1616 of file mbox.c.
1617{
1619}
int mutt_file_check_empty(const char *path)
Is the mailbox empty.