logging_types.h 623 B

1234567891011121314151617181920212223
  1. /* Copyright (c) 2001, Matej Pfajfar.
  2. * Copyright (c) 2001-2004, Roger Dingledine.
  3. * Copyright (c) 2004-2006, Roger Dingledine, Nick Mathewson.
  4. * Copyright (c) 2007-2019, The Tor Project, Inc. */
  5. /* See LICENSE for licensing information */
  6. /**
  7. * \file logging_types.h
  8. *
  9. * \brief Global definition for types used by logging systems.
  10. **/
  11. #ifndef TOR_LOGGING_TYPES_H
  12. #define TOR_LOGGING_TYPES_H
  13. /* We define this here so that it can be used both by backtrace.h and
  14. * log.h.
  15. */
  16. /** Mask of zero or more log domains, OR'd together. */
  17. typedef uint64_t log_domain_mask_t;
  18. #endif /* !defined(TOR_LOGGING_TYPES_H) */