diff options
author | Eduardo Chappa <chappa@washington.edu> | 2020-06-07 21:14:19 -0600 |
---|---|---|
committer | Eduardo Chappa <chappa@washington.edu> | 2020-06-07 21:14:19 -0600 |
commit | d1300c95499f3b422c2299432eb4acc93cf4618a (patch) | |
tree | f516d0630fbb085ac689c2010e07cbbe6c281ca5 /pith/state.h | |
parent | 6c702a26f10f04bf225aa914b2eae5b89e3d0b4a (diff) | |
download | alpine-d1300c95499f3b422c2299432eb4acc93cf4618a.tar.xz |
* Experimental: Alpine can pass an HTML message to an external web browser, by using
the "External" command in the ATTACHMENT INDEX screen.
* Experimental: New configuration variable "External Command Loads Inline Images Only"
that controls if Alpine will pass to an external browser a link to all the images in
the HTML message, or will only pass a link to inline images included in the message.
For your privacy and security this feature is enabled by default.
Diffstat (limited to 'pith/state.h')
-rw-r--r-- | pith/state.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/pith/state.h b/pith/state.h index 41ef1b43..3fec3691 100644 --- a/pith/state.h +++ b/pith/state.h @@ -61,6 +61,13 @@ struct ttyo { footer_rows; /* number of rows for status and keymenu */ }; +/* struct to keep track of external html files generated by Alpine */ +typedef struct html_log_s { + char *dir; /* directory path */ + time_t to_delete; /* time to delete dir */ + struct html_log_s *next; /* pointer to next entry */ +} HTML_LOG_S; + /* * HEADER_ROWS is always 2. 1 for the titlebar and 1 for the * blank line after the titlebar. We should probably make it go down @@ -120,7 +127,9 @@ struct pine { INDEX_COL_S *index_disp_format; char *folders_dir; + char *html_dir; + HTML_LOG_S *html_dir_list; unsigned signal_in_progress:1; /* we are handling a signal */ unsigned mangled_footer:1; /* footer needs repainting */ unsigned mangled_header:1; /* header needs repainting */ |