tor-browser

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

nsAuth.h (714B)


      1 /* This Source Code Form is subject to the terms of the Mozilla Public
      2 * License, v. 2.0. If a copy of the MPL was not distributed with this
      3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
      4 
      5 #ifndef nsAuth_h__
      6 #define nsAuth_h__
      7 
      8 /* types of packages */
      9 enum pType { PACKAGE_TYPE_KERBEROS, PACKAGE_TYPE_NEGOTIATE, PACKAGE_TYPE_NTLM };
     10 
     11 #include "mozilla/Logging.h"
     12 
     13 //
     14 // in order to do logging, the following environment variables need to be set:
     15 //
     16 //      set NSPR_LOG_MODULES=negotiateauth:4
     17 //      set NSPR_LOG_FILE=negotiateauth.log
     18 //
     19 extern mozilla::LazyLogModule gNegotiateLog;
     20 
     21 #define LOG(args) MOZ_LOG(gNegotiateLog, mozilla::LogLevel::Debug, args)
     22 
     23 #endif /* !defined( nsAuth_h__ ) */