NeoMutt  2024-10-02-34-g9dd811
Teaching an old dog new tricks
DOXYGEN
Loading...
Searching...
No Matches
wdata.c File Reference

Progress Bar Window Data. More...

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

Go to the source code of this file.

Functions

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

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

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:51
Progress Bar Window Data.
Definition: wdata.h:36
+ Here is the call graph for this function:
+ Here is the caller graph for this function: