Prototypes for many functions. More...
Include dependency graph for protos.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
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... | |
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 | wcscasecmp (const wchar_t *a, const wchar_t *b) |
| Compare two wide-character strings, ignoring case. | |
| int | mutt_reply_observer (struct NotifyCallback *nc) |
| void | init_config (struct ConfigSet *cs) |
| Initialise the config system. | |
Variables | |
| short | PostCount |
| Number of postponed (draft) emails. | |
Prototypes for many functions.
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 protos.h.
| enum XdgType |
XDG variable types.
| Enumerator | |
|---|---|
| XDG_CONFIG_HOME | XDG home dir: ~/.config. |
| XDG_CONFIG_DIRS | XDG system dir: /etc/xdg. |
| enum EvMessage |
Edit or view a message.
Definition at line 284 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 52 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 882 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 149 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 57 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 135 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 361 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 385 of file flags.c.
Here is the call graph for this function:
Here is the caller graph for this function:| int wcscasecmp | ( | const wchar_t * | a, |
| const wchar_t * | b ) |
Compare two wide-character strings, ignoring case.
| a | First string |
| b | Second string |
| -1 | a precedes b |
| 0 | a and b are identical |
| 1 | b precedes a |
Definition at line 41 of file wcscasecmp.c.
Here is the caller graph for this function:| int mutt_reply_observer | ( | struct NotifyCallback * | nc | ) |
| void init_config | ( | struct ConfigSet * | cs | ) |
Initialise the config system.
| cs | Config items |
Definition at line 929 of file mutt_config.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
extern |
Number of postponed (draft) emails.
Definition at line 58 of file postpone.c.