attachments[0].desired_type;
(void)attachments[0].desired_type;
GetRemoteAttachments(){  int   attachCount = 4;  nsMsgAttachmentData *attachments = (nsMsgAttachmentData *) PR_Malloc(sizeof(nsMsgAttachmentData) * attachCount);  nsIURI    *url;  if (!attachments)    return NULL;  nsCRT::memset(attachments, 0, sizeof(nsMsgAttachmentData) * attachCount);  nsMsgNewURL(&url, nsString("http://www.netscape.com"));  NS_ADDREF(url);  attachments[0].url = url; // The URL to attach. This should be 0 to signify "end of list".  attachments[0].desired_type;	    // The type to which this document should be						                        // converted.  Legal values are NULL, TEXT_PLAIN						                        // and APPLICATION_POSTSCRIPT (which are macros                                    // defined in net.h); other values are ignored.  attachments[0].real_type;		    // The type of the URL if known, otherwise NULL. For example, if                                   // you were attaching a temp file which was known to contain HTML data,                                   // you would pass in TEXT_HTML as the real_type, to override whatever type                                   // the name of the tmp file might otherwise indicate.  attachments[0].real_encoding;	  // Goes along with real_type   attachments[0].real_name;		    // The original name of this document, which will eventually show up in the                                   // Content-Disposition header. For example, if you had copied a document to a                                   // tmp file, this would be the original, human-readable name of the document.  attachments[0].description;	    // If you put a string here, it will show up as the Content-Description header.                                    // This can be any explanatory text; it's not a file name.						   nsMsgNewURL(&url, nsString("http://www.pennatech.com"));  NS_ADDREF(url);  attachments[1].url = url; // The URL to attach. This should be 0 to signify "end of list".  nsMsgNewURL(&url, nsString("file:///C|/boxster.jpg"));  NS_ADDREF(url);  attachments[2].url = url; // The URL to attach. This should be 0 to signify "end of list".  return attachments;}