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

Compose Shared Data. More...

#include "config.h"
#include <stdbool.h>
+ Include dependency graph for shared_data.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  ComposeSharedData
 Shared Compose Data. More...
 

Enumerations

enum  ExpandoDataCompose { ED_COM_ATTACH_COUNT = 1 , ED_COM_ATTACH_SIZE }
 Expando UIDs for Compose. More...
 

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

Enumeration Type Documentation

◆ ExpandoDataCompose

Expando UIDs for Compose.

See also
ED_COMPOSE, ExpandoDomain
Enumerator
ED_COM_ATTACH_COUNT 

ComposeAttachData, num_attachments()

ED_COM_ATTACH_SIZE 

ComposeAttachData, cum_attachs_size()

Definition at line 54 of file shared_data.h.

55{
58};
@ ED_COM_ATTACH_COUNT
ComposeAttachData, num_attachments()
Definition: shared_data.h:56
@ ED_COM_ATTACH_SIZE
ComposeAttachData, cum_attachs_size()
Definition: shared_data.h:57

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: