1 /* 2 +----------------------------------------------------------------------+ 3 | Copyright (c) The PHP Group | 4 +----------------------------------------------------------------------+ 5 | This source file is subject to version 3.01 of the PHP license, | 6 | that is bundled with this package in the file LICENSE, and is | 7 | available through the world-wide-web at the following url: | 8 | http://www.php.net/license/3_01.txt | 9 | If you did not receive a copy of the PHP license and are unable to | 10 | obtain it through the world-wide-web, please send a note to | 11 | license@php.net so we can mail you a copy immediately. | 12 +----------------------------------------------------------------------+ 13 | Authors: | 14 | Israel Ekpo <iekpo@php.net> | 15 | Omar Shaban <omars@php.net> | 16 +----------------------------------------------------------------------+ 17 */ 18 19 #include "php_version.h" 20 21 #ifndef PHP_SOLR_VERSION_H 22 #define PHP_SOLR_VERSION_H 23 24 #define PHP_SOLR_MAJOR_VERSION 2 25 #define PHP_SOLR_MINOR_VERSION 5 26 #define PHP_SOLR_PATCH_VERSION 1 27 28 #define PHP_SOLR_RELEASE_VERSION PHP_SOLR_PATCH_VERSION 29 30 #define PHP_SOLR_VERSION "2.5.1" 31 #define PHP_SOLR_DOTTED_VERSION PHP_SOLR_VERSION 32 33 34 /** 35 * Extension version numbers using hexadecimal numbers 36 * 37 * This is the numeric version of the extension, meant for easier 38 * parsing and comparisons by programs. The PHP_SOLR_VERSION_ID define will 39 * always follow this syntax: 40 * 41 * 0xXXYYZZ 42 * 43 * Where XX, YY and ZZ are the main version, minor version and patch numbers in 44 * hexadecimal (using 8 bits each). All three numbers are always represented 45 * using two digits. 1.2 would appear as "0x010200" while version 9.11.7 46 * appears as "0x090b07". 47 * 48 * This 6-digit (24 bits) hexadecimal number does not show pre-release number, 49 * and it is always a greater number in a more recent release. It makes 50 * comparisons with greater than and less than work. 51 */ 52 53 #define PHP_SOLR_VERSION_ID 0x020500 54 55 #define SOLR_CLIENT_USER_AGENT "PHP Solr Client 2.5.0" 56 57 #endif /* PHP_SOLR_VERSION_H */ 58 59 /* 60 * Local variables: 61 * tab-width: 4 62 * c-basic-offset: 4 63 * indent-tabs-mode: t 64 * End: 65 * vim600: fdm=marker 66 * vim: noet sw=4 ts=4 67 */ 68