Sidebar Expando definitions. More...
#include <stdbool.h>
#include <stdio.h>
#include "private.h"
#include "mutt/lib.h"
#include "config/lib.h"
#include "core/lib.h"
#include "expando.h"
#include "expando/lib.h"
#include "index/lib.h"
Go to the source code of this file.
Functions | |
static size_t | add_indent (char *buf, size_t buflen, const struct SbEntry *sbe) |
Generate the needed indentation. | |
static long | sidebar_deleted_count_num (const struct ExpandoNode *node, void *data, MuttFormatFlags flags) |
Sidebar: Number of deleted messages - Implements get_number_t -. | |
static void | sidebar_description (const struct ExpandoNode *node, void *data, MuttFormatFlags flags, struct Buffer *buf) |
Sidebar: Descriptive name - Implements get_string_t -. | |
static void | sidebar_flagged (const struct ExpandoNode *node, void *data, MuttFormatFlags flags, struct Buffer *buf) |
Sidebar: Flagged flags - Implements get_string_t -. | |
static long | sidebar_flagged_count_num (const struct ExpandoNode *node, void *data, MuttFormatFlags flags) |
Sidebar: Number of flagged messages - Implements get_number_t -. | |
static long | sidebar_limited_count_num (const struct ExpandoNode *node, void *data, MuttFormatFlags flags) |
Sidebar: Number of limited messages - Implements get_number_t -. | |
static long | sidebar_message_count_num (const struct ExpandoNode *node, void *data, MuttFormatFlags flags) |
Sidebar: number of messages - Implements get_number_t -. | |
static void | sidebar_name (const struct ExpandoNode *node, void *data, MuttFormatFlags flags, struct Buffer *buf) |
Sidebar: Name of the mailbox - Implements get_string_t -. | |
static void | sidebar_new_mail (const struct ExpandoNode *node, void *data, MuttFormatFlags flags, struct Buffer *buf) |
Sidebar: New mail flag - Implements get_string_t -. | |
static long | sidebar_new_mail_num (const struct ExpandoNode *node, void *data, MuttFormatFlags flags) |
Sidebar: New mail flag - Implements get_number_t -. | |
static long | sidebar_notify_num (const struct ExpandoNode *node, void *data, MuttFormatFlags flags) |
Sidebar: Alert for new mail - Implements get_number_t -. | |
static long | sidebar_old_count_num (const struct ExpandoNode *node, void *data, MuttFormatFlags flags) |
Sidebar: Number of old messages - Implements get_number_t -. | |
static long | sidebar_poll_num (const struct ExpandoNode *node, void *data, MuttFormatFlags flags) |
Sidebar: Poll for new mail - Implements get_number_t -. | |
static long | sidebar_read_count_num (const struct ExpandoNode *node, void *data, MuttFormatFlags flags) |
Sidebar: Number of read messages - Implements get_number_t -. | |
static long | sidebar_tagged_count_num (const struct ExpandoNode *node, void *data, MuttFormatFlags flags) |
Sidebar: Number of tagged messages - Implements get_number_t -. | |
static long | sidebar_unread_count_num (const struct ExpandoNode *node, void *data, MuttFormatFlags flags) |
Sidebar: Number of unread messages - Implements get_number_t -. | |
static long | sidebar_unseen_count_num (const struct ExpandoNode *node, void *data, MuttFormatFlags flags) |
Sidebar: Number of new messages - Implements get_number_t -. | |
Variables | |
const struct ExpandoRenderCallback | SidebarRenderCallbacks [] |
Callbacks for Sidebar Expandos. | |
Sidebar Expando definitions.
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 expando.c.
|
static |
Generate the needed indentation.
buf | Output buffer |
buflen | Size of output buffer |
sbe | Sidebar entry |
num | Bytes written |
Definition at line 46 of file expando.c.
const struct ExpandoRenderCallback SidebarRenderCallbacks[] |
Callbacks for Sidebar Expandos.