NeoMutt  2025-09-05-55-g97fc89
Teaching an old dog new tricks
DOXYGEN
Loading...
Searching...
No Matches
private_data.h
Go to the documentation of this file.
1
22
23#ifndef MUTT_BROWSER_PRIVATE_DATA_H
24#define MUTT_BROWSER_PRIVATE_DATA_H
25
26#include <limits.h>
27#include <stdbool.h>
28#include "lib.h"
29
34{
35 // Parameters passed to dlg_browser()
36 struct Buffer *file;
37 struct Mailbox *mailbox;
38 char ***files;
39 int *numfiles;
40
41 // State of the browser
43 struct Menu *menu;
45 bool multiple;
46 bool folder;
49 struct Buffer *prefix;
51 struct MuttWindow *sbar;
52 bool done;
53};
54
57
58#endif /* MUTT_BROWSER_PRIVATE_DATA_H */
Select a Mailbox from a list.
struct BrowserPrivateData * browser_private_data_new(void)
Create new Browser Data.
void browser_private_data_free(struct BrowserPrivateData **ptr)
Free Private Browser Data - Implements MuttWindow::wdata_free() -.
#define PATH_MAX
Definition mutt.h:42
Private state data for the Browser.
char *** files
Array of selected files.
struct Menu * menu
Menu.
struct Buffer * prefix
Folder prefix string.
struct Buffer * old_last_dir
Previous to last dir.
bool kill_prefix
Prefix is in use.
bool done
Should we close the Dialog?
bool folder
Select folders.
int last_selected_mailbox
Index of last selected Mailbox.
int * numfiles
Number of selected files.
struct Mailbox * mailbox
Mailbox.
struct BrowserState state
State containing list of files/dir/mailboxes.
struct Buffer * file
Buffer for the result.
bool multiple
Allow multiple selections.
struct MuttWindow * sbar
Status Bar.
char goto_swapper[PATH_MAX]
Saved path after <goto-folder>
State of the file/mailbox browser.
Definition lib.h:144
String manipulation buffer.
Definition buffer.h:36
A mailbox.
Definition mailbox.h:79
Definition lib.h:79