NeoMutt  2020-08-07-1-gab41a1
Teaching an old dog new tricks
DOXYGEN
crypt.h
Go to the documentation of this file.
1 
24 #ifndef MUTT_NCRYPT_CRYPT_H
25 #define MUTT_NCRYPT_CRYPT_H
26 
27 #include <stdbool.h>
28 
29 struct Body;
30 struct State;
31 
32 void crypt_convert_to_7bit(struct Body *a);
33 void crypt_current_time(struct State *s, const char *app_name);
34 const char *crypt_get_fingerprint_or_id(const char *p, const char **pphint, const char **ppl, const char **pps);
35 bool crypt_is_numerical_keyid(const char *s);
36 int crypt_write_signed(struct Body *a, struct State *s, const char *tempfile);
37 
38 #endif /* MUTT_NCRYPT_CRYPT_H */
const char * crypt_get_fingerprint_or_id(const char *p, const char **pphint, const char **ppl, const char **pps)
Get the fingerprint or long key ID.
Definition: crypt.c:1258
void crypt_current_time(struct State *s, const char *app_name)
Print the current time.
Definition: crypt.c:71
The body of an email.
Definition: body.h:34
int crypt_write_signed(struct Body *a, struct State *s, const char *tempfile)
Write the message body/part.
Definition: crypt.c:757
void crypt_convert_to_7bit(struct Body *a)
Convert an email to 7bit encoding.
Definition: crypt.c:801
Keep track when processing files.
Definition: state.h:44
bool crypt_is_numerical_keyid(const char *s)
Is this a numerical keyid.
Definition: crypt.c:1347