NeoMutt  2019-12-07-60-g0cfa53
Teaching an old dog new tricks
DOXYGEN
pgppacket.h
Go to the documentation of this file.
1 
23 /* Definitions for a rudimentary PGP packet parser which is shared by neomutt
24  * proper and the PGP public key ring lister.
25  */
26 
27 #ifndef MUTT_NCRYPT_PGPPACKET_H
28 #define MUTT_NCRYPT_PGPPACKET_H
29 
30 #include <stdio.h>
31 
36 {
37  PT_RES0 = 0,
54 };
55 
56 unsigned char *pgp_read_packet(FILE *fp, size_t *len);
57 void pgp_release_packet(void);
58 
59 #endif /* MUTT_NCRYPT_PGPPACKET_H */
void pgp_release_packet(void)
Free the cached PGP packet.
Definition: pgppacket.c:239
Marker Packet.
Definition: pgppacket.h:47
Secret Key Packet.
Definition: pgppacket.h:42
Literal Data Packet.
Definition: pgppacket.h:48
Conventionally Encrypted Session Key Packet.
Definition: pgppacket.h:40
Reserved.
Definition: pgppacket.h:52
Signature Packet.
Definition: pgppacket.h:39
Compressed Data Packet.
Definition: pgppacket.h:45
Encrypted Session Key.
Definition: pgppacket.h:38
unsigned char * pgp_read_packet(FILE *fp, size_t *len)
Read a PGP packet from a file.
Definition: pgppacket.c:84
PacketTags
PGP packet types.
Definition: pgppacket.h:35
Subkey Packet.
Definition: pgppacket.h:51
One-Pass Signature Packet.
Definition: pgppacket.h:41
Name Packet.
Definition: pgppacket.h:50
Public Key Packet.
Definition: pgppacket.h:43
Secret Subkey Packet.
Definition: pgppacket.h:44
Comment Packet.
Definition: pgppacket.h:53
Symmetrically Encrypted Data Packet.
Definition: pgppacket.h:46
Trust Packet.
Definition: pgppacket.h:49
reserved
Definition: pgppacket.h:37