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

Attach Expando definitions. More...

#include <stdbool.h>
#include <stdio.h>
#include "mutt/lib.h"
#include "email/lib.h"
#include "core/lib.h"
#include "expando.h"
#include "lib.h"
#include "color/lib.h"
#include "expando/lib.h"
#include "index/lib.h"
#include "attach.h"
#include "muttlib.h"
+ Include dependency graph for expando.c:

Go to the source code of this file.

Functions

static void body_file_disposition (const struct ExpandoNode *node, void *data, MuttFormatFlags flags, struct Buffer *buf)
 Body: Filename in header - Implements get_string_t -.
 
static void attach_charset (const struct ExpandoNode *node, void *data, MuttFormatFlags flags, struct Buffer *buf)
 Attachment: Charset - Implements get_string_t -.
 
static long attach_number_num (const struct ExpandoNode *node, void *data, MuttFormatFlags flags)
 Attachment: Index number - Implements get_number_t -.
 
static void attach_tree (const struct ExpandoNode *node, void *data, MuttFormatFlags flags, struct Buffer *buf)
 Attachment: Tree characters - Implements get_string_t -.
 
static long body_attach_count_num (const struct ExpandoNode *node, void *data, MuttFormatFlags flags)
 Body: Number of MIME parts - Implements get_number_t -.
 
static void body_attach_qualifies (const struct ExpandoNode *node, void *data, MuttFormatFlags flags, struct Buffer *buf)
 Body: Attachment counting - Implements get_string_t -.
 
static long body_attach_qualifies_num (const struct ExpandoNode *node, void *data, MuttFormatFlags flags)
 Body: Attachment counting - Implements get_number_t -.
 
static void body_charset_convert (const struct ExpandoNode *node, void *data, MuttFormatFlags flags, struct Buffer *buf)
 Body: Requires conversion flag - Implements get_string_t -.
 
static void body_deleted (const struct ExpandoNode *node, void *data, MuttFormatFlags flags, struct Buffer *buf)
 Body: Deleted - Implements get_string_t -.
 
static long body_deleted_num (const struct ExpandoNode *node, void *data, MuttFormatFlags flags)
 Body: Deleted - Implements get_number_t -.
 
static void body_description (const struct ExpandoNode *node, void *data, MuttFormatFlags flags, struct Buffer *buf)
 Body: Description - Implements get_string_t -.
 
static void body_disposition (const struct ExpandoNode *node, void *data, MuttFormatFlags flags, struct Buffer *buf)
 Body: Disposition flag - Implements get_string_t -.
 
static void body_file (const struct ExpandoNode *node, void *data, MuttFormatFlags flags, struct Buffer *buf)
 Body: Filename - Implements get_string_t -.
 
static void body_file_size (const struct ExpandoNode *node, void *data, MuttFormatFlags flags, struct Buffer *buf)
 Body: Size - Implements get_string_t -.
 
static long body_file_size_num (const struct ExpandoNode *node, void *data, MuttFormatFlags flags)
 Body: Size - Implements get_number_t -.
 
static void body_mime_encoding (const struct ExpandoNode *node, void *data, MuttFormatFlags flags, struct Buffer *buf)
 Body: MIME type - Implements get_string_t -.
 
static void body_mime_major (const struct ExpandoNode *node, void *data, MuttFormatFlags flags, struct Buffer *buf)
 Body: Major MIME type - Implements get_string_t -.
 
static void body_mime_minor (const struct ExpandoNode *node, void *data, MuttFormatFlags flags, struct Buffer *buf)
 Body: MIME subtype - Implements get_string_t -.
 
static void body_tagged (const struct ExpandoNode *node, void *data, MuttFormatFlags flags, struct Buffer *buf)
 Body: Is Tagged - Implements get_string_t -.
 
static long body_tagged_num (const struct ExpandoNode *node, void *data, MuttFormatFlags flags)
 Body: Is Tagged - Implements get_number_t -.
 
static void body_unlink (const struct ExpandoNode *node, void *data, MuttFormatFlags flags, struct Buffer *buf)
 Body: Unlink flag - Implements get_string_t -.
 
static long body_unlink_num (const struct ExpandoNode *node, void *data, MuttFormatFlags flags)
 Body: Unlink flag - Implements get_number_t -.
 

Variables

const struct ExpandoRenderCallback AttachRenderCallbacks []
 Callbacks for Attachment Expandos.
 

Detailed Description

Attach 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

◆ AttachRenderCallbacks

