NeoMutt  2025-09-05-43-g177ed6
Teaching an old dog new tricks
DOXYGEN
Loading...
Searching...
No Matches
expando.h File Reference

Compose Expando definitions. More...

#include "expando/lib.h"
+ Include dependency graph for expando.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Variables

const struct ExpandoRenderCallback ComposeRenderCallbacks []
 Callbacks for Compose Expandos.
 

Detailed Description

Compose 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.h.

Variable Documentation

◆ ComposeRenderCallbacks

const struct ExpandoRenderCallback ComposeRenderCallbacks[]
extern

Callbacks for Compose Expandos.

See also
ComposeFormatDef, ExpandoDataCompose, ExpandoDataGlobal

Definition at line 103 of file expando.c.

103 {
104 // clang-format off
109 { -1, -1, NULL, NULL },
110 // clang-format on
111};
@ ED_COM_ATTACH_COUNT
ComposeAttachData, num_attachments()
Definition shared_data.h:58
@ ED_COM_ATTACH_SIZE
ComposeAttachData, cum_attachs_size()
Definition shared_data.h:59
@ ED_COMPOSE
Compose ED_COM_ ExpandoDataCompose.
Definition domain.h:39
@ ED_GLOBAL
Global ED_GLO_ ExpandoDataGlobal.
Definition domain.h:44
static long compose_attach_count_num(const struct ExpandoNode *node, void *data, MuttFormatFlags flags)
Compose: Number of attachments - Implements get_number_t -.
Definition expando.c:45
static long compose_attach_size_num(const struct ExpandoNode *node, void *data, MuttFormatFlags flags)
Compose: Size in bytes - Implements get_number_t -.
Definition expando.c:71
static void compose_attach_size(const struct ExpandoNode *node, void *data, MuttFormatFlags flags, struct Buffer *buf)
Compose: Size in bytes - Implements get_string_t -.
Definition expando.c:60
static void global_hostname(const struct ExpandoNode *node, void *data, MuttFormatFlags flags, struct Buffer *buf)
Compose: Hostname - Implements get_string_t -.
Definition expando.c:81
static void global_version(const struct ExpandoNode *node, void *data, MuttFormatFlags flags, struct Buffer *buf)
Compose: Version - Implements get_string_t -.
Definition expando.c:91
@ ED_GLO_VERSION
NeoMutt version.
Definition uid.h:42
@ ED_GLO_HOSTNAME
Local hostname.
Definition uid.h:37