NeoMutt  2022-04-29-323-g5fcc6c
Teaching an old dog new tricks
DOXYGEN
private_data.c File Reference

Private state data for the Browser. More...

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

Go to the source code of this file.

Functions

void browser_private_data_free (struct BrowserPrivateData **ptr)
 Free Private Browser Data - Implements MuttWindow::wdata_free() -. More...
 
struct BrowserPrivateDatabrowser_private_data_new (void)
 Create new Browser Data. More...
 

Detailed Description

Private state data for the Browser.

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

Function Documentation

◆ browser_private_data_new()

struct BrowserPrivateData * browser_private_data_new ( void  )

Create new Browser Data.

Return values
ptrNew BrowserPrivateData

Definition at line 54 of file private_data.c.

55{
56 struct BrowserPrivateData *priv = mutt_mem_calloc(1, sizeof(struct BrowserPrivateData));
57
60
61 return priv;
62}
void * mutt_mem_calloc(size_t nmemb, size_t size)
Allocate zeroed memory on the heap.
Definition: memory.c:50
struct Buffer * mutt_buffer_pool_get(void)
Get a Buffer from the pool.
Definition: pool.c:101
Private state data for the Browser.
Definition: private_data.h:34
struct Buffer * prefix
Folder prefix string.
Definition: private_data.h:49
struct Buffer * OldLastDir
Previous to last dir.
Definition: private_data.h:48
+ Here is the call graph for this function:
+ Here is the caller graph for this function: