From: Ken Hornstein Date: Mon, 21 Oct 2013 16:48:23 +0000 (-0400) Subject: Some comments describing the MIME structures. X-Git-Url: https://diplodocus.org/git/nmh/commitdiff_plain/375f8331e17e6ef106d1d078ac7a5c44e97e7587?ds=inline;hp=--cc Some comments describing the MIME structures. --- 375f8331e17e6ef106d1d078ac7a5c44e97e7587 diff --git a/h/mhparse.h b/h/mhparse.h index 1f8ab719..b5a73627 100644 --- a/h/mhparse.h +++ b/h/mhparse.h @@ -68,6 +68,16 @@ struct cefile { /* * Primary structure for handling Content (Entity) + * + * Some more explanation of this: + * + * This structure recursively describes a complete MIME message. + * At the top level, the c_first_hf list has a list of all message + * headers. If the content-type is multipart (c_type == CT_MULTIPART) + * then c_ctparams will contain a pointer to a struct multipart. + * A struct multipart contains (among other trhings) a linked list + * of struct part elements, and THOSE contain a pointer to the sub-part's + * Content structure. */ struct Content { /* source (read) file */