NeoMutt  2024-10-02-37-gfa9146
Teaching an old dog new tricks
DOXYGEN
Loading...
Searching...
No Matches
shared_data.c File Reference

Compose Shared Data. More...

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

Go to the source code of this file.

Functions

void compose_shared_data_free (struct MuttWindow *win, void **ptr)
 Free the compose shared data - Implements MuttWindow::wdata_free() -.
 
struct ComposeSharedDatacompose_shared_data_new (void)
 Free the compose shared data.
 

Detailed Description

Compose Shared Data.

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

Function Documentation

◆ compose_shared_data_new()

struct ComposeSharedData * compose_shared_data_new ( void  )

Free the compose shared data.

Return values
ptrNew compose shared data

Definition at line 48 of file shared_data.c.

49{
50 struct ComposeSharedData *shared = mutt_mem_calloc(1, sizeof(struct ComposeSharedData));
51
52 return shared;
53}
void * mutt_mem_calloc(size_t nmemb, size_t size)
Allocate zeroed memory on the heap.
Definition: memory.c:51
Shared Compose Data.
Definition: shared_data.h:35
+ Here is the call graph for this function:
+ Here is the caller graph for this function: