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

Alias Expando definitions. More...

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

Go to the source code of this file.

Functions

static void alias_address (const struct ExpandoNode *node, void *data, MuttFormatFlags flags, struct Buffer *buf)
 Alias: Full Address - Implements get_string_t -.
 
static void alias_alias (const struct ExpandoNode *node, void *data, MuttFormatFlags flags, struct Buffer *buf)
 Alias: Alias name - Implements get_string_t -.
 
static void alias_comment (const struct ExpandoNode *node, void *data, MuttFormatFlags flags, struct Buffer *buf)
 Alias: Comment - Implements get_string_t -.
 
static void alias_email (const struct ExpandoNode *node, void *data, MuttFormatFlags flags, struct Buffer *buf)
 Alias: Email Address - Implements get_string_t -.
 
static void alias_name (const struct ExpandoNode *node, void *data, MuttFormatFlags flags, struct Buffer *buf)
 Alias: Personal Name - Implements get_string_t -.
 
static void alias_tags (const struct ExpandoNode *node, void *data, MuttFormatFlags flags, struct Buffer *buf)
 Alias: Tags - Implements get_string_t -.
 
static void alias_view_flags (const struct ExpandoNode *node, void *data, MuttFormatFlags flags, struct Buffer *buf)
 AliasView: Flags - Implements get_string_t -.
 
static long alias_view_flags_num (const struct ExpandoNode *node, void *data, MuttFormatFlags flags)
 AliasView: Flags - Implements get_number_t -.
 
static long alias_view_index_num (const struct ExpandoNode *node, void *data, MuttFormatFlags flags)
 AliasView: Index number - Implements get_number_t -.
 
static void alias_view_tagged (const struct ExpandoNode *node, void *data, MuttFormatFlags flags, struct Buffer *buf)
 AliasView: Tagged char - Implements get_string_t -.
 
static long alias_view_tagged_num (const struct ExpandoNode *node, void *data, MuttFormatFlags flags)
 AliasView: Tagged char - Implements get_number_t -.
 

Variables

const struct ExpandoRenderCallback AliasRenderCallbacks []
 Callbacks for Alias Expandos.
 
const struct ExpandoRenderCallback QueryRenderCallbacks []
 Callbacks for Query Expandos.
 

Detailed Description

Alias 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

◆ AliasRenderCallbacks

const struct ExpandoRenderCallback AliasRenderCallbacks[]
Initial value:
= {
{ -1, -1, NULL, NULL },
}
@ ED_ALI_FLAGS
Alias.flags.
Definition: expando.h:39
@ ED_ALI_EMAIL
Alias.addr.mailbox.
Definition: expando.h:38
@ ED_ALI_NUMBER
AliasView.num.
Definition: expando.h:41
@ ED_ALI_NAME
Alias.addr.personal.
Definition: expando.h:40
@ ED_ALI_ALIAS
Alias.name.
Definition: expando.h:36
@ ED_ALI_ADDRESS
Alias.addr.
Definition: expando.h:35
@ ED_ALI_COMMENT
Alias.comment.
Definition: expando.h:37
@ ED_ALI_TAGGED
AliasView.tagged.
Definition: expando.h:42
@ ED_ALI_TAGS
Alias.tags.
Definition: expando.h:43
@ ED_ALIAS
Alias ED_ALI_ ExpandoDataAlias.
Definition: domain.h:35
static long alias_view_index_num(const struct ExpandoNode *node, void *data, MuttFormatFlags flags)
AliasView: Index number - Implements get_number_t -.
Definition: expando.c:153
static long alias_view_tagged_num(const struct ExpandoNode *node, void *data, MuttFormatFlags flags)
AliasView: Tagged char - Implements get_number_t -.
Definition: expando.c:176
static long alias_view_flags_num(const struct ExpandoNode *node, void *data, MuttFormatFlags flags)
AliasView: Flags - Implements get_number_t -.
Definition: expando.c:144
static void alias_email(const struct ExpandoNode *node, void *data, MuttFormatFlags flags, struct Buffer *buf)
Alias: Email Address - Implements get_string_t -.
Definition: expando.c:80
static void alias_comment(const struct ExpandoNode *node, void *data, MuttFormatFlags flags, struct Buffer *buf)
Alias: Comment - Implements get_string_t -.
Definition: expando.c:67
static void alias_tags(const struct ExpandoNode *node, void *data, MuttFormatFlags flags, struct Buffer *buf)
Alias: Tags - Implements get_string_t -.
Definition: expando.c:120
static void alias_name(const struct ExpandoNode *node, void *data, MuttFormatFlags flags, struct Buffer *buf)
Alias: Personal Name - Implements get_string_t -.
Definition: expando.c:100
static void alias_address(const struct ExpandoNode *node, void *data, MuttFormatFlags flags, struct Buffer *buf)
Alias: Full Address - Implements get_string_t -.
Definition: expando.c:42
static void alias_alias(const struct ExpandoNode *node, void *data, MuttFormatFlags flags, struct Buffer *buf)
Alias: Alias name - Implements get_string_t -.
Definition: expando.c:54
static void alias_view_tagged(const struct ExpandoNode *node, void *data, MuttFormatFlags flags, struct Buffer *buf)
AliasView: Tagged char - Implements get_string_t -.
Definition: expando.c:163
static void alias_view_flags(const struct ExpandoNode *node, void *data, MuttFormatFlags flags, struct Buffer *buf)
AliasView: Flags - Implements get_string_t -.
Definition: expando.c:131

Callbacks for Alias Expandos.

See also
AliasFormatDef, ExpandoDataAlias

Definition at line 187 of file expando.c.

◆ QueryRenderCallbacks

const struct ExpandoRenderCallback QueryRenderCallbacks[]
Initial value:

Callbacks for Query Expandos.

See also
QueryFormatDef, ExpandoDataAlias

Definition at line 207 of file expando.c.