NeoMutt  2024-03-23-142-g2b2e76
Teaching an old dog new tricks
DOXYGEN
Loading...
Searching...
No Matches
chain_data.c
Go to the documentation of this file.
1
29#include "config.h"
30#include "mutt/lib.h"
31#include "chain_data.h"
32
38{
39 return mutt_mem_calloc(1, sizeof(struct ChainData));
40}
41
45void chain_data_free(struct MuttWindow *win, void **ptr)
46{
47 if (!ptr || !*ptr)
48 return;
49
50 FREE(ptr);
51}
struct ChainData * chain_data_new(void)
Create new Chain data.
Definition: chain_data.c:37
Mixmaster Chain Data.
void chain_data_free(struct MuttWindow *win, void **ptr)
Free the Chain data - Implements MuttWindow::wdata_free() -.
Definition: chain_data.c:45
void * mutt_mem_calloc(size_t nmemb, size_t size)
Allocate zeroed memory on the heap.
Definition: memory.c:50
#define FREE(x)
Definition: memory.h:45
Convenience wrapper for the library headers.
An ordered set of Remailer hosts.
Definition: chain_data.h:46