NeoMutt  2022-04-29-145-g9b6a0e
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 */
void crypt_current_time(struct State *s, const char *app_name)
Print the current time.
Definition: crypt.c:70
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:1263
bool crypt_is_numerical_keyid(const char *s)
Is this a numerical keyid.
Definition: crypt.c:1352
int crypt_write_signed(struct Body *a, struct State *s, const char *tempfile)
Write the message body/part.
Definition: crypt.c:747
void crypt_convert_to_7bit(struct Body *a)
Convert an email to 7bit encoding.
Definition: crypt.c:795
The body of an email.
Definition: body.h:36
Keep track when processing files.
Definition: state.h:46