2 +----------------------------------------------------------------------+
4 +----------------------------------------------------------------------+
5 | Copyright (c) 1997-2011 The PHP Group |
6 +----------------------------------------------------------------------+
7 | This source file is subject to version 3.01 of the PHP license, |
8 | that is bundled with this package in the file LICENSE, and is |
9 | available through the world-wide-web at the following url: |
10 | http://www.php.net/license/31_0.txt. |
11 | If you did not receive a copy of the PHP license and are unable to |
12 | obtain it through the world-wide-web, please send a note to |
13 | license@php.net so we can mail you a copy immediately. |
14 +----------------------------------------------------------------------+
15 | Author: Adam Dickmeiss <adam@indexdata.dk> |
16 +----------------------------------------------------------------------+
22 #define PHP_YAZ_VERSION "1.1.0"
30 extern zend_module_entry yaz_module_entry;
31 #define yaz_module_ptr &yaz_module_entry
33 PHP_FUNCTION(yaz_connect);
34 PHP_FUNCTION(yaz_close);
35 PHP_FUNCTION(yaz_search);
36 PHP_FUNCTION(yaz_wait);
37 PHP_FUNCTION(yaz_errno);
38 PHP_FUNCTION(yaz_error);
39 PHP_FUNCTION(yaz_addinfo);
40 PHP_FUNCTION(yaz_hits);
41 PHP_FUNCTION(yaz_record);
42 PHP_FUNCTION(yaz_syntax);
43 PHP_FUNCTION(yaz_element);
44 PHP_FUNCTION(yaz_range);
45 PHP_FUNCTION(yaz_itemorder);
46 PHP_FUNCTION(yaz_scan);
47 PHP_FUNCTION(yaz_scan_result);
48 PHP_FUNCTION(yaz_es_result);
49 PHP_FUNCTION(yaz_present);
50 PHP_FUNCTION(yaz_ccl_conf);
51 PHP_FUNCTION(yaz_ccl_parse);
52 PHP_FUNCTION(yaz_database);
53 PHP_FUNCTION(yaz_sort);
54 PHP_FUNCTION(yaz_schema);
55 PHP_FUNCTION(yaz_set_option);
56 PHP_FUNCTION(yaz_get_option);
59 ZEND_BEGIN_MODULE_GLOBALS(yaz)
65 ZEND_END_MODULE_GLOBALS(yaz)
68 #define YAZSG(v) TSRMG(yaz_globals_id, zend_yaz_globals *, v)
70 #define YAZSG(v) (yaz_globals.v)
75 #define yaz_module_ptr NULL
78 #define phpext_yaz_ptr yaz_module_ptr