NeoMutt
2021-02-05-89-gabe350
Teaching an old dog new tricks
DOXYGEN
lib.h
Go to the documentation of this file.
1
42
#ifndef MUTT_SIDEBAR_LIB_H
43
#define MUTT_SIDEBAR_LIB_H
44
45
#include <stdbool.h>
46
#include <stdint.h>
47
#include "
mutt_commands.h
"
48
49
struct
Buffer
;
50
struct
ConfigSet
;
51
struct
MuttWindow
;
52
53
void
sb_init
(
void
);
54
void
sb_shutdown
(
void
);
55
56
void
sb_change_mailbox
(
struct
MuttWindow
*win,
int
op);
57
struct
Mailbox
*
sb_get_highlight
(
struct
MuttWindow
*win);
58
59
enum
CommandResult
sb_parse_unwhitelist
(
struct
Buffer
*buf,
struct
Buffer
*s, intptr_t data,
struct
Buffer
*err);
60
enum
CommandResult
sb_parse_whitelist
(
struct
Buffer
*buf,
struct
Buffer
*s, intptr_t data,
struct
Buffer
*err);
61
62
#endif
/* MUTT_SIDEBAR_LIB_H */
Mailbox
A mailbox.
Definition:
mailbox.h:81
sb_shutdown
void sb_shutdown(void)
Clean up the Sidebar.
Definition:
sidebar.c:199
Buffer
String manipulation buffer.
Definition:
buffer.h:33
sb_init
void sb_init(void)
Set up the Sidebar.
Definition:
sidebar.c:188
MuttWindow
A division of the screen.
Definition:
mutt_window.h:115
sb_get_highlight
struct Mailbox * sb_get_highlight(struct MuttWindow *win)
Get the Mailbox that's highlighted in the sidebar.
Definition:
sidebar.c:56
sb_change_mailbox
void sb_change_mailbox(struct MuttWindow *win, int op)
Perform a Sidebar function.
Definition:
functions.c:265
CommandResult
CommandResult
Error codes for command_t parse functions.
Definition:
mutt_commands.h:34
ConfigSet
Container for lots of config items.
Definition:
set.h:228
mutt_commands.h
sb_parse_unwhitelist
enum CommandResult sb_parse_unwhitelist(struct Buffer *buf, struct Buffer *s, intptr_t data, struct Buffer *err)
Parse the 'unsidebar_whitelist' command - Implements Command::parse()
Definition:
commands.c:61
sb_parse_whitelist
enum CommandResult sb_parse_whitelist(struct Buffer *buf, struct Buffer *s, intptr_t data, struct Buffer *err)
Parse the 'sidebar_whitelist' command - Implements Command::parse()
Definition:
commands.c:42