NeoMutt  2020-09-25
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 bool config_init_sidebar(struct ConfigSet *cs);
63 
64 #endif /* MUTT_SIDEBAR_LIB_H */
Container for lots of config items.
Definition: set.h:228
CommandResult
Error codes for command_t parse functions.
Definition: mutt_commands.h:34
String manipulation buffer.
Definition: buffer.h:33
A division of the screen.
Definition: mutt_window.h:115
A mailbox.
Definition: mailbox.h:81
Definitions of NeoMutt commands.