Many unsorted constants and some structs. More...
#include "config.h"#include "mutt.h"#include "menu/lib.h"#include <limits.h>#include <stdbool.h>
Include dependency graph for mutt.h:Go to the source code of this file.
Macros | |
| #define | PATH_MAX 4096 |
Enumerations | |
| enum | XdgType { XDG_CONFIG_HOME , XDG_CONFIG_DIRS } |
| XDG variable types. More... | |
| enum | EvMessage { EVM_VIEW , EVM_EDIT } |
| Edit or View a message. More... | |
| enum | MessageType { MUTT_ALL = 1 , MUTT_NONE , MUTT_NEW , MUTT_OLD , MUTT_REPLIED , MUTT_READ , MUTT_UNREAD , MUTT_DELETE , MUTT_UNDELETE , MUTT_PURGE , MUTT_DELETED , MUTT_FLAG , MUTT_TAG , MUTT_UNTAG , MUTT_LIMIT , MUTT_EXPIRED , MUTT_SUPERSEDED , MUTT_TRASH , MUTT_MT_MAX } |
| To set flags or match patterns. More... | |
Functions | |
| int | mutt_ev_message (struct Mailbox *m, struct EmailArray *ea, enum EvMessage action) |
| Edit or view a message. | |
| int | mutt_system (const char *cmd) |
| Run an external command. | |
| int | mutt_set_xdg_path (enum XdgType type, struct Buffer *buf) |
| Find an XDG path or its fallback. | |
| void | mutt_help (enum MenuType menu) |
| Display the Help Page. | |
| void | mutt_set_flag (struct Mailbox *m, struct Email *e, enum MessageType flag, bool bf, bool upd_mbox) |
| Set a flag on an email. | |
| void | mutt_signal_init (void) |
| Initialise the signal handling. | |
| void | mutt_emails_set_flag (struct Mailbox *m, struct EmailArray *ea, enum MessageType flag, bool bf) |
| Set flag on messages. | |
| int | mw_change_flag (struct Mailbox *m, struct EmailArray *ea, bool bf) |
| Change the flag on a Message -. | |
| int | mutt_thread_set_flag (struct Mailbox *m, struct Email *e, enum MessageType flag, bool bf, bool subthread) |
| Set a flag on an entire thread. | |
| int | mutt_reply_observer (struct NotifyCallback *nc) |
Variables | |
| bool | StartupComplete |
| When the config has been read. | |
| short | PostCount |
| Number of postponed (draft) emails. | |
Many unsorted constants and some structs.
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 mutt.h.
| enum XdgType |
XDG variable types.
| Enumerator | |
|---|---|
| XDG_CONFIG_HOME | XDG home dir: ~/.config. |
| XDG_CONFIG_DIRS | XDG system dir: /etc/xdg. |
| enum EvMessage |
| enum MessageType |
To set flags or match patterns.
Definition at line 85 of file mutt.h.
Edit or view a message.
Definition at line 282 of file editmsg.c.
Here is the call graph for this function:
Here is the caller graph for this function:| int mutt_system | ( | const char * | cmd | ) |
Run an external command.
| cmd | Command and arguments |
| -1 | Error |
| >=0 | Success (command's return code) |
Fork and run an external command with arguments.
Definition at line 51 of file system.c.
Here is the call graph for this function:
Here is the caller graph for this function:Find an XDG path or its fallback.
| type | Type of XDG variable, e.g. XDG_CONFIG_HOME |
| buf | Buffer to save path |
| 1 | An entry was found that actually exists on disk and 0 otherwise |
Process an XDG environment variable or its fallback.
Definition at line 871 of file muttlib.c.
Here is the call graph for this function:
Here is the caller graph for this function:| void mutt_help | ( | enum MenuType | menu | ) |
Display the Help Page.
| menu | Menu type |
Definition at line 147 of file help.c.
Here is the call graph for this function:
Here is the caller graph for this function:| void mutt_set_flag | ( | struct Mailbox * | m, |
| struct Email * | e, | ||
| enum MessageType | flag, | ||
| bool | bf, | ||
| bool | upd_mbox ) |
Set a flag on an email.
| m | Mailbox |
| e | |
| flag | Flag to set, e.g. MUTT_DELETE |
| bf | true: set the flag; false: clear the flag |
| upd_mbox | true: update the Mailbox |
Definition at line 54 of file flags.c.
Here is the call graph for this function:
Here is the caller graph for this function:| void mutt_signal_init | ( | void | ) |
Initialise the signal handling.
Definition at line 134 of file mutt_signal.c.
Here is the call graph for this function:
Here is the caller graph for this function:| void mutt_emails_set_flag | ( | struct Mailbox * | m, |
| struct EmailArray * | ea, | ||
| enum MessageType | flag, | ||
| bool | bf ) |
Set flag on messages.
| m | Mailbox |
| ea | Array of Emails to flag |
| flag | Flag to set, e.g. MUTT_DELETE |
| bf | true: set the flag; false: clear the flag |
Definition at line 358 of file flags.c.
Here is the call graph for this function:
Here is the caller graph for this function:| int mutt_thread_set_flag | ( | struct Mailbox * | m, |
| struct Email * | e, | ||
| enum MessageType | flag, | ||
| bool | bf, | ||
| bool | subthread ) |
Set a flag on an entire thread.
| m | Mailbox |
| e | |
| flag | Flag to set, e.g. MUTT_DELETE |
| bf | true: set the flag; false: clear the flag |
| subthread | If true apply to all of the thread |
| 0 | Success |
| -1 | Failure |
Definition at line 382 of file flags.c.
Here is the call graph for this function:
Here is the caller graph for this function:| int mutt_reply_observer | ( | struct NotifyCallback * | nc | ) |
|
extern |
Number of postponed (draft) emails.
Definition at line 55 of file postpone.c.