NeoMutt  2024-11-14-138-ge5ca67
Teaching an old dog new tricks
DOXYGEN
Loading...
Searching...
No Matches
expando_browser.c File Reference

Browse NNTP groups. More...

#include "config.h"
#include <stdbool.h>
#include <stdio.h>
#include "mutt/lib.h"
#include "config/lib.h"
#include "core/lib.h"
#include "expando_browser.h"
#include "browser/lib.h"
#include "expando/lib.h"
#include "mdata.h"
+ Include dependency graph for expando_browser.c:

Go to the source code of this file.

Functions

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_flags (const struct ExpandoNode *node, void *data, MuttFormatFlags flags, struct Buffer *buf)
 NNTP: Moderated flag - 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 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_number_num (const struct ExpandoNode *node, void *data, MuttFormatFlags flags)
 NNTP: Index number - 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 -.
 

Variables

const struct ExpandoRenderCallback GroupIndexRenderCallbacks []
 Callbacks for Nntp Browser Expandos.
 

Detailed Description

Browse NNTP groups.

Authors
  • Richard Russon
  • Pietro Cerutti
  • Tóth János

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.

Definition in file expando_browser.c.

Variable Documentation

◆ GroupIndexRenderCallbacks

const struct ExpandoRenderCallback GroupIndexRenderCallbacks[]
Initial value:
= {
{ -1, -1, NULL, NULL },
}
@ ED_FOL_POLL
FolderFile.poll_new_mail.
Definition: lib.h:135
@ ED_FOL_NOTIFY
FolderFile.notify_user.
Definition: lib.h:133
@ ED_FOL_NEW_COUNT
FolderFile.nd (NntpMboxData)
Definition: lib.h:131
@ ED_FOL_UNREAD_COUNT
FolderFile.msg_unread.
Definition: lib.h:137
@ ED_FOL_FLAGS2
FolderFile.nd (NntpMboxData)
Definition: lib.h:127
@ ED_FOL_NUMBER
Folder.num.
Definition: lib.h:134
@ ED_FOL_DESCRIPTION
FolderFile.desc, FolderFile.name.
Definition: lib.h:120
@ ED_FOL_NEWSGROUP
FolderFile.name.
Definition: lib.h:130
@ ED_FOL_FLAGS
FolderFile.nd (NntpMboxData)
Definition: lib.h:126
@ ED_FOLDER
Folder ED_FOL_ ExpandoDataFolder.
Definition: domain.h:43
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 -.

Callbacks for Nntp Browser Expandos.

See also
GroupIndexFormatDef, ExpandoDataFolder

Definition at line 190 of file expando_browser.c.