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

Compress Expando definitions. More...

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

Go to the source code of this file.

Functions

static void compress_from (const struct ExpandoNode *node, void *data, MuttFormatFlags flags, struct Buffer *buf)
 Compress: From filename - Implements get_string_t -.
 
static void compress_to (const struct ExpandoNode *node, void *data, MuttFormatFlags flags, struct Buffer *buf)
 Compress: To filename - Implements get_string_t -.
 

Variables

const struct ExpandoRenderCallback CompressRenderCallbacks []
 Callbacks for Compression Hook Expandos.
 

Detailed Description

Compress 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

◆ CompressRenderCallbacks

const struct ExpandoRenderCallback CompressRenderCallbacks[]
Initial value:
= {
{ -1, -1, NULL, NULL },
}
@ ED_CMP_FROM
'from' path
Definition: lib.h:50
@ ED_CMP_TO
'to' path
Definition: lib.h:51
@ ED_COMPRESS
Compress ED_CMP_ ExpandoDataCompress.
Definition: domain.h:40
static void compress_from(const struct ExpandoNode *node, void *data, MuttFormatFlags flags, struct Buffer *buf)
Compress: From filename - Implements get_string_t -.
Definition: expando.c:40
static void compress_to(const struct ExpandoNode *node, void *data, MuttFormatFlags flags, struct Buffer *buf)
Compress: To filename - Implements get_string_t -.
Definition: expando.c:54

Callbacks for Compression Hook Expandos.

See also
CompressFormatDef, ExpandoDataCompress

Definition at line 70 of file expando.c.