xref: /PHP-7.4/ext/intl/locale/locale.h (revision 8d3f8ca1)
1 /*
2    +----------------------------------------------------------------------+
3    | PHP Version 7                                                        |
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: Kirti Velankar <kirtig@yahoo-inc.com>                       |
14    +----------------------------------------------------------------------+
15 */
16 
17 #ifndef LOCALE_LOCALE_H
18 #define LOCALE_LOCALE_H
19 
20 #include <php.h>
21 
22 void locale_register_constants( INIT_FUNC_ARGS );
23 
24 #define OPTION_DEFAULT NULL
25 #define LOC_LANG_TAG "language"
26 #define LOC_SCRIPT_TAG "script"
27 #define LOC_REGION_TAG "region"
28 #define LOC_VARIANT_TAG "variant"
29 #define LOC_EXTLANG_TAG "extlang"
30 #define LOC_GRANDFATHERED_LANG_TAG "grandfathered"
31 #define LOC_PRIVATE_TAG "private"
32 #define LOC_CANONICALIZE_TAG "canonicalize"
33 
34 #define LOCALE_INI_NAME "intl.default_locale"
35 
36 #endif // LOCALE_LOCALE_H
37