version.h | version.h | |||
---|---|---|---|---|
/** | /** | |||
* \file version.h | * \file version.h | |||
* | * | |||
* \brief Run-time version information | * \brief Run-time version information | |||
* | * | |||
* Copyright (C) 2006-2010, Brainspark B.V. | * Copyright (C) 2006-2012, Brainspark B.V. | |||
* | * | |||
* This file is part of PolarSSL (http://www.polarssl.org) | * This file is part of PolarSSL (http://www.polarssl.org) | |||
* Lead Maintainer: Paul Bakker <polarssl_maintainer at polarssl.org> | * Lead Maintainer: Paul Bakker <polarssl_maintainer at polarssl.org> | |||
* | * | |||
* All rights reserved. | * All rights reserved. | |||
* | * | |||
* This program is free software; you can redistribute it and/or modify | * This program is free software; you can redistribute it and/or modify | |||
* it under the terms of the GNU General Public License as published by | * it under the terms of the GNU General Public License as published by | |||
* the Free Software Foundation; either version 2 of the License, or | * the Free Software Foundation; either version 2 of the License, or | |||
* (at your option) any later version. | * (at your option) any later version. | |||
skipping to change at line 42 | skipping to change at line 42 | |||
#define POLARSSL_VERSION_H | #define POLARSSL_VERSION_H | |||
#include "config.h" | #include "config.h" | |||
/** | /** | |||
* The version number x.y.z is split into three parts. | * The version number x.y.z is split into three parts. | |||
* Major, Minor, Patchlevel | * Major, Minor, Patchlevel | |||
*/ | */ | |||
#define POLARSSL_VERSION_MAJOR 1 | #define POLARSSL_VERSION_MAJOR 1 | |||
#define POLARSSL_VERSION_MINOR 1 | #define POLARSSL_VERSION_MINOR 1 | |||
#define POLARSSL_VERSION_PATCH 2 | #define POLARSSL_VERSION_PATCH 3 | |||
/** | /** | |||
* The single version number has the following structure: | * The single version number has the following structure: | |||
* MMNNPP00 | * MMNNPP00 | |||
* Major version | Minor version | Patch version | * Major version | Minor version | Patch version | |||
*/ | */ | |||
#define POLARSSL_VERSION_NUMBER 0x01010200 | #define POLARSSL_VERSION_NUMBER 0x01010300 | |||
#define POLARSSL_VERSION_STRING "1.1.2" | #define POLARSSL_VERSION_STRING "1.1.3" | |||
#define POLARSSL_VERSION_STRING_FULL "PolarSSL 1.1.2" | #define POLARSSL_VERSION_STRING_FULL "PolarSSL 1.1.3" | |||
#if defined(POLARSSL_VERSION_C) | #if defined(POLARSSL_VERSION_C) | |||
/** | /** | |||
* Get the version number. | * Get the version number. | |||
* | * | |||
* \return The constructed version number in the format | * \return The constructed version number in the format | |||
* MMNNPP00 (Major, Minor, Patch). | * MMNNPP00 (Major, Minor, Patch). | |||
*/ | */ | |||
unsigned int version_get_number( void ); | unsigned int version_get_number( void ); | |||
End of changes. 3 change blocks. | ||||
5 lines changed or deleted | 5 lines changed or added | |||