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

Greeting Expando definitions. More...

#include <stdbool.h>
#include <stdio.h>
#include <string.h>
#include "mutt/lib.h"
#include "address/lib.h"
#include "email/lib.h"
#include "expando.h"
#include "expando/lib.h"
+ Include dependency graph for expando.c:

Go to the source code of this file.

Functions

static void greeting_real_name (const struct ExpandoNode *node, void *data, MuttFormatFlags flags, struct Buffer *buf)
 Greeting: Real name - Implements get_string_t -.
 
static void greeting_login_name (const struct ExpandoNode *node, void *data, MuttFormatFlags flags, struct Buffer *buf)
 Greeting: Login name - Implements get_string_t -.
 
static void greeting_first_name (const struct ExpandoNode *node, void *data, MuttFormatFlags flags, struct Buffer *buf)
 Greeting: First name - Implements get_string_t -.
 

Variables

const struct ExpandoRenderCallback GreetingRenderCallbacks []
 Callbacks for Greeting Expandos.
 

Detailed Description

Greeting Expando definitions.

Authors
  • Richard Russon

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.c.

Variable Documentation

◆ GreetingRenderCallbacks

const struct ExpandoRenderCallback GreetingRenderCallbacks[]
Initial value:
= {
{ -1, -1, NULL, 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
static void greeting_login_name(const struct ExpandoNode *node, void *data, MuttFormatFlags flags, struct Buffer *buf)
Greeting: Login name - Implements get_string_t -.
Definition: expando.c:54
static void greeting_real_name(const struct ExpandoNode *node, void *data, MuttFormatFlags flags, struct Buffer *buf)
Greeting: Real name - Implements get_string_t -.
Definition: expando.c:41
static void greeting_first_name(const struct ExpandoNode *node, void *data, MuttFormatFlags flags, struct Buffer *buf)
Greeting: First name - Implements get_string_t -.
Definition: expando.c:78

Callbacks for Greeting Expandos.

See also
GreetingFormatDef, ExpandoDataEnvelope

Definition at line 110 of file expando.c.