23#ifndef MUTT_SIDEBAR_PRIVATE_H
24#define MUTT_SIDEBAR_PRIVATE_H
#define ARRAY_HEAD(name, type)
Define a named struct for arrays of elements of a certain type.
CommandResult
Error codes for command_t parse functions.
Convenience wrapper for the core headers.
Structs that make up an email.
EmailSortType
Methods for sorting Emails.
enum CommandResult sb_parse_sidebar_pin(struct Buffer *buf, struct Buffer *s, intptr_t data, struct Buffer *err)
Parse the 'sidebar_pin' command - Implements Command::parse() -.
enum CommandResult sb_parse_sidebar_unpin(struct Buffer *buf, struct Buffer *s, intptr_t data, struct Buffer *err)
Parse the 'sidebar_unpin' command - Implements Command::parse() -.
int sb_insertion_window_observer(struct NotifyCallback *nc)
Notification that a Window has changed - Implements observer_t -.
int sb_recalc(struct MuttWindow *win)
Recalculate the Sidebar display - Implements MuttWindow::recalc() -.
int sb_repaint(struct MuttWindow *win)
Repaint the Sidebar display - Implements MuttWindow::repaint() -.
void sb_wdata_free(struct MuttWindow *win, void **ptr)
Free Sidebar Window data - Implements MuttWindow::wdata_free() -.
Convenience wrapper for the library headers.
A curses colour and its attributes.
String manipulation buffer.
Data shared between Index, Pager and Sidebar.
Data passed to a notification function.
Info about folders in the sidebar.
const struct AttrColor * color
Colour to use.
int depth
Indentation depth.
char display[256]
Formatted string to display.
struct Mailbox * mailbox
Mailbox this represents.
bool is_hidden
Don't show, e.g. $sidebar_new_mail_only.
char box[256]
Mailbox path (possibly abbreviated)