3 * \brief Version number
5 * \author Copyright (C) 1999-2006 Igor Pavlov
6 * \author Copyright (C) 2007 Lasse Collin
8 * This library is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU Lesser General Public
10 * License as published by the Free Software Foundation; either
11 * version 2.1 of the License, or (at your option) any later version.
13 * This library is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 * Lesser General Public License for more details.
19 #ifndef LZMA_H_INTERNAL
20 # error Never include this file directly. Use <lzma.h> instead.
25 * \brief Compile-time version number
27 * The version number is of format xyyyzzzs where
31 * - s indicates stability: 0 = alpha, 1 = beta, 2 = stable
33 * See the README file for details about the version numbering.
35 * \note The version number of LZMA Utils (and thus liblzma)
36 * has nothing to with the version number of LZMA SDK.
38 #define LZMA_VERSION UINT32_C(49990030)
42 * \brief liblzma version number as an integer
44 * This is the value of LZMA_VERSION macro at the compile time of liblzma.
45 * This allows the application to compare if it was built against the same,
46 * older, or newer version of liblzma that is currently running.
48 extern const uint32_t lzma_version_number;
52 * \brief Returns versions number of liblzma as a string
54 * This function may be useful if you want to display which version of
55 * libilzma your application is currently using.
57 extern const char *const lzma_version_string;