NeoMutt  2022-04-29-249-gaae397
Teaching an old dog new tricks
private_data.h File Reference

Private state data for Attachments. More...

#include "config.h"
+ Include dependency graph for private_data.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  AttachPrivateData
 Private state data for Attachments. More...


void attach_private_data_free (struct Menu *menu, void **ptr)
 Free Attach Data - Implements Menu::mdata_free() -. More...
struct AttachPrivateDataattach_private_data_new (void)
 Create new Attach Data. More...

Detailed Description

Private state data for Attachments.

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

Function Documentation

◆ attach_private_data_new()

struct AttachPrivateData * attach_private_data_new ( void  )

Create new Attach Data.

Return values
ptrNew AttachPrivateData

Definition at line 52 of file private_data.c.

54 struct AttachPrivateData *priv = mutt_mem_calloc(1, sizeof(struct AttachPrivateData));
56 return priv;
void * mutt_mem_calloc(size_t nmemb, size_t size)
Allocate zeroed memory on the heap.
Definition: memory.c:50
Private state data for Attachments.
Definition: private_data.h:34
+ Here is the call graph for this function:
+ Here is the caller graph for this function: