xref: /PHP-5.3/ext/intl/normalizer/normalizer.h (revision 9762609c)
1 /*
2    +----------------------------------------------------------------------+
3    | PHP Version 5                                                        |
4    +----------------------------------------------------------------------+
5    | This source file is subject to version 3.01 of the PHP license,      |
6    | that is bundled with this package in the file LICENSE, and is        |
7    | available through the world-wide-web at the following url:           |
8    | http://www.php.net/license/3_01.txt                                  |
9    | If you did not receive a copy of the PHP license and are unable to   |
10    | obtain it through the world-wide-web, please send a note to          |
11    | license@php.net so we can mail you a copy immediately.               |
12    +----------------------------------------------------------------------+
13    | Authors: Ed Batutis <ed@batutis.com>                                 |
14    +----------------------------------------------------------------------+
15  */
16 
17 #ifndef NORMALIZER_NORMALIZER_H
18 #define NORMALIZER_NORMALIZER_H
19 
20 #include <php.h>
21 #include <unicode/utypes.h>
22 #include <unicode/unorm.h>
23 
24 #define NORMALIZER_NONE UNORM_NONE
25 #define NORMALIZER_FORM_D UNORM_NFD
26 #define NORMALIZER_NFD UNORM_NFD
27 #define NORMALIZER_FORM_KD UNORM_NFKD
28 #define NORMALIZER_NFKD UNORM_NFKD
29 #define NORMALIZER_FORM_C UNORM_NFC
30 #define NORMALIZER_NFC UNORM_NFC
31 #define NORMALIZER_FORM_KC UNORM_NFKC
32 #define NORMALIZER_NFKC UNORM_NFKC
33 #define NORMALIZER_DEFAULT UNORM_DEFAULT
34 
35 void normalizer_register_constants( INIT_FUNC_ARGS );
36 
37 #endif // NORMALIZER_NORMALIZER_H
38