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