X-Git-Url: http://git.indexdata.com/?p=phpyaz-moved-to-github.git;a=blobdiff_plain;f=php_yaz.h;h=0907fa8aa255e8f7a2661268c829b0f37cd3f08f;hp=7b0730406112261454134dc1d505031040c322b7;hb=HEAD;hpb=e35064b7f872961b6a00ab55c97f6ea4d26ed027 diff --git a/php_yaz.h b/php_yaz.h index 7b07304..0907fa8 100644 --- a/php_yaz.h +++ b/php_yaz.h @@ -1,25 +1,12 @@ -/* - +----------------------------------------------------------------------+ - | PHP Version 5 | - +----------------------------------------------------------------------+ - | Copyright (c) 1997-2011 The PHP Group | - +----------------------------------------------------------------------+ - | This source file is subject to version 3.01 of the PHP license, | - | that is bundled with this package in the file LICENSE, and is | - | available through the world-wide-web at the following url: | - | http://www.php.net/license/31_0.txt. | - | If you did not receive a copy of the PHP license and are unable to | - | obtain it through the world-wide-web, please send a note to | - | license@php.net so we can mail you a copy immediately. | - +----------------------------------------------------------------------+ - | Author: Adam Dickmeiss | - +----------------------------------------------------------------------+ +/* This file is part of PHP YAZ. + * Copyright (C) Index Data 2004-2014 + * See the file LICENSE for details. */ #ifndef PHP_YAZ_H #define PHP_YAZ_H -#define PHP_YAZ_VERSION "1.1.2" +#define PHP_YAZ_VERSION "1.1.9" #if HAVE_YAZ @@ -49,6 +36,10 @@ PHP_FUNCTION(yaz_es_result); PHP_FUNCTION(yaz_present); PHP_FUNCTION(yaz_ccl_conf); PHP_FUNCTION(yaz_ccl_parse); +#if YAZ_VERSIONL >= 0x050100 +PHP_FUNCTION(yaz_cql_parse); +PHP_FUNCTION(yaz_cql_conf); +#endif PHP_FUNCTION(yaz_database); PHP_FUNCTION(yaz_sort); PHP_FUNCTION(yaz_schema); @@ -63,7 +54,7 @@ ZEND_BEGIN_MODULE_GLOBALS(yaz) char *log_file; char *log_mask; ZEND_END_MODULE_GLOBALS(yaz) - + #ifdef ZTS #define YAZSG(v) TSRMG(yaz_globals_id, zend_yaz_globals *, v) #else