nsAuth.h 730 B

12345678910111213141516171819202122232425262728
  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. #ifndef nsAuth_h__
  5. #define nsAuth_h__
  6. /* types of packages */
  7. enum pType {
  8. PACKAGE_TYPE_KERBEROS,
  9. PACKAGE_TYPE_NEGOTIATE,
  10. PACKAGE_TYPE_NTLM
  11. };
  12. #include "mozilla/Logging.h"
  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. #define LOG(args) MOZ_LOG(gNegotiateLog, mozilla::LogLevel::Debug, args)
  21. #endif /* !defined( nsAuth_h__ ) */