NeoMutt  2024-11-14-151-g38259e
Teaching an old dog new tricks
DOXYGEN
Loading...
Searching...
No Matches
expando_newsrc.c File Reference

Browse NNTP groups. More...

#include "config.h"
#include <stdio.h>
#include <string.h>
#include "mutt/lib.h"
#include "email/lib.h"
#include "conn/lib.h"
#include "lib.h"
#include "expando/lib.h"
#include "adata.h"
+ Include dependency graph for expando_newsrc.c:

Go to the source code of this file.

Functions

static void nntp_account (const struct ExpandoNode *node, void *data, MuttFormatFlags flags, struct Buffer *buf)
 Newsrc: Account url - Implements get_string_t -.
 
static long nntp_port (const struct ExpandoNode *node, void *data, MuttFormatFlags flags)
 Newsrc: Port - Implements get_number_t -.
 
static long nntp_port_if_num (const struct ExpandoNode *node, void *data, MuttFormatFlags flags)
 Newsrc: Port if specified - Implements get_number_t -.
 
static void nntp_port_if (const struct ExpandoNode *node, void *data, MuttFormatFlags flags, struct Buffer *buf)
 Newsrc: Port if specified - Implements get_string_t -.
 
static void nntp_schema (const struct ExpandoNode *node, void *data, MuttFormatFlags flags, struct Buffer *buf)
 Newsrc: Url schema - Implements get_string_t -.
 
static void nntp_server (const struct ExpandoNode *node, void *data, MuttFormatFlags flags, struct Buffer *buf)
 Newsrc: News server name - Implements get_string_t -.
 
static void nntp_username (const struct ExpandoNode *node, void *data, MuttFormatFlags flags, struct Buffer *buf)
 Newsrc: Username - Implements get_string_t -.
 

Variables

const struct ExpandoRenderCallback NntpRenderCallbacks []
 Callbacks for Newsrc 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_newsrc.c.

Variable Documentation

◆ NntpRenderCallbacks

const struct ExpandoRenderCallback NntpRenderCallbacks[]
Initial value:
= {
{ -1, -1, NULL, NULL },
}
@ ED_NTP_SCHEMA
ConnAccount.account.
Definition: connaccount.h:85
@ ED_NTP_USERNAME
ConnAccount.user.
Definition: connaccount.h:87
@ ED_NTP_PORT_IF
ConnAccount.port.
Definition: connaccount.h:84
@ ED_NTP_SERVER
ConnAccount.account.
Definition: connaccount.h:86
@ ED_NTP_ACCOUNT
ConnAccount.account.
Definition: connaccount.h:82
@ ED_NTP_PORT
ConnAccount.port.
Definition: connaccount.h:83
@ ED_NNTP
Nntp ED_NTP_ ExpandoDataNntp.
Definition: domain.h:49
static long nntp_port(const struct ExpandoNode *node, void *data, MuttFormatFlags flags)
Newsrc: Port - Implements get_number_t -.
static long nntp_port_if_num(const struct ExpandoNode *node, void *data, MuttFormatFlags flags)
Newsrc: Port if specified - Implements get_number_t -.
static void nntp_account(const struct ExpandoNode *node, void *data, MuttFormatFlags flags, struct Buffer *buf)
Newsrc: Account url - Implements get_string_t -.
static void nntp_port_if(const struct ExpandoNode *node, void *data, MuttFormatFlags flags, struct Buffer *buf)
Newsrc: Port if specified - Implements get_string_t -.
static void nntp_username(const struct ExpandoNode *node, void *data, MuttFormatFlags flags, struct Buffer *buf)
Newsrc: Username - Implements get_string_t -.
static void nntp_server(const struct ExpandoNode *node, void *data, MuttFormatFlags flags, struct Buffer *buf)
Newsrc: News server name - Implements get_string_t -.
static void nntp_schema(const struct ExpandoNode *node, void *data, MuttFormatFlags flags, struct Buffer *buf)
Newsrc: Url schema - Implements get_string_t -.

Callbacks for Newsrc Expandos.

See also
NntpFormatDef, ExpandoDataNntp

Definition at line 162 of file expando_newsrc.c.