Build a selection of Emails for an action. More...
#include "config.h"#include <stdbool.h>#include <stddef.h>#include "mutt/lib.h"#include "email/lib.h"#include "core/lib.h"#include "mview.h"
Include dependency graph for selection.c:Go to the source code of this file.
Functions | |
| static bool | ea_contains_email (struct EmailArray *ea, struct Email *e) |
| Does a working set already include an Email? | |
| static void | ea_add_email (struct EmailArray *ea, struct Email *e) |
| Add an Email to a working set. | |
| static void | ea_add_collapsed_thread (struct EmailArray *ea, struct Email *e) |
| Add all emails in a collapsed thread. | |
| static void | ea_add_folded (struct EmailArray *ea, struct Email *e) |
| Add an Email, expanding collapsed threads. | |
| int | ea_add_tagged (struct EmailArray *ea, struct MailboxView *mv, struct Email *e, bool use_tagged) |
| Get an array of the tagged Emails. | |
Build a selection of Emails for an action.
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 selection.c.
|
static |
Does a working set already include an Email?
| ea | Selected emails |
| e | Candidate email |
| true | Email is selected |
Definition at line 43 of file selection.c.
Here is the caller graph for this function:
|
static |
Add an Email to a working set.
| ea | Selected emails |
| e | Email to add |
Definition at line 63 of file selection.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Add all emails in a collapsed thread.
| ea | Selected emails |
| e | Collapsed email |
Definition at line 74 of file selection.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Add an Email, expanding collapsed threads.
| ea | Selected emails |
| e | Email to add |
Definition at line 113 of file selection.c.
Here is the call graph for this function:
Here is the caller graph for this function:| int ea_add_tagged | ( | struct EmailArray * | ea, |
| struct MailboxView * | mv, | ||
| struct Email * | e, | ||
| bool | use_tagged ) |
Get an array of the tagged Emails.
| ea | Empty EmailArray to populate |
| mv | Current Mailbox |
| e | Current Email |
| use_tagged | Use tagged Emails |
| num | Number of selected emails |
| -1 | Error |
Definition at line 128 of file selection.c.
Here is the call graph for this function:
Here is the caller graph for this function: