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

Ncrypt Expando definitions. More...

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

Go to the source code of this file.

Functions

static void pgp_command_file_message (const struct ExpandoNode *node, void *data, MuttFormatFlags flags, struct Buffer *buf)
 PGP Command: Filename of message - Implements get_string_t -.
 
static void pgp_command_file_signature (const struct ExpandoNode *node, void *data, MuttFormatFlags flags, struct Buffer *buf)
 PGP Command: Filename of signature - Implements get_string_t -.
 
static void pgp_command_key_ids (const struct ExpandoNode *node, void *data, MuttFormatFlags flags, struct Buffer *buf)
 PGP Command: key IDs - Implements get_string_t -.
 
static void pgp_command_need_pass (const struct ExpandoNode *node, void *data, MuttFormatFlags flags, struct Buffer *buf)
 PGP Command: PGPPASSFD=0 if passphrase is needed - Implements get_string_t -.
 
static void pgp_command_sign_as (const struct ExpandoNode *node, void *data, MuttFormatFlags flags, struct Buffer *buf)
 PGP Command: $pgp_sign_as or $pgp_default_key - Implements get_string_t -.
 

Variables

const struct ExpandoRenderCallback PgpCommandRenderCallbacks []
 Callbacks for PGP Command Expandos.
 

Detailed Description

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

Variable Documentation

◆ PgpCommandRenderCallbacks

const struct ExpandoRenderCallback PgpCommandRenderCallbacks[]
Initial value:
= {
{ -1, -1, NULL, NULL },
}
@ ED_PGP_CMD
Pgp Command ED_PGC_ ExpandoDataPgpCmd.
Definition: domain.h:52
static void pgp_command_file_message(const struct ExpandoNode *node, void *data, MuttFormatFlags flags, struct Buffer *buf)
PGP Command: Filename of message - Implements get_string_t -.
static void pgp_command_need_pass(const struct ExpandoNode *node, void *data, MuttFormatFlags flags, struct Buffer *buf)
PGP Command: PGPPASSFD=0 if passphrase is needed - Implements get_string_t -.
static void pgp_command_file_signature(const struct ExpandoNode *node, void *data, MuttFormatFlags flags, struct Buffer *buf)
PGP Command: Filename of signature - Implements get_string_t -.
static void pgp_command_sign_as(const struct ExpandoNode *node, void *data, MuttFormatFlags flags, struct Buffer *buf)
PGP Command: $pgp_sign_as or $pgp_default_key - Implements get_string_t -.
static void pgp_command_key_ids(const struct ExpandoNode *node, void *data, MuttFormatFlags flags, struct Buffer *buf)
PGP Command: key IDs - Implements get_string_t -.
@ ED_PGC_KEY_IDS
PgpCommandContext.ids.
Definition: pgp.h:60
@ ED_PGC_FILE_SIGNATURE
PgpCommandContext.sig_fname.
Definition: pgp.h:59
@ ED_PGC_NEED_PASS
PgpCommandContext.need_passphrase.
Definition: pgp.h:61
@ ED_PGC_SIGN_AS
PgpCommandContext.signas.
Definition: pgp.h:62
@ ED_PGC_FILE_MESSAGE
PgpCommandContext.fname.
Definition: pgp.h:58

Callbacks for PGP Command Expandos.

See also
PgpCommandFormatDef, ExpandoDataPgpCmd

Definition at line 101 of file expando_command.c.