NeoMutt  2022-04-29-323-g5fcc6c
Teaching an old dog new tricks
DOXYGEN
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)
 Create the compose shared data - Implements MuttWindow::wdata_free() -. More...
 
struct ComposeSharedDatacompose_shared_data_new (void)
 Free the compose shared data. More...
 

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 47 of file shared_data.c.

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