NeoMutt  2021-10-29-220-g2b1eec
Teaching an old dog new tricks
mdata.c File Reference

Nntp-specific Mailbox data. More...

#include "config.h"
#include "private.h"
#include "mutt/lib.h"
#include "mdata.h"
#include "bcache/lib.h"
+ Include dependency graph for mdata.c:

Go to the source code of this file.


void nntp_mdata_free (void **ptr)
 Free the private Mailbox data - Implements Mailbox::mdata_free() More...

Detailed Description

Nntp-specific Mailbox data.

  • Richard Russon

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see

Definition in file mdata.c.

Function Documentation

◆ nntp_mdata_free()

void nntp_mdata_free ( void **  ptr)

Free the private Mailbox data - Implements Mailbox::mdata_free()

Definition at line 38 of file mdata.c.

39 {
40  struct NntpMboxData *mdata = *ptr;
43  mutt_bcache_close(&mdata->bcache);
44  FREE(&mdata->newsrc_ent);
45  FREE(&mdata->desc);
46  FREE(ptr);
47 }
void mutt_bcache_close(struct BodyCache **bcache)
Close an Email-Body Cache.
Definition: bcache.c:166
#define FREE(x)
Definition: memory.h:40
void nntp_acache_free(struct NntpMboxData *mdata)
Remove all temporarily cache files.
Definition: newsrc.c:103
void * mdata
Driver specific data.
Definition: mailbox.h:136
NNTP-specific Mailbox data -.
Definition: mdata.h:33
+ Here is the call graph for this function:
+ Here is the caller graph for this function: