Process a message for display in the pager. More...
#include "config.h"#include <errno.h>#include <stdbool.h>#include <stdio.h>#include <sys/types.h>#include <unistd.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 "lib.h"#include "attach/lib.h"#include "expando/lib.h"#include "index/lib.h"#include "key/lib.h"#include "menu/lib.h"#include "ncrypt/lib.h"#include "question/lib.h"#include "copy.h"#include "globals.h"#include "hook.h"#include "mview.h"#include "mx.h"#include "protos.h"#include "autocrypt/lib.h"
Include dependency graph for message.c:Go to the source code of this file.
Functions | |
| static void | process_protected_headers (struct Mailbox *m, struct Email *e) |
| Get the protected header and update the index. | |
| static int | email_to_file (struct Message *msg, struct Buffer *tempfile, struct Mailbox *m, struct Email *e, const char *header, int wrap_len, CopyMessageFlags *cmflags) |
| Decrypt, decode and weed an Email into a file. | |
| int | external_pager (struct MailboxView *mv, struct Email *e, const char *command) |
| Display a message in an external program. | |
| static void | notify_crypto (struct Email *e, struct Message *msg, CopyMessageFlags cmflags) |
| Notify the user about the crypto status of the Email. | |
| static void | squash_index_panel (struct Mailbox *m, struct MuttWindow *win_index, struct MuttWindow *win_pager) |
| Shrink or hide the Index Panel. | |
| static void | expand_index_panel (struct MuttWindow *win_index, struct MuttWindow *win_pager) |
| Restore the Index Panel. | |
| int | mutt_display_message (struct MuttWindow *win_index, struct IndexSharedData *shared) |
| Display a message in the pager. | |
Variables | |
| static const char * | ExtPagerProgress = N_("all") |
| Status bar message when entire message is visible in the Pager. | |
Process a message for display in the pager.
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 message.c.
Get the protected header and update the index.
Definition at line 68 of file message.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Decrypt, decode and weed an Email into a file.
| msg | Raw Email |
| tempfile | Temporary filename for result |
| m | Mailbox |
| e | Email to display |
| header | Header to prefix output (OPTIONAL) |
| wrap_len | Width to wrap lines |
| cmflags | Message flags, e.g. MUTT_CM_DECODE |
| 0 | Success |
| -1 | Error |
Definition at line 164 of file message.c.
Here is the call graph for this function:
Here is the caller graph for this function:| int external_pager | ( | struct MailboxView * | mv, |
| struct Email * | e, | ||
| const char * | command | ||
| ) |
Display a message in an external program.
| 0 | Success |
| -1 | Error |
Definition at line 299 of file message.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Notify the user about the crypto status of the Email.
| e | Email to display |
| msg | Raw Email |
| cmflags | Message flags, e.g. MUTT_CM_DECODE |
Definition at line 360 of file message.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Shrink or hide the Index Panel.
| m | Mailbox |
| win_index | Index Window |
| win_pager | Pager Window |
Definition at line 398 of file message.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Restore the Index Panel.
| win_index | Index Window |
| win_pager | Pager Window |
Definition at line 425 of file message.c.
Here is the call graph for this function:
Here is the caller graph for this function:| int mutt_display_message | ( | struct MuttWindow * | win_index, |
| struct IndexSharedData * | shared | ||
| ) |
Display a message in the pager.
| win_index | Index Window |
| shared | Shared Index data |
| 0 | Success |
| -1 | Error |
Definition at line 446 of file message.c.
Here is the call graph for this function:
Here is the caller graph for this function: