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: Hartmut Holzgraefe <hholzgra@php.net> |
16
+----------------------------------------------------------------------+
22
/* You should tweak config.m4 so this symbol (or some else suitable)
27
extern zend_module_entry ctype_module_entry;
28
#define phpext_ctype_ptr &ctype_module_entry
31
#define PHP_CTYPE_API __declspec(dllexport)
36
PHP_MINIT_FUNCTION(ctype);
37
PHP_MSHUTDOWN_FUNCTION(ctype);
38
PHP_RINIT_FUNCTION(ctype);
39
PHP_RSHUTDOWN_FUNCTION(ctype);
40
PHP_MINFO_FUNCTION(ctype);
42
PHP_FUNCTION(ctype_alnum);
43
PHP_FUNCTION(ctype_alpha);
44
PHP_FUNCTION(ctype_cntrl);
45
PHP_FUNCTION(ctype_digit);
46
PHP_FUNCTION(ctype_lower);
47
PHP_FUNCTION(ctype_graph);
48
PHP_FUNCTION(ctype_print);
49
PHP_FUNCTION(ctype_punct);
50
PHP_FUNCTION(ctype_space);
51
PHP_FUNCTION(ctype_upper);
52
PHP_FUNCTION(ctype_xdigit);
55
Declare any global variables you may need between the BEGIN
58
ZEND_BEGIN_MODULE_GLOBALS(ctype)
60
ZEND_END_MODULE_GLOBALS(ctype)
64
#define CTYPEG(v) TSRMG(ctype_globals_id, php_ctype_globals *, v)
66
#define CTYPEG(v) (ctype_globals.v)
71
#define phpext_ctype_ptr NULL
75
#endif /* PHP_CTYPE_H */