NeoMutt  2024-10-02-37-gfa9146
Teaching an old dog new tricks
DOXYGEN
Loading...
Searching...
No Matches
protos.h
Go to the documentation of this file.
1
25#ifndef MUTT_PROTOS_H
26#define MUTT_PROTOS_H
27
28#include "config.h"
29#include <stdbool.h>
30#include "mutt.h"
31#include "menu/lib.h"
32
33struct Buffer;
34struct Email;
35struct EmailArray;
36struct Mailbox;
37struct NotifyCallback;
38
43{
46};
47
52{
55};
56
57int mutt_ev_message(struct Mailbox *m, struct EmailArray *ea, enum EvMessage action);
58
59int mutt_system(const char *cmd);
60
61int mutt_set_xdg_path(enum XdgType type, struct Buffer *buf);
62void mutt_help(enum MenuType menu);
63void mutt_set_flag(struct Mailbox *m, struct Email *e, enum MessageType flag, bool bf, bool upd_mbox);
64void mutt_signal_init(void);
65void mutt_emails_set_flag(struct Mailbox *m, struct EmailArray *ea, enum MessageType flag, bool bf);
66int mw_change_flag(struct Mailbox *m, struct EmailArray *ea, bool bf);
67
68int mutt_thread_set_flag(struct Mailbox *m, struct Email *e, enum MessageType flag, bool bf, bool subthread);
69extern short PostCount;
70
71#ifndef HAVE_WCSCASECMP
72int wcscasecmp(const wchar_t *a, const wchar_t *b);
73#endif
74
76
77#endif /* MUTT_PROTOS_H */
int mw_change_flag(struct Mailbox *m, struct EmailArray *ea, bool bf)
Change the flag on a Message -.
Definition: flags.c:454
GUI present the user with a selectable list.
Many unsorted constants and some structs.
MessageType
To set flags or match patterns.
Definition: mutt.h:67
XdgType
XDG variable types.
Definition: protos.h:43
@ XDG_CONFIG_HOME
XDG home dir: ~/.config.
Definition: protos.h:44
@ XDG_CONFIG_DIRS
XDG system dir: /etc/xdg.
Definition: protos.h:45
void mutt_set_flag(struct Mailbox *m, struct Email *e, enum MessageType flag, bool bf, bool upd_mbox)
Set a flag on an email.
Definition: flags.c:57
int mutt_reply_observer(struct NotifyCallback *nc)
EvMessage
Edit or View a message.
Definition: protos.h:52
@ EVM_VIEW
View the message.
Definition: protos.h:53
@ EVM_EDIT
Edit the message.
Definition: protos.h:54
void mutt_emails_set_flag(struct Mailbox *m, struct EmailArray *ea, enum MessageType flag, bool bf)
Set flag on messages.
Definition: flags.c:361
short PostCount
Number of postponed (draft) emails.
Definition: postpone.c:58
void mutt_signal_init(void)
Initialise the signal handling.
Definition: mutt_signal.c:130
int mutt_system(const char *cmd)
Run an external command.
Definition: system.c:52
int mutt_set_xdg_path(enum XdgType type, struct Buffer *buf)
Find an XDG path or its fallback.
Definition: muttlib.c:897
int mutt_ev_message(struct Mailbox *m, struct EmailArray *ea, enum EvMessage action)
Edit or view a message.
Definition: editmsg.c:284
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.
Definition: flags.c:385
void mutt_help(enum MenuType menu)
Display the help menu.
Definition: help.c:467
int wcscasecmp(const wchar_t *a, const wchar_t *b)
Compare two wide-character strings, ignoring case.
Definition: wcscasecmp.c:41
String manipulation buffer.
Definition: buffer.h:36
The envelope/body of an email.
Definition: email.h:39
A mailbox.
Definition: mailbox.h:79
Data passed to a notification function.
Definition: observer.h:34
MenuType
Types of GUI selections.
Definition: type.h:36