#include <h/mime.h>
#include <h/mhparse.h>
+/* The list of top-level contents to display */
+CT *cts = NULL;
+
/*
* prototypes
*/
void free_header (CT);
void free_ctinfo (CT);
void free_encoding (CT, int);
+void freects_done (int);
/*
* static prototypes
ct->c_ceopenfnx = NULL;
}
}
+
+
+void
+freects_done (int status)
+{
+ CT *ctp;
+
+ if ((ctp = cts))
+ for (; *ctp; ctp++)
+ free_content (*ctp);
+
+ exit (status);
+}