NeoMutt  2025-09-05-43-g177ed6
Teaching an old dog new tricks
DOXYGEN
Loading...
Searching...
No Matches
mdata.c
Go to the documentation of this file.
1
22
28
29#include "config.h"
30#include "private.h"
31#include "mutt/lib.h"
32#include "mdata.h"
33#include "bcache/lib.h"
34
38void nntp_mdata_free(void **ptr)
39{
40 struct NntpMboxData *mdata = *ptr;
41
43 mutt_bcache_close(&mdata->bcache);
44 FREE(&mdata->newsrc_ent);
45 FREE(&mdata->desc);
46 FREE(ptr);
47}
Body Caching (local copies of email bodies)
void mutt_bcache_close(struct BodyCache **ptr)
Close an Email-Body Cache.
Definition bcache.c:167
void nntp_mdata_free(void **ptr)
Free the private Mailbox data - Implements Mailbox::mdata_free() -.
Definition mdata.c:38
#define FREE(x)
Definition memory.h:62
Convenience wrapper for the library headers.
void nntp_acache_free(struct NntpMboxData *mdata)
Remove all temporarily cache files.
Definition newsrc.c:104
Nntp-specific Mailbox data.
Usenet network mailbox type; talk to an NNTP server.
void * mdata
Driver specific data.
Definition mailbox.h:132
NNTP-specific Mailbox data -.
Definition mdata.h:34