zstdcli_trace.h 617 B

123456789101112131415161718192021222324
  1. /*
  2. * Copyright (c) Meta Platforms, Inc. and affiliates.
  3. * All rights reserved.
  4. *
  5. * This source code is licensed under both the BSD-style license (found in the
  6. * LICENSE file in the root directory of this source tree) and the GPLv2 (found
  7. * in the COPYING file in the root directory of this source tree).
  8. * You may select, at your option, one of the above-listed licenses.
  9. */
  10. #ifndef ZSTDCLI_TRACE_H
  11. #define ZSTDCLI_TRACE_H
  12. /**
  13. * Enable tracing - log to filename.
  14. */
  15. void TRACE_enable(char const* filename);
  16. /**
  17. * Shut down the tracing library.
  18. */
  19. void TRACE_finish(void);
  20. #endif /* ZSTDCLI_TRACE_H */