NeoMutt  2024-04-25-97-g7d2481
Teaching an old dog new tricks
No Matches
private_data.h File Reference

Private state data for Attachments. More...

#include "config.h"
#include <stdbool.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 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
  • Dennis Schön

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 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:51
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: