xref: /freebsd/sys/contrib/zstd/programs/zstdcli_trace.h (revision 7fdf597e96a02165cfe22ff357b857d5fa15ed8a)
1 /*
2  * Copyright (c) Facebook, Inc.
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 
11 #ifndef ZSTDCLI_TRACE_H
12 #define ZSTDCLI_TRACE_H
13 
14 /**
15  * Enable tracing - log to filename.
16  */
17 void TRACE_enable(char const* filename);
18 
19 /**
20  * Shut down the tracing library.
21  */
22 void TRACE_finish(void);
23 
24 #endif /* ZSTDCLI_TRACE_H */
25