const struct ExpandoRenderCallback AttachRenderCallbacks[]
Initial value:
= {
{ -1, -1, NULL, NULL },
}
@ ED_ATT_NUMBER
AttachPtr.num.
Definition: attach.h:55
@ ED_ATT_TREE
AttachPtr.tree.
Definition: attach.h:56
@ ED_ATT_CHARSET
AttachPtr.body.
Definition: attach.h:54
@ ED_BODY
Body ED_BOD_ ExpandoDataBody.
Definition: domain.h:38
@ ED_ATTACH
Attach ED_ATT_ ExpandoDataAttach.
Definition: domain.h:36
@ ED_BOD_DESCRIPTION
Body.description.
Definition: body.h:106
@ ED_BOD_CHARSET_CONVERT
Body.type.
Definition: body.h:104
@ ED_BOD_DELETED
Body.deleted.
Definition: body.h:105
@ ED_BOD_UNLINK
Body.unlink.
Definition: body.h:115
@ ED_BOD_FILE_SIZE
Body.filename.
Definition: body.h:110
@ ED_BOD_DISPOSITION
Body.disposition.
Definition: body.h:107
@ ED_BOD_ATTACH_QUALIFIES
Body.attach_qualifies.
Definition: body.h:103
@ ED_BOD_MIME_MAJOR
Body.type, Body.xtype.
Definition: body.h:112
@ ED_BOD_TAGGED
Body.tagged.
Definition: body.h:114
@ ED_BOD_ATTACH_COUNT
Body.attach_count.
Definition: body.h:102
@ ED_BOD_FILE
Body.filename.
Definition: body.h:108
@ ED_BOD_MIME_MINOR
Body.subtype.
Definition: body.h:113
@ ED_BOD_FILE_DISPOSITION
Body.d_filename.
Definition: body.h:109
@ ED_BOD_MIME_ENCODING
Body.encoding.
Definition: body.h:111
static long body_deleted_num(const struct ExpandoNode *node, void *data, MuttFormatFlags flags)
Body: Deleted - Implements get_number_t -.
Definition: expando.c:148
static long body_tagged_num(const struct ExpandoNode *node, void *data, MuttFormatFlags flags)
Body: Is Tagged - Implements get_number_t -.
Definition: expando.c:345
static long body_file_size_num(const struct ExpandoNode *node, void *data, MuttFormatFlags flags)
Body: Size - Implements get_number_t -.
Definition: expando.c:283
static long attach_number_num(const struct ExpandoNode *node, void *data, MuttFormatFlags flags)
Attachment: Index number - Implements get_number_t -.
Definition: expando.c:64
static long body_attach_count_num(const struct ExpandoNode *node, void *data, MuttFormatFlags flags)
Body: Number of MIME parts - Implements get_number_t -.
Definition: expando.c:88
static long body_unlink_num(const struct ExpandoNode *node, void *data, MuttFormatFlags flags)
Body: Unlink flag - Implements get_number_t -.
Definition: expando.c:367
static long body_attach_qualifies_num(const struct ExpandoNode *node, void *data, MuttFormatFlags flags)
Body: Attachment counting - Implements get_number_t -.
Definition: expando.c:112
static void body_deleted(const struct ExpandoNode *node, void *data, MuttFormatFlags flags, struct Buffer *buf)
Body: Deleted - Implements get_string_t -.
Definition: expando.c:135
static void body_file_size(const struct ExpandoNode *node, void *data, MuttFormatFlags flags, struct Buffer *buf)
Body: Size - Implements get_string_t -.
Definition: expando.c:259
static void body_tagged(const struct ExpandoNode *node, void *data, MuttFormatFlags flags, struct Buffer *buf)
Body: Is Tagged - Implements get_string_t -.
Definition: expando.c:332
static void body_disposition(const struct ExpandoNode *node, void *data, MuttFormatFlags flags, struct Buffer *buf)
Body: Disposition flag - Implements get_string_t -.
Definition: expando.c:192
static void body_charset_convert(const struct ExpandoNode *node, void *data, MuttFormatFlags flags, struct Buffer *buf)
Body: Requires conversion flag - Implements get_string_t -.
Definition: expando.c:122
static void attach_tree(const struct ExpandoNode *node, void *data, MuttFormatFlags flags, struct Buffer *buf)
Attachment: Tree characters - Implements get_string_t -.
Definition: expando.c:74
static void attach_charset(const struct ExpandoNode *node, void *data, MuttFormatFlags flags, struct Buffer *buf)
Attachment: Charset - Implements get_string_t -.
Definition: expando.c:48
static void body_mime_major(const struct ExpandoNode *node, void *data, MuttFormatFlags flags, struct Buffer *buf)
Body: Major MIME type - Implements get_string_t -.
Definition: expando.c:308
static void body_file_disposition(const struct ExpandoNode *node, void *data, MuttFormatFlags flags, struct Buffer *buf)
Body: Filename in header - Implements get_string_t -.
Definition: expando.c:241
static void body_description(const struct ExpandoNode *node, void *data, MuttFormatFlags flags, struct Buffer *buf)
Body: Description - Implements get_string_t -.
Definition: expando.c:157
static void body_mime_encoding(const struct ExpandoNode *node, void *data, MuttFormatFlags flags, struct Buffer *buf)
Body: MIME type - Implements get_string_t -.
Definition: expando.c:296
static void body_file(const struct ExpandoNode *node, void *data, MuttFormatFlags flags, struct Buffer *buf)
Body: Filename - Implements get_string_t -.
Definition: expando.c:217
static void body_mime_minor(const struct ExpandoNode *node, void *data, MuttFormatFlags flags, struct Buffer *buf)
Body: MIME subtype - Implements get_string_t -.
Definition: expando.c:320
static void body_unlink(const struct ExpandoNode *node, void *data, MuttFormatFlags flags, struct Buffer *buf)
Body: Unlink flag - Implements get_string_t -.
Definition: expando.c:354
static void body_attach_qualifies(const struct ExpandoNode *node, void *data, MuttFormatFlags flags, struct Buffer *buf)
Body: Attachment counting - Implements get_string_t -.
Definition: expando.c:99

Callbacks for Attachment Expandos.

See also
AttachFormatDef, ExpandoDataAttach, ExpandoDataBody, ExpandoDataGlobal

Definition at line 378 of file expando.c.