1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/netwerk/base/src/nsMIMEInputStream.h Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,29 @@ 1.4 +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ 1.5 +/* This Source Code Form is subject to the terms of the Mozilla Public 1.6 + * License, v. 2.0. If a copy of the MPL was not distributed with this 1.7 + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ 1.8 + 1.9 +/** 1.10 + * The MIME stream separates headers and a datastream. It also allows 1.11 + * automatic creation of the content-length header. 1.12 + */ 1.13 + 1.14 +#ifndef _nsMIMEInputStream_h_ 1.15 +#define _nsMIMEInputStream_h_ 1.16 + 1.17 +#include "nsIMIMEInputStream.h" 1.18 + 1.19 +#define NS_MIMEINPUTSTREAM_CONTRACTID "@mozilla.org/network/mime-input-stream;1" 1.20 +#define NS_MIMEINPUTSTREAM_CID \ 1.21 +{ /* 58a1c31c-1dd2-11b2-a3f6-d36949d48268 */ \ 1.22 + 0x58a1c31c, \ 1.23 + 0x1dd2, \ 1.24 + 0x11b2, \ 1.25 + {0xa3, 0xf6, 0xd3, 0x69, 0x49, 0xd4, 0x82, 0x68} \ 1.26 +} 1.27 + 1.28 +extern nsresult nsMIMEInputStreamConstructor(nsISupports *outer, 1.29 + REFNSIID iid, 1.30 + void **result); 1.31 + 1.32 +#endif // _nsMIMEInputStream_h_