NeoMutt  2025-12-11-949-g4870ee
Teaching an old dog new tricks
DOXYGEN
Loading...
Searching...
No Matches
functions_smime.c File Reference

Smime functions. More...

#include "config.h"
#include <stdbool.h>
#include <stdio.h>
#include "mutt/lib.h"
#include "config/lib.h"
#include "core/lib.h"
#include "gui/lib.h"
#include "key/lib.h"
#include "menu/lib.h"
#include "question/lib.h"
#include "mutt_logging.h"
#include "smime.h"
#include "smime_functions.h"
+ Include dependency graph for functions_smime.c:

Go to the source code of this file.

Functions

static int op_quit (struct SmimeData *sd, const struct KeyEvent *event)
 Save changes and exit this dialog - Implements smime_function_t -.
 
static int op_generic_select_entry (struct SmimeData *sd, const struct KeyEvent *event)
 Select the current entry - Implements smime_function_t -.
 
int smime_function_dispatcher (struct MuttWindow *win, const struct KeyEvent *event)
 Perform a Smime function - Implements function_dispatcher_t -.
 

Variables

static const struct SmimeFunction SmimeFunctions []
 All the NeoMutt functions that the Smime supports.
 

Detailed Description

Smime functions.

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 functions_smime.c.

Variable Documentation

◆ SmimeFunctions

const struct SmimeFunction SmimeFunctions[]
static
Initial value:
= {
{ OP_EXIT, op_quit },
{ OP_GENERIC_SELECT_ENTRY, op_generic_select_entry },
{ OP_QUIT, op_quit },
{ 0, NULL },
}
static int op_quit(struct AliasFunctionData *fdata, const struct KeyEvent *event)
Save changes and exit this dialog - Implements alias_function_t -.
Definition functions.c:308
static int op_generic_select_entry(struct AliasFunctionData *fdata, const struct KeyEvent *event)
select the current entry - Implements alias_function_t -
Definition functions.c:388

All the NeoMutt functions that the Smime supports.

Definition at line 100 of file functions_smime.c.

100 {
101 // clang-format off
102 { OP_EXIT, op_quit },
103 { OP_GENERIC_SELECT_ENTRY, op_generic_select_entry },
104 { OP_QUIT, op_quit },
105 { 0, NULL },
106 // clang-format on
107};