Teaching an old dog new tricks
No Matches
mdata.h File Reference

Nntp-specific Mailbox data. More...

#include <stdbool.h>
#include <time.h>
#include "lib.h"
+ Include dependency graph for mdata.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  NntpMboxData
 NNTP-specific Mailbox data -. More...


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

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.h.

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.

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