/* * Copyright (c) Meta Platforms, Inc. and affiliates. * All rights reserved. * * This source code is licensed under both the BSD-style license (found in the * LICENSE file in the root directory of this source tree) and the GPLv2 (found * in the COPYING file in the root directory of this source tree). * You may select, at your option, one of the above-listed licenses. */ /* The CLI parser and control flow live in rust/src/zstd_cli.rs. Keep this * translation unit as the stable C entry point used by program launchers. */ #include "../lib/zstd.h" int ZSTD_rust_cli_main(int argCount, const char* const argv[]); const char* ZSTD_rust_cli_expected_version(void); const char* ZSTD_rust_cli_expected_version(void) { return ZSTD_VERSION_STRING; } int main(int argCount, const char* argv[]) { return ZSTD_rust_cli_main(argCount, argv); }