NeoMutt  2021-02-05-666-ge300cd
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 MuttWindow;
51 
52 void sb_init (void);
53 void sb_shutdown(void);
54 
55 void sb_change_mailbox(struct MuttWindow *win, int op);
56 struct Mailbox *sb_get_highlight (struct MuttWindow *win);
57 
58 enum CommandResult sb_parse_unwhitelist(struct Buffer *buf, struct Buffer *s, intptr_t data, struct Buffer *err);
59 enum CommandResult sb_parse_whitelist (struct Buffer *buf, struct Buffer *s, intptr_t data, struct Buffer *err);
60 
61 #endif /* MUTT_SIDEBAR_LIB_H */
CommandResult
Error codes for command_t parse functions.
Definition: mutt_commands.h:34
String manipulation buffer.
Definition: buffer.h:33
A mailbox.
Definition: mailbox.h:81
Definitions of NeoMutt commands.
enum CommandResult sb_parse_whitelist(struct Buffer *buf, struct Buffer *s, intptr_t data, struct Buffer *err)
Parse the &#39;sidebar_whitelist&#39; command - Implements Command::parse() -.
Definition: commands.c:42
enum CommandResult sb_parse_unwhitelist(struct Buffer *buf, struct Buffer *s, intptr_t data, struct Buffer *err)
Parse the &#39;unsidebar_whitelist&#39; command - Implements Command::parse() -.
Definition: commands.c:61