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