Ncrypt Expando definitions. More...
#include <stdbool.h>
#include <stdio.h>
#include "private.h"
#include "mutt/lib.h"
#include "core/lib.h"
#include "expando_pgp.h"
#include "lib.h"
#include "expando/lib.h"
#include "pgp.h"
#include "pgpkey.h"
#include "pgplib.h"
Go to the source code of this file.
Functions | |
static char | pgp_flags (KeyFlags flags) |
Turn PGP key flags into a string. | |
static void | pgp_entry_ignore (const struct ExpandoNode *node, void *data, MuttFormatFlags flags, struct Buffer *buf) |
PGP: Field not supported - Implements get_string_t -. | |
static long | pgp_entry_number_num (const struct ExpandoNode *node, void *data, MuttFormatFlags flags) |
PGP: Index number - Implements get_number_t -. | |
static void | pgp_entry_trust (const struct ExpandoNode *node, void *data, MuttFormatFlags flags, struct Buffer *buf) |
PGP: Trust/validity - Implements get_string_t -. | |
static void | pgp_entry_user_id (const struct ExpandoNode *node, void *data, MuttFormatFlags flags, struct Buffer *buf) |
PGP: User id - Implements get_string_t -. | |
static char * | pgp_key_abilities (KeyFlags flags) |
Turn PGP key abilities into a string. | |
static void | pgp_key_algorithm (const struct ExpandoNode *node, void *data, MuttFormatFlags flags, struct Buffer *buf) |
PGP: Key Algorithm - Implements get_string_t -. | |
static void | pgp_key_capabilities (const struct ExpandoNode *node, void *data, MuttFormatFlags flags, struct Buffer *buf) |
PGP: Key Capabilities - Implements get_string_t -. | |
static void | pgp_key_date (const struct ExpandoNode *node, void *data, MuttFormatFlags flags, struct Buffer *buf) |
PGP: Date of the key - Implements get_string_t -. | |
static long | pgp_key_date_num (const struct ExpandoNode *node, void *data, MuttFormatFlags flags) |
PGP: Date of the key - Implements get_number_t -. | |
static void | pgp_key_flags (const struct ExpandoNode *node, void *data, MuttFormatFlags flags, struct Buffer *buf) |
PGP: Key Flags - Implements get_string_t -. | |
static void | pgp_key_id (const struct ExpandoNode *node, void *data, MuttFormatFlags flags, struct Buffer *buf) |
PGP: Key id - Implements get_string_t -. | |
static long | pgp_key_length_num (const struct ExpandoNode *node, void *data, MuttFormatFlags flags) |
PGP: Key length - Implements get_number_t -. | |
static void | pgp_pkey_algorithm (const struct ExpandoNode *node, void *data, MuttFormatFlags flags, struct Buffer *buf) |
PGP: Principal Key Algorithm - Implements get_string_t -. | |
static void | pgp_pkey_capabilities (const struct ExpandoNode *node, void *data, MuttFormatFlags flags, struct Buffer *buf) |
PGP: Principal Key Capabilities - Implements get_string_t -. | |
static void | pgp_pkey_flags (const struct ExpandoNode *node, void *data, MuttFormatFlags flags, struct Buffer *buf) |
PGP: Principal Key Flags - Implements get_string_t -. | |
static void | pgp_pkey_id (const struct ExpandoNode *node, void *data, MuttFormatFlags flags, struct Buffer *buf) |
PGP: Principal Key id - Implements get_string_t -. | |
static long | pgp_pkey_length_num (const struct ExpandoNode *node, void *data, MuttFormatFlags flags) |
PGP: Principal Key length - Implements get_number_t -. | |
Variables | |
static const char | TrustFlags [] = "?- +" |
Characters used to show the trust level for PGP keys. | |
const struct ExpandoRenderCallback | PgpEntryRenderCallbacks [] |
PgpEntryRenderCallbacks- Callbacks for PGP Key Expandos. | |
Ncrypt Expando definitions.
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_pgp.c.
|
static |
Turn PGP key flags into a string.
flags | Flags, see KeyFlags |
char | Flag character |
Definition at line 49 of file expando_pgp.c.
|
static |
Turn PGP key abilities into a string.
flags | Flags, see KeyFlags |
ptr | Abilities string |
Definition at line 112 of file expando_pgp.c.
|
static |
Characters used to show the trust level for PGP keys.
Definition at line 42 of file expando_pgp.c.
const struct ExpandoRenderCallback PgpEntryRenderCallbacks[] |
PgpEntryRenderCallbacks- Callbacks for PGP Key Expandos.
Definition at line 331 of file expando_pgp.c.