NeoMutt  2024-12-12-14-g7b49f7
Teaching an old dog new tricks
DOXYGEN
Loading...
Searching...
No Matches
config.c File Reference

Config used by libsend. More...

#include "config.h"
#include <stdbool.h>
#include <stddef.h>
#include <stdint.h>
#include <string.h>
#include "mutt/lib.h"
#include "config/lib.h"
#include "email/lib.h"
#include "expando/lib.h"
#include "smtp.h"
+ Include dependency graph for config.c:

Go to the source code of this file.

Functions

static int wrapheaders_validator (const struct ConfigSet *cs, const struct ConfigDef *cdef, intptr_t value, struct Buffer *err)
 Validate the "wrap_headers" config variable - Implements ConfigDef::validator() -.
 
static int smtp_auth_validator (const struct ConfigSet *cs, const struct ConfigDef *cdef, intptr_t value, struct Buffer *err)
 Validate the "smtp_authenticators" config variable - Implements ConfigDef::validator() -.
 
static int simple_command_validator (const struct ConfigSet *cs, const struct ConfigDef *cdef, intptr_t value, struct Buffer *err)
 Validate the "sendmail" config variable - Implements ConfigDef::validator() -.
 
bool config_init_send (struct ConfigSet *cs)
 Register send config variables - Implements module_init_config_t -.
 

Variables

const struct ExpandoDefinition IndexFormatDef []
 Expando definitions.
 
static const struct ExpandoDefinition *const IndexFormatDefNoPadding = &(IndexFormatDef[3])
 IndexFormatDefNoPadding - Index format definitions, without padding or arrow.
 
const struct ExpandoDefinition NntpFormatDef []
 Expando definitions.
 
static const struct ExpandoDefinition GreetingFormatDef []
 Expando definitions.
 
static struct ConfigDef SendVars []
 Config definitions for the send library.
 

Detailed Description

Config used by libsend.

Authors
  • Yousef Akbar
  • Richard Russon
  • raf
  • Whitney Cumber
  • наб
  • 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 config.c.

Variable Documentation

◆ IndexFormatDef

const struct ExpandoDefinition IndexFormatDef[]
extern

Expando definitions.

Config:

  • $attribution_intro
  • $attribution_trailer
  • $forward_attribution_intro
  • $forward_attribution_trailer
  • $forward_format
  • $index_format
  • $message_format
  • $pager_format
Note
Longer Expandos must precede any similar, but shorter Expandos

Definition at line 314 of file mutt_config.c.

◆ IndexFormatDefNoPadding

const struct ExpandoDefinition* const IndexFormatDefNoPadding = &(IndexFormatDef[3])
static

IndexFormatDefNoPadding - Index format definitions, without padding or arrow.

Definition at line 51 of file config.c.

◆ NntpFormatDef

const struct ExpandoDefinition NntpFormatDef[]
extern

Expando definitions.

Config:

  • $inews
  • $newsrc

Definition at line 44 of file config.c.

◆ GreetingFormatDef

const struct ExpandoDefinition GreetingFormatDef[]
static
Initial value:
= {
{ "n", "real-name", ED_ENVELOPE, ED_ENV_REAL_NAME, NULL },
{ "u", "user-name", ED_ENVELOPE, ED_ENV_USER_NAME, NULL },
{ "v", "first-name", ED_ENVELOPE, ED_ENV_FIRST_NAME, NULL },
{ NULL, NULL, 0, -1, NULL }
}
@ ED_ENVELOPE
Envelope ED_ENV_ ExpandoDataEnvelope.
Definition: domain.h:42
@ ED_ENV_REAL_NAME
Envelope.to (first)
Definition: envelope.h:111
@ ED_ENV_USER_NAME
Envelope.to (first)
Definition: envelope.h:122
@ ED_ENV_FIRST_NAME
Envelope.from, Envelope.to, Envelope.cc.
Definition: envelope.h:101

Expando definitions.

Config:

  • $greeting

Definition at line 125 of file config.c.

◆ SendVars

struct ConfigDef SendVars[]
static

Config definitions for the send library.

Definition at line 137 of file config.c.