tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

nsNetModule.h (1251B)


      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/. */
      5 
      6 #ifndef nsNetModule_h
      7 #define nsNetModule_h
      8 
      9 #include "nsID.h"
     10 
     11 class nsISupports;
     12 
     13 nsresult nsNetStartup();
     14 void nsNetShutdown();
     15 
     16 nsresult CreateNewStreamConvServiceFactory(const nsIID& aIID, void** aResult);
     17 nsresult CreateNewMultiMixedConvFactory(const nsIID& aIID, void** aResult);
     18 nsresult CreateNewTXTToHTMLConvFactory(const nsIID& aIID, void** aResult);
     19 nsresult CreateNewHTTPCompressConvFactory(const nsIID& aIID, void** aResult);
     20 nsresult CreateNewUnknownDecoderFactory(const nsIID& aIID, void** aResult);
     21 nsresult CreateNewBinaryDetectorFactory(const nsIID& aIID, void** aResult);
     22 nsresult nsLoadGroupConstructor(const nsIID& aIID, void** aResult);
     23 
     24 extern nsresult net_NewIncrementalDownload(const nsIID&, void**);
     25 
     26 namespace mozilla {
     27 namespace net {
     28 nsresult WebSocketChannelConstructor(const nsIID& aIID, void** aResult);
     29 nsresult WebSocketSSLChannelConstructor(const nsIID& aIID, void** aResult);
     30 }  // namespace net
     31 }  // namespace mozilla
     32 
     33 #endif