NeoMutt  2024-11-14-34-g5aaf0d
Teaching an old dog new tricks
DOXYGEN
Loading...
Searching...
No Matches
wdata.c
Go to the documentation of this file.
1
29#include "config.h"
30#include "mutt/lib.h"
31#include "wdata.h"
32#ifdef USE_AUTOCRYPT
33#include "autocrypt/lib.h"
34#endif
35
39void env_wdata_free(struct MuttWindow *win, void **ptr)
40{
41 if (!ptr || !*ptr)
42 return;
43
44 FREE(ptr);
45}
46
52{
53 struct EnvelopeWindowData *wdata = MUTT_MEM_CALLOC(1, struct EnvelopeWindowData);
54
55#ifdef USE_AUTOCRYPT
57#endif
58
59 return wdata;
60}
Autocrypt end-to-end encryption.
@ AUTOCRYPT_REC_OFF
No recommendations.
Definition: lib.h:161
struct EnvelopeWindowData * env_wdata_new(void)
Create new Envelope Data.
Definition: wdata.c:51
void env_wdata_free(struct MuttWindow *win, void **ptr)
Free the Envelope Data - Implements MuttWindow::wdata_free() -.
Definition: wdata.c:39
#define FREE(x)
Definition: memory.h:55
#define MUTT_MEM_CALLOC(n, type)
Definition: memory.h:40
Convenience wrapper for the library headers.
Progress Bar Window Data.
Data to fill the Envelope Window.
Definition: wdata.h:38
enum AutocryptRec autocrypt_rec
Autocrypt recommendation.
Definition: wdata.h:50