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

Pgp functions. More...

#include "config.h"
#include <stdio.h>
#include <sys/types.h>
#include <unistd.h>
#include "mutt/lib.h"
#include "config/lib.h"
#include "core/lib.h"
#include "gui/lib.h"
#include "pgp_functions.h"
#include "lib.h"
#include "menu/lib.h"
#include "pager/lib.h"
#include "question/lib.h"
#include "globals.h"
#include "mutt_logging.h"
#include "pgp.h"
#include "pgpinvoke.h"
#include "pgpkey.h"
#include "pgplib.h"
+ Include dependency graph for pgp_functions.c:

Go to the source code of this file.

Functions

static int op_exit (struct PgpData *pd, int op)
 Exit this menu - Implements pgp_function_t -.
 
static int op_generic_select_entry (struct PgpData *pd, int op)
 Select the current entry - Implements pgp_function_t -.
 
static int op_verify_key (struct PgpData *pd, int op)
 Verify a PGP public key - Implements pgp_function_t -.
 
static int op_view_id (struct PgpData *pd, int op)
 View the key's user id - Implements pgp_function_t -.
 
int pgp_function_dispatcher (struct MuttWindow *win, int op)
 Perform a Pgp function - Implements function_dispatcher_t -.
 

Variables

static const struct PgpFunction PgpFunctions []
 All the NeoMutt functions that the Pgp supports.
 

Detailed Description

Pgp 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 pgp_functions.c.

Variable Documentation

◆ PgpFunctions

const struct PgpFunction PgpFunctions[]
static
Initial value:
= {
{ OP_EXIT, op_exit },
{ OP_GENERIC_SELECT_ENTRY, op_generic_select_entry },
{ OP_VERIFY_KEY, op_verify_key },
{ OP_VIEW_ID, op_view_id },
{ 0, NULL },
}
static int op_verify_key(struct PgpData *pd, int op)
Verify a PGP public key - Implements pgp_function_t -.
static int op_exit(struct PgpData *pd, int op)
Exit this menu - Implements pgp_function_t -.
Definition: pgp_functions.c:52
static int op_view_id(struct PgpData *pd, int op)
View the key's user id - Implements pgp_function_t -.
static int op_generic_select_entry(struct PgpData *pd, int op)
Select the current entry - Implements pgp_function_t -.
Definition: pgp_functions.c:61

All the NeoMutt functions that the Pgp supports.

Definition at line 208 of file pgp_functions.c.