NeoMutt  2024-10-02-37-gfa9146
Teaching an old dog new tricks
DOXYGEN
Loading...
Searching...
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.

Functions

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.

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

51{
52 struct AttachPrivateData *priv = mutt_mem_calloc(1, sizeof(struct AttachPrivateData));
53
54 return priv;
55}
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: