NeoMutt
2025-12-11-1039-g550ac6
Teaching an old dog new tricks
DOXYGEN
Toggle main menu visibility
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
38
void
nntp_mdata_free
(
void
**ptr)
39
{
40
struct
NntpMboxData
*
mdata
= *ptr;
41
42
nntp_acache_free
(
mdata
);
43
mutt_bcache_close
(&
mdata
->bcache);
44
FREE
(&
mdata
->newsrc_ent);
45
FREE
(&
mdata
->desc);
46
FREE
(ptr);
47
}
lib.h
Body Caching (local copies of email bodies).
mutt_bcache_close
void mutt_bcache_close(struct BodyCache **ptr)
Close an Email-Body Cache.
Definition
bcache.c:183
nntp_mdata_free
void nntp_mdata_free(void **ptr)
Free the private Mailbox data - Implements Mailbox::mdata_free() -.
Definition
mdata.c:38
FREE
#define FREE(x)
Free memory and set the pointer to NULL.
Definition
memory.h:68
lib.h
Convenience wrapper for the library headers.
nntp_acache_free
void nntp_acache_free(struct NntpMboxData *mdata)
Remove all temporarily cache files.
Definition
newsrc.c:105
mdata.h
Nntp-specific Mailbox data.
private.h
Usenet network mailbox type; talk to an NNTP server.
Mailbox::mdata
void * mdata
Driver specific data.
Definition
mailbox.h:134
NntpMboxData
NNTP-specific Mailbox data -.
Definition
mdata.h:34