summaryrefslogtreecommitdiff
path: root/pith/state.h
diff options
context:
space:
mode:
Diffstat (limited to 'pith/state.h')
-rw-r--r--pith/state.h9
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 */