Thu, 22 Jan 2015 13:21:57 +0100
Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6
michael@0 | 1 | /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ |
michael@0 | 2 | /* This Source Code Form is subject to the terms of the Mozilla Public |
michael@0 | 3 | * License, v. 2.0. If a copy of the MPL was not distributed with this |
michael@0 | 4 | * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ |
michael@0 | 5 | |
michael@0 | 6 | /** |
michael@0 | 7 | * The MIME stream separates headers and a datastream. It also allows |
michael@0 | 8 | * automatic creation of the content-length header. |
michael@0 | 9 | */ |
michael@0 | 10 | |
michael@0 | 11 | #ifndef _nsMIMEInputStream_h_ |
michael@0 | 12 | #define _nsMIMEInputStream_h_ |
michael@0 | 13 | |
michael@0 | 14 | #include "nsIMIMEInputStream.h" |
michael@0 | 15 | |
michael@0 | 16 | #define NS_MIMEINPUTSTREAM_CONTRACTID "@mozilla.org/network/mime-input-stream;1" |
michael@0 | 17 | #define NS_MIMEINPUTSTREAM_CID \ |
michael@0 | 18 | { /* 58a1c31c-1dd2-11b2-a3f6-d36949d48268 */ \ |
michael@0 | 19 | 0x58a1c31c, \ |
michael@0 | 20 | 0x1dd2, \ |
michael@0 | 21 | 0x11b2, \ |
michael@0 | 22 | {0xa3, 0xf6, 0xd3, 0x69, 0x49, 0xd4, 0x82, 0x68} \ |
michael@0 | 23 | } |
michael@0 | 24 | |
michael@0 | 25 | extern nsresult nsMIMEInputStreamConstructor(nsISupports *outer, |
michael@0 | 26 | REFNSIID iid, |
michael@0 | 27 | void **result); |
michael@0 | 28 | |
michael@0 | 29 | #endif // _nsMIMEInputStream_h_ |