NeoMutt  2024-04-25-100-gcb3684
Teaching an old dog new tricks
No Matches
cbar_data.c File Reference

Compose Bar Data. More...

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

Go to the source code of this file.


void cbar_data_free (struct MuttWindow *win, void **ptr)
 Free the private Compose Bar data - Implements MuttWindow::wdata_free() -.
struct ComposeBarDatacbar_data_new (void)
 Create the private data for the Compose Bar.

Detailed Description

Compose Bar Data.

  • 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

Definition in file cbar_data.c.

Function Documentation

◆ cbar_data_new()

struct ComposeBarData * cbar_data_new ( void  )

Create the private data for the Compose Bar.

Return values
ptrNew ComposeBarData

Definition at line 52 of file cbar_data.c.

54 return mutt_mem_calloc(1, sizeof(struct ComposeBarData));
void * mutt_mem_calloc(size_t nmemb, size_t size)
Allocate zeroed memory on the heap.
Definition: memory.c:51
Data to fill the Compose Bar Window.
Definition: cbar_data.h:34
+ Here is the call graph for this function:
+ Here is the caller graph for this function: