2 +----------------------------------------------------------------------+
4 +----------------------------------------------------------------------+
5 | Copyright (c) 1997-2004 The PHP Group |
6 +----------------------------------------------------------------------+
7 | This source file is subject to version 3.0 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/3_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 +----------------------------------------------------------------------+
19 /* $Id: php_yaz.h,v 1.36 2008/02/20 10:11:27 dickmeiss Exp $ */
24 #define PHP_YAZ_VERSION "1.1.0"
32 extern zend_module_entry yaz_module_entry;
33 #define yaz_module_ptr &yaz_module_entry
35 PHP_FUNCTION(yaz_connect);
36 PHP_FUNCTION(yaz_close);
37 PHP_FUNCTION(yaz_search);
38 PHP_FUNCTION(yaz_wait);
39 PHP_FUNCTION(yaz_errno);
40 PHP_FUNCTION(yaz_error);
41 PHP_FUNCTION(yaz_addinfo);
42 PHP_FUNCTION(yaz_hits);
43 PHP_FUNCTION(yaz_record);
44 PHP_FUNCTION(yaz_syntax);
45 PHP_FUNCTION(yaz_element);
46 PHP_FUNCTION(yaz_range);
47 PHP_FUNCTION(yaz_itemorder);
48 PHP_FUNCTION(yaz_scan);
49 PHP_FUNCTION(yaz_scan_result);
50 PHP_FUNCTION(yaz_es_result);
51 PHP_FUNCTION(yaz_present);
52 PHP_FUNCTION(yaz_ccl_conf);
53 PHP_FUNCTION(yaz_ccl_parse);
54 PHP_FUNCTION(yaz_database);
55 PHP_FUNCTION(yaz_sort);
56 PHP_FUNCTION(yaz_schema);
57 PHP_FUNCTION(yaz_set_option);
58 PHP_FUNCTION(yaz_get_option);
61 ZEND_BEGIN_MODULE_GLOBALS(yaz)
67 ZEND_END_MODULE_GLOBALS(yaz)
70 #define YAZSG(v) TSRMG(yaz_globals_id, zend_yaz_globals *, v)
72 #define YAZSG(v) (yaz_globals.v)
77 #define yaz_module_ptr NULL
80 #define phpext_yaz_ptr yaz_module_ptr