MimeMessage *msg = (MimeMessage *)object; msg->grabSubject = PR_FALSE;
static void MimeMessage_finalize (MimeObject *);static int MimeMessage_add_child (MimeObject *, MimeObject *);static int MimeMessage_parse_begin (MimeObject *);static int MimeMessage_parse_line (char *, PRInt32, MimeObject *);static int MimeMessage_parse_eof (MimeObject *, PRBool);static int MimeMessage_close_headers (MimeObject *obj);static int MimeMessage_write_headers_html (MimeObject *);#ifdef MOZ_SECURITYHG56268#endif /* MOZ_SECURITY */#ifdef XP_UNIXextern void MimeHeaders_do_unix_display_hook_hack(MimeHeaders *);#endif /* XP_UNIX */#if defined(DEBUG) && defined(XP_UNIX)static int MimeMessage_debug_print (MimeObject *, PRFileDesc *, PRInt32 depth);#endifextern MimeObjectClass mimeMultipartClass;static intMimeMessageClassInitialize(MimeMessageClass *clazz){  MimeObjectClass    *oclass = (MimeObjectClass *)    clazz;  MimeContainerClass *cclass = (MimeContainerClass *) clazz;  PR_ASSERT(!oclass->class_initialized);  oclass->initialize  = MimeMessage_initialize;  oclass->finalize    = MimeMessage_finalize;  oclass->parse_begin = MimeMessage_parse_begin;  oclass->parse_line  = MimeMessage_parse_line;  oclass->parse_eof   = MimeMessage_parse_eof;  cclass->add_child   = MimeMessage_add_child;#if defined(DEBUG) && defined(XP_UNIX)  oclass->debug_print = MimeMessage_debug_print;#endif  return 0;}static intMimeMessage_initialize (MimeObject *object){  return ((MimeObjectClass*)&MIME_SUPERCLASS)->initialize(object);}static voidMimeMessage_finalize (MimeObject *object){  MimeMessage *msg = (MimeMessage *)object;  if (msg->hdrs)	MimeHeaders_free(msg->hdrs);  msg->hdrs = 0;  ((MimeObjectClass*)&MIME_SUPERCLASS)->finalize(object);}