xref: /PHP-7.2/ext/intl/locale/locale.h (revision b7a7b1a6)
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 /* $Id$ */
18 
19 #ifndef LOCALE_LOCALE_H
20 #define LOCALE_LOCALE_H
21 
22 #include <php.h>
23 
24 void locale_register_constants( INIT_FUNC_ARGS );
25 
26 #define OPTION_DEFAULT NULL
27 #define LOC_LANG_TAG "language"
28 #define LOC_SCRIPT_TAG "script"
29 #define LOC_REGION_TAG "region"
30 #define LOC_VARIANT_TAG "variant"
31 #define LOC_EXTLANG_TAG "extlang"
32 #define LOC_GRANDFATHERED_LANG_TAG "grandfathered"
33 #define LOC_PRIVATE_TAG "private"
34 #define LOC_CANONICALIZE_TAG "canonicalize"
35 
36 #define LOCALE_INI_NAME "intl.default_locale"
37 
38 #endif // LOCALE_LOCALE_H
39