Bug 846687 - Set the transport as non-seekable if the server sends Accept-Ranges...
[gecko.git] / xpcom / io / nsPipe.h
blobd9141770102f9af5f1043e331f35412fbbcaa11c
1 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 /* vim:set ts=2 sw=2 sts=2 et cindent: */
3 /* This Source Code Form is subject to the terms of the Mozilla Public
4 * License, v. 2.0. If a copy of the MPL was not distributed with this
5 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
7 #ifndef nsPipe_h__
8 #define nsPipe_h__
10 #define NS_PIPE_CLASSNAME \
11 "nsPipe"
12 #define NS_PIPE_CONTRACTID \
13 "@mozilla.org/pipe;1"
14 #define NS_PIPE_CID \
15 { /* e4a0ee4e-0775-457b-9118-b3ae97a7c758 */ \
16 0xe4a0ee4e, \
17 0x0775, \
18 0x457b, \
19 {0x91,0x18,0xb3,0xae,0x97,0xa7,0xc7,0x58} \
22 // Generic factory constructor for the nsPipe class
23 nsresult NS_HIDDEN
24 nsPipeConstructor(nsISupports *outer, REFNSIID iid, void **result);
26 #endif // !defined(nsPipe_h__)