NeoMutt  2025-09-05-43-g177ed6
Teaching an old dog new tricks
DOXYGEN
Loading...
Searching...
No Matches
private_data.c
Go to the documentation of this file.
1
22
28
29#include "config.h"
30#include "mutt/lib.h"
31#include "private_data.h"
32
38void attach_private_data_free(struct Menu *menu, void **ptr)
39{
40 if (!ptr || !*ptr)
41 return;
42
43 FREE(ptr);
44}
45
struct AttachPrivateData * attach_private_data_new(void)
Create new Attach Data.
Private state data for Attachments.
void attach_private_data_free(struct Menu *menu, void **ptr)
Free the Attach Data - Implements Menu::mdata_free() -.
#define FREE(x)
Definition memory.h:62
#define MUTT_MEM_CALLOC(n, type)
Definition memory.h:47
Convenience wrapper for the library headers.
Private state data for Attachments.
struct Menu * menu
Current Menu.
Definition lib.h:79