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

Progress Bar Window Data. More...

#include <stdbool.h>
#include <stdint.h>
#include <stdio.h>
+ Include dependency graph for wdata.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  ProgressWindowData
 Progress Bar Window Data. More...
 

Functions

void progress_wdata_free (struct MuttWindow *win, void **ptr)
 Free Progress Bar Window data - Implements MuttWindow::wdata_free() -.
 
struct ProgressWindowDataprogress_wdata_new (void)
 Create new Progress Bar Window Data.
 

Detailed Description

Progress Bar Window 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 wdata.h.

Function Documentation

◆ progress_wdata_new()

struct ProgressWindowData * progress_wdata_new ( void  )

Create new Progress Bar Window Data.

Return values
ptrNew Progress Bar Window Data

Definition at line 37 of file wdata.c.

38{
39 return mutt_mem_calloc(1, sizeof(struct ProgressWindowData));
40}
void * mutt_mem_calloc(size_t nmemb, size_t size)
Allocate zeroed memory on the heap.
Definition: memory.c:50
Progress Bar Window Data.
Definition: wdata.h:36
+ Here is the call graph for this function:
+ Here is the caller graph for this function: