NeoMutt  2024-11-14-34-g5aaf0d
Teaching an old dog new tricks
DOXYGEN
Loading...
Searching...
No Matches
private_data.h File Reference

Private state data for the Browser. More...

#include <limits.h>
#include <stdbool.h>
#include "lib.h"
+ Include dependency graph for private_data.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  BrowserPrivateData
 Private state data for the Browser. More...
 

Functions

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

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

Function Documentation

◆ browser_private_data_new()

struct BrowserPrivateData * browser_private_data_new ( void  )

Create new Browser Data.

Return values
ptrNew BrowserPrivateData

Definition at line 55 of file private_data.c.

56{
58
59 priv->old_last_dir = buf_pool_get();
60 priv->prefix = buf_pool_get();
61
62 return priv;
63}
#define MUTT_MEM_CALLOC(n, type)
Definition: memory.h:40
struct Buffer * buf_pool_get(void)
Get a Buffer from the pool.
Definition: pool.c:81
Private state data for the Browser.
Definition: private_data.h:34
struct Buffer * prefix
Folder prefix string.
Definition: private_data.h:49
struct Buffer * old_last_dir
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: