48 const struct Folder *folder = data;
50 char tmp[128] = { 0 };
57 if (c_newsgroups_charset)
74 const struct Folder *folder = data;
96 const struct Folder *folder = data;
118 const struct Folder *folder = data;
120 const char *s = folder->
ff->
name;
129 const struct Folder *folder = data;
140 const struct Folder *folder = data;
159 const struct Folder *folder = data;
161 return folder->
num + 1;
169 const struct Folder *folder = data;
180 const struct Folder *folder = data;
201 { -1, -1, NULL, NULL },
Select a Mailbox from a list.
@ ED_FOL_POLL
FolderFile.poll_new_mail.
@ ED_FOL_NOTIFY
FolderFile.notify_user.
@ ED_FOL_NEW_COUNT
FolderFile.nd (NntpMboxData)
@ ED_FOL_UNREAD_COUNT
FolderFile.msg_unread.
@ ED_FOL_FLAGS2
FolderFile.nd (NntpMboxData)
@ ED_FOL_NUMBER
Folder.num.
@ ED_FOL_DESCRIPTION
FolderFile.desc, FolderFile.name.
@ ED_FOL_NEWSGROUP
FolderFile.name.
@ ED_FOL_FLAGS
FolderFile.nd (NntpMboxData)
size_t buf_strcpy(struct Buffer *buf, const char *s)
Copy a string into a Buffer.
const char * cs_subset_string(const struct ConfigSubset *sub, const char *name)
Get a string config item by name.
bool cs_subset_bool(const struct ConfigSubset *sub, const char *name)
Get a boolean config item by name.
Convenience wrapper for the config headers.
const char * cc_charset(void)
Get the cached value of $charset.
Convenience wrapper for the core headers.
@ ED_FOLDER
Folder ED_FOL_ ExpandoDataFolder.
const struct ExpandoRenderCallback GroupIndexRenderCallbacks[]
Callbacks for Nntp Browser Expandos.
NNTP Expando definitions.
static long group_index_notify_num(const struct ExpandoNode *node, void *data, MuttFormatFlags flags)
NNTP: Alert for new mail - Implements get_number_t -.
static long group_index_new_count_num(const struct ExpandoNode *node, void *data, MuttFormatFlags flags)
NNTP: Number of new articles - Implements get_number_t -.
static long group_index_poll_num(const struct ExpandoNode *node, void *data, MuttFormatFlags flags)
NNTP: Poll for new mail - Implements get_number_t -.
static long group_index_unread_count_num(const struct ExpandoNode *node, void *data, MuttFormatFlags flags)
NNTP: Number of unread articles - Implements get_number_t -.
static long group_index_number_num(const struct ExpandoNode *node, void *data, MuttFormatFlags flags)
NNTP: Index number - Implements get_number_t -.
static void group_index_description(const struct ExpandoNode *node, void *data, MuttFormatFlags flags, struct Buffer *buf)
NNTP: Description - Implements get_string_t -.
static void group_index_flags2(const struct ExpandoNode *node, void *data, MuttFormatFlags flags, struct Buffer *buf)
NNTP: New flag - Implements get_string_t -.
static void group_index_newsgroup(const struct ExpandoNode *node, void *data, MuttFormatFlags flags, struct Buffer *buf)
NNTP: Newsgroup name - Implements get_string_t -.
static void group_index_flags(const struct ExpandoNode *node, void *data, MuttFormatFlags flags, struct Buffer *buf)
NNTP: Moderated flag - Implements get_string_t -.
int mutt_mb_filter_unprintable(char **s)
Replace unprintable characters.
int mutt_ch_convert_string(char **ps, const char *from, const char *to, uint8_t flags)
Convert a string between encodings.
#define MUTT_ICONV_HOOK_FROM
apply charset-hooks to fromcode
Convenience wrapper for the library headers.
char * mutt_str_dup(const char *str)
Copy a string, safely.
size_t mutt_str_copy(char *dest, const char *src, size_t dsize)
Copy a string into a buffer (guaranteeing NUL-termination)
Notmuch-specific Mailbox data.
uint8_t MuttFormatFlags
Flags for expando_render(), e.g. MUTT_FORMAT_FORCESUBJ.
String manipulation buffer.
char * name
Name of file/dir/mailbox.
bool has_new_mail
true if mailbox has "new mail"
bool poll_new_mail
Check mailbox for new mail.
bool notify_user
User will be notified of new mail.
struct NntpMboxData * nd
Extra NNTP data.
A folder/dir in the browser.
int num
Number in the index.
struct FolderFile * ff
File / Dir / Mailbox.
Container for Accounts, Notifications.
struct ConfigSubset * sub
Inherited config items.
NNTP-specific Mailbox data -.
char * desc
Description of newsgroup.