NeoMutt  2024-04-16-36-g75b6fb
Teaching an old dog new tricks
DOXYGEN
Loading...
Searching...
No Matches
cbar_data.h File Reference

Compose Bar Data. More...

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

Go to the source code of this file.

Data Structures

struct  ComposeBarData
 Data to fill the Compose Bar Window. More...
 

Functions

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.

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

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.

53{
54 return mutt_mem_calloc(1, sizeof(struct ComposeBarData));
55}
void * mutt_mem_calloc(size_t nmemb, size_t size)
Allocate zeroed memory on the heap.
Definition: memory.c:50
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: