]> icculus.org git repositories - icculus/xz.git/blob - src/liblzma/api/lzma/version.h
Bumped version number to 4.999.3alpha. It will become 5.0.0
[icculus/xz.git] / src / liblzma / api / lzma / version.h
1 /**
2  * \file        lzma/version.h
3  * \brief       Version number
4  *
5  * \author      Copyright (C) 1999-2006 Igor Pavlov
6  * \author      Copyright (C) 2007 Lasse Collin
7  *
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.
12  *
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.
17  */
18
19 #ifndef LZMA_H_INTERNAL
20 #       error Never include this file directly. Use <lzma.h> instead.
21 #endif
22
23
24 /**
25  * \brief       Compile-time version number
26  *
27  * The version number is of format xyyyzzzs where
28  *  - x = major
29  *  - yyy = minor
30  *  - zzz = revision
31  *  - s indicates stability: 0 = alpha, 1 = beta, 2 = stable
32  *
33  * See the README file for details about the version numbering.
34  *
35  * \note        The version number of LZMA Utils (and thus liblzma)
36  *              has nothing to with the version number of LZMA SDK.
37  */
38 #define LZMA_VERSION UINT32_C(49990030)
39
40
41 /**
42  * \brief       liblzma version number as an integer
43  *
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.
47  */
48 extern const uint32_t lzma_version_number;
49
50
51 /**
52  * \brief       Returns versions number of liblzma as a string
53  *
54  * This function may be useful if you want to display which version of
55  * libilzma your application is currently using.
56  */
57 extern const char *const lzma_version_string;