NeoMutt  2024-02-01-23-g345d7b
Teaching an old dog new tricks
No Matches
private_data.c File Reference

Private state data for Attachments. More...

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

Go to the source code of this file.


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

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

Function Documentation

◆ attach_private_data_new()

struct AttachPrivateData * attach_private_data_new ( void  )

Create new Attach Data.

Return values
ptrNew AttachPrivateData

Definition at line 50 of file private_data.c.

52 struct AttachPrivateData *priv = mutt_mem_calloc(1, sizeof(struct AttachPrivateData));
54 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:36
+ Here is the call graph for this function:
+ Here is the caller graph for this function: