summaryrefslogtreecommitdiff
path: root/ext/unicode/php_property.h
blob: 828910828d99c277db80517cc21b86724d18d180 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
/*
   +----------------------------------------------------------------------+
   | PHP Version 6                                                        |
   +----------------------------------------------------------------------+
   | 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/3_01.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.               |
   +----------------------------------------------------------------------+
   | Authors: Andrei Zmievski <andrei@php.net>                            |
   +----------------------------------------------------------------------+
*/

/* $Id$ */ 

#ifndef PHP_PROPERTY_H
#define PHP_PROPERTY_H

/*
 * C/POSIX migration functions
 */
PHP_FUNCTION(char_is_lower);
PHP_FUNCTION(char_is_upper);
PHP_FUNCTION(char_is_digit);
PHP_FUNCTION(char_is_alpha);
PHP_FUNCTION(char_is_alnum);
PHP_FUNCTION(char_is_xdigit);
PHP_FUNCTION(char_is_punct);
PHP_FUNCTION(char_is_graph);
PHP_FUNCTION(char_is_blank);
PHP_FUNCTION(char_is_space);
PHP_FUNCTION(char_is_cntrl);
PHP_FUNCTION(char_is_print);

/*
 * Additional binary property functions
 */

PHP_FUNCTION(char_is_defined);
PHP_FUNCTION(char_is_id_start);
PHP_FUNCTION(char_is_id_part);
PHP_FUNCTION(char_is_id_ignorable);
PHP_FUNCTION(char_is_iso_control);
PHP_FUNCTION(char_is_mirrored);
PHP_FUNCTION(char_is_base);
PHP_FUNCTION(char_is_whitespace);
PHP_FUNCTION(char_is_alphabetic);
PHP_FUNCTION(char_is_uppercase);
PHP_FUNCTION(char_is_lowercase);
PHP_FUNCTION(char_is_titlecase);

/*
 * Single character property functions.
 */

PHP_FUNCTION(char_get_numeric_value);
PHP_FUNCTION(char_get_combining_class);
PHP_FUNCTION(char_get_digit_value);
PHP_FUNCTION(char_get_mirrored);
PHP_FUNCTION(char_get_direction);
PHP_FUNCTION(char_get_age);
PHP_FUNCTION(char_get_type);
PHP_FUNCTION(char_is_valid);

/*
 * Other functions
 */

PHP_FUNCTION(char_from_digit);
PHP_FUNCTION(char_from_name);
PHP_FUNCTION(char_get_name);

PHP_FUNCTION(char_has_binary_property);
PHP_FUNCTION(char_get_property_value);
PHP_FUNCTION(char_get_property_value);
PHP_FUNCTION(char_get_property_min_value);
PHP_FUNCTION(char_get_property_max_value);
PHP_FUNCTION(char_get_property_name);
PHP_FUNCTION(char_get_property_from_name);
PHP_FUNCTION(char_get_property_value_name);
PHP_FUNCTION(char_get_property_value_from_name);

PHP_FUNCTION(char_enum_names);
PHP_FUNCTION(char_enum_types);

#endif /* PHP_PROPERTY_H */


/*
 * Local variables:
 * tab-width: 4
 * c-basic-offset: 4
 * End:
 * vim600: noet sw=4 ts=4 fdm=marker
 * vim<600: noet sw=4 ts=4
 */