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

Ncrypt Expando definitions. More...

#include <stdbool.h>
#include <stdio.h>
#include <sys/stat.h>
#include "mutt/lib.h"
#include "config/lib.h"
#include "core/lib.h"
#include "expando_smime.h"
#include "expando/lib.h"
#include "muttlib.h"
#include "smime.h"
+ Include dependency graph for expando_smime.c:

Go to the source code of this file.

Functions

static void smime_command_algorithm (const struct ExpandoNode *node, void *data, MuttFormatFlags flags, struct Buffer *buf)
 Smime Command: algorithm - Implements get_string_t -.
 
static void smime_command_certificate_ids (const struct ExpandoNode *node, void *data, MuttFormatFlags flags, struct Buffer *buf)
 Smime Command: certificate IDs - Implements get_string_t -.
 
static void smime_command_certificate_path (const struct ExpandoNode *node, void *data, MuttFormatFlags flags, struct Buffer *buf)
 Smime Command: CA location - Implements get_string_t -.
 
static void smime_command_digest_algorithm (const struct ExpandoNode *node, void *data, MuttFormatFlags flags, struct Buffer *buf)
 Smime Command: Message digest algorithm - Implements get_string_t -.
 
static void smime_command_intermediate_ids (const struct ExpandoNode *node, void *data, MuttFormatFlags flags, struct Buffer *buf)
 Smime Command: Intermediate certificates - Implements get_string_t -.
 
static void smime_command_key (const struct ExpandoNode *node, void *data, MuttFormatFlags flags, struct Buffer *buf)
 Smime Command: Key-pair - Implements get_string_t -.
 
static void smime_command_message_file (const struct ExpandoNode *node, void *data, MuttFormatFlags flags, struct Buffer *buf)
 Smime Command: Filename of message - Implements get_string_t -.
 
static void smime_command_signature_file (const struct ExpandoNode *node, void *data, MuttFormatFlags flags, struct Buffer *buf)
 Smime Command: Filename of signature - Implements get_string_t -.
 

Variables

const struct ExpandoRenderCallback SmimeCommandRenderCallbacks []
 Callbacks for Smime 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_smime.c.

Variable Documentation

◆ SmimeCommandRenderCallbacks

const struct ExpandoRenderCallback SmimeCommandRenderCallbacks[]
Initial value:
= {
{ -1, -1, NULL, NULL },
}
@ ED_SMIME_CMD
Smime Command ED_SMI_ ExpandoDataSmimeCmd.
Definition: domain.h:55
static void smime_command_message_file(const struct ExpandoNode *node, void *data, MuttFormatFlags flags, struct Buffer *buf)
Smime Command: Filename of message - Implements get_string_t -.
static void smime_command_signature_file(const struct ExpandoNode *node, void *data, MuttFormatFlags flags, struct Buffer *buf)
Smime Command: Filename of signature - Implements get_string_t -.
static void smime_command_certificate_ids(const struct ExpandoNode *node, void *data, MuttFormatFlags flags, struct Buffer *buf)
Smime Command: certificate IDs - Implements get_string_t -.
Definition: expando_smime.c:55
static void smime_command_key(const struct ExpandoNode *node, void *data, MuttFormatFlags flags, struct Buffer *buf)
Smime Command: Key-pair - Implements get_string_t -.
static void smime_command_intermediate_ids(const struct ExpandoNode *node, void *data, MuttFormatFlags flags, struct Buffer *buf)
Smime Command: Intermediate certificates - Implements get_string_t -.
static void smime_command_digest_algorithm(const struct ExpandoNode *node, void *data, MuttFormatFlags flags, struct Buffer *buf)
Smime Command: Message digest algorithm - Implements get_string_t -.
static void smime_command_certificate_path(const struct ExpandoNode *node, void *data, MuttFormatFlags flags, struct Buffer *buf)
Smime Command: CA location - Implements get_string_t -.
Definition: expando_smime.c:67
static void smime_command_algorithm(const struct ExpandoNode *node, void *data, MuttFormatFlags flags, struct Buffer *buf)
Smime Command: algorithm - Implements get_string_t -.
Definition: expando_smime.c:43
@ ED_SMI_MESSAGE_FILE
SmimeCommandContext.fname.
Definition: smime.h:81
@ ED_SMI_ALGORITHM
SmimeCommandContext.cryptalg.
Definition: smime.h:75
@ ED_SMI_SIGNATURE_FILE
SmimeCommandContext.sig_fname.
Definition: smime.h:82
@ ED_SMI_DIGEST_ALGORITHM
SmimeCommandContext.digestalg.
Definition: smime.h:78
@ ED_SMI_CERTIFICATE_IDS
SmimeCommandContext.certificates.
Definition: smime.h:76
@ ED_SMI_KEY
SmimeCommandContext.key.
Definition: smime.h:80
@ ED_SMI_INTERMEDIATE_IDS
SmimeCommandContext.intermediates.
Definition: smime.h:79
@ ED_SMI_CERTIFICATE_PATH
Path of Smime certificates.
Definition: smime.h:77

Callbacks for Smime Command Expandos.

See also
SmimeCommandFormatDef, ExpandoDataGlobal, ExpandoDataSmimeCmd

Definition at line 162 of file expando_smime.c.