2007-12-08 22:42:33 +00:00
|
|
|
/**
|
|
|
|
* \file lzma/version.h
|
|
|
|
* \brief Version number
|
|
|
|
*
|
|
|
|
* \author Copyright (C) 1999-2006 Igor Pavlov
|
|
|
|
* \author Copyright (C) 2007 Lasse Collin
|
|
|
|
*
|
|
|
|
* This library is free software; you can redistribute it and/or
|
|
|
|
* modify it under the terms of the GNU Lesser General Public
|
|
|
|
* License as published by the Free Software Foundation; either
|
|
|
|
* version 2.1 of the License, or (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This library is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
* Lesser General Public License for more details.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef LZMA_H_INTERNAL
|
|
|
|
# error Never include this file directly. Use <lzma.h> instead.
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
* \brief Compile-time version number
|
|
|
|
*
|
2008-04-25 10:32:35 +00:00
|
|
|
* The version number is of format xyyyzzzs where
|
|
|
|
* - x = major
|
|
|
|
* - yyy = minor
|
|
|
|
* - zzz = revision
|
2007-12-08 22:42:33 +00:00
|
|
|
* - s indicates stability: 0 = alpha, 1 = beta, 2 = stable
|
2008-04-25 10:32:35 +00:00
|
|
|
*
|
2008-12-31 15:15:03 +00:00
|
|
|
* The same xyyyzzz triplet is never reused with different stability levels.
|
|
|
|
* For example, if 5.1.0alpha has been released, there will never be 5.1.0beta
|
|
|
|
* or 5.1.0 stable.
|
2008-04-25 10:32:35 +00:00
|
|
|
*
|
2008-12-15 17:39:13 +00:00
|
|
|
* \note The version number of liblzma has nothing to with
|
|
|
|
* the version number of Igor Pavlov's LZMA SDK.
|
2007-12-08 22:42:33 +00:00
|
|
|
*/
|
2008-12-31 18:01:00 +00:00
|
|
|
#define LZMA_VERSION UINT32_C(49990081)
|
2007-12-08 22:42:33 +00:00
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
* \brief liblzma version number as an integer
|
|
|
|
*
|
2008-08-28 19:53:15 +00:00
|
|
|
* Returns the value of LZMA_VERSION macro at the compile time of liblzma.
|
2007-12-08 22:42:33 +00:00
|
|
|
* This allows the application to compare if it was built against the same,
|
|
|
|
* older, or newer version of liblzma that is currently running.
|
|
|
|
*/
|
2009-02-02 18:14:03 +00:00
|
|
|
extern LZMA_API(uint32_t) lzma_version_number(void) lzma_attr_const;
|
2007-12-08 22:42:33 +00:00
|
|
|
|
|
|
|
|
|
|
|
/**
|
2008-08-28 19:53:15 +00:00
|
|
|
* \brief Version number of liblzma as a string
|
2007-12-08 22:42:33 +00:00
|
|
|
*
|
|
|
|
* This function may be useful if you want to display which version of
|
2008-08-28 19:53:15 +00:00
|
|
|
* liblzma your application is currently using.
|
2007-12-08 22:42:33 +00:00
|
|
|
*/
|
2009-02-02 18:14:03 +00:00
|
|
|
extern LZMA_API(const char *) lzma_version_string(void) lzma_attr_const;
|