NeoMutt  2024-11-14-138-ge5ca67
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 52 of file shared_data.h.

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

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 return MUTT_MEM_CALLOC(1, struct ComposeSharedData);
51}
#define MUTT_MEM_CALLOC(n, type)
Definition: memory.h:40
Shared Compose Data.
Definition: shared_data.h:35
+ Here is the caller graph for this function: