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 2389 of file imap.c.
2390{
2392 if (rc < 0)
2393 return -1;
2394 if (rc == 0)
2395 return 1;
2396 return 0;
2397}
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 1615 of file mbox.c.
1616{
1618}
int mutt_file_check_empty(const char *path)
Is the mailbox empty.