michael@0: /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ michael@0: /* This Source Code Form is subject to the terms of the Mozilla Public michael@0: * License, v. 2.0. If a copy of the MPL was not distributed with this michael@0: * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ michael@0: michael@0: /** michael@0: * The MIME stream separates headers and a datastream. It also allows michael@0: * automatic creation of the content-length header. michael@0: */ michael@0: michael@0: #ifndef _nsMIMEInputStream_h_ michael@0: #define _nsMIMEInputStream_h_ michael@0: michael@0: #include "nsIMIMEInputStream.h" michael@0: michael@0: #define NS_MIMEINPUTSTREAM_CONTRACTID "@mozilla.org/network/mime-input-stream;1" michael@0: #define NS_MIMEINPUTSTREAM_CID \ michael@0: { /* 58a1c31c-1dd2-11b2-a3f6-d36949d48268 */ \ michael@0: 0x58a1c31c, \ michael@0: 0x1dd2, \ michael@0: 0x11b2, \ michael@0: {0xa3, 0xf6, 0xd3, 0x69, 0x49, 0xd4, 0x82, 0x68} \ michael@0: } michael@0: michael@0: extern nsresult nsMIMEInputStreamConstructor(nsISupports *outer, michael@0: REFNSIID iid, michael@0: void **result); michael@0: michael@0: #endif // _nsMIMEInputStream_h_