Manipulate the flags in an email header. More...
#include "config.h"#include <stdbool.h>#include <stddef.h>#include <stdio.h>#include "mutt/lib.h"#include "config/lib.h"#include "email/lib.h"#include "core/lib.h"#include "gui/lib.h"#include "mutt.h"#include "color/lib.h"#include "index/lib.h"#include "key/lib.h"#include "mutt_thread.h"#include "protos.h"
Include dependency graph for flags.c:Go to the source code of this file.
Functions | |
| 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_emails_set_flag (struct Mailbox *m, struct EmailArray *ea, enum MessageType flag, bool bf) |
| Set flag on messages. | |
| 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 | mw_change_flag (struct Mailbox *m, struct EmailArray *ea, bool bf) |
| Change the flag on a Message -. | |
Manipulate the flags in an email header.
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 flags.c.
| 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_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: