NeoMutt  2022-04-29-323-g5fcc6c
Teaching an old dog new tricks
DOXYGEN
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.

Functions

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

Detailed Description

Nntp-specific Mailbox data.

Authors
  • 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 http://www.gnu.org/licenses/.

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;
41
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:165
#define FREE(x)
Definition: memory.h:43
void nntp_acache_free(struct NntpMboxData *mdata)
Remove all temporarily cache files.
Definition: newsrc.c:102
void * mdata
Driver specific data.
Definition: mailbox.h:132
NNTP-specific Mailbox data -.
Definition: mdata.h:33
+ Here is the call graph for this function:
+ Here is the caller graph for this function: