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 * The same xyyyzzz triplet is never reused with different stability levels.
34 * For example, if 5.1.0alpha has been released, there will never be 5.1.0beta
37 * \note The version number of liblzma has nothing to with
38 * the version number of Igor Pavlov's LZMA SDK.
40 #define LZMA_VERSION UINT32_C(49990071)
44 * \brief liblzma version number as an integer
46 * Returns the value of LZMA_VERSION macro at the compile time of liblzma.
47 * This allows the application to compare if it was built against the same,
48 * older, or newer version of liblzma that is currently running.
50 extern uint32_t lzma_version_number(void) lzma_attr_const;
54 * \brief Version number of liblzma as a string
56 * This function may be useful if you want to display which version of
57 * liblzma your application is currently using.
59 extern const char *lzma_version_string(void) lzma_attr_const;