Bug 1708422: part 8) Move `mozInlineSpellChecker::CheckWordsAndAddRangesForMisspellin...
[gecko.git] / netwerk / build / nsNetModule.h
blob78f816b90e6afc1d7a598e83b1c844ee3845c074
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 /* This Source Code Form is subject to the terms of the Mozilla Public
3 * License, v. 2.0. If a copy of the MPL was not distributed with this
4 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
6 #ifndef nsNetModule_h
7 #define nsNetModule_h
9 #include "nsID.h"
11 class nsISupports;
13 nsresult nsNetStartup();
14 void nsNetShutdown();
16 nsresult CreateNewStreamConvServiceFactory(nsISupports* aOuter,
17 const nsIID& aIID, void** aResult);
18 nsresult CreateNewMultiMixedConvFactory(nsISupports* aOuter, const nsIID& aIID,
19 void** aResult);
20 nsresult CreateNewTXTToHTMLConvFactory(nsISupports* aOuter, const nsIID& aIID,
21 void** aResult);
22 nsresult CreateNewHTTPCompressConvFactory(nsISupports* aOuter,
23 const nsIID& aIID, void** aResult);
24 nsresult CreateNewUnknownDecoderFactory(nsISupports* aOuter, const nsIID& aIID,
25 void** aResult);
26 nsresult CreateNewBinaryDetectorFactory(nsISupports* aOuter, const nsIID& aIID,
27 void** aResult);
28 nsresult nsLoadGroupConstructor(nsISupports* aOuter, const nsIID& aIID,
29 void** aResult);
31 extern nsresult net_NewIncrementalDownload(nsISupports*, const nsIID&, void**);
33 namespace mozilla {
34 namespace net {
35 nsresult WebSocketChannelConstructor(nsISupports* aOuter, const nsIID& aIID,
36 void** aResult);
37 nsresult WebSocketSSLChannelConstructor(nsISupports* aOuter, const nsIID& aIID,
38 void** aResult);
39 } // namespace net
40 } // namespace mozilla
42 #endif