locale.h 1.3 KB

12345678910111213141516171819202122232425262728293031323334
  1. /*
  2. +----------------------------------------------------------------------+
  3. | This source file is subject to version 3.01 of the PHP license, |
  4. | that is bundled with this package in the file LICENSE, and is |
  5. | available through the world-wide-web at the following url: |
  6. | https://www.php.net/license/3_01.txt |
  7. | If you did not receive a copy of the PHP license and are unable to |
  8. | obtain it through the world-wide-web, please send a note to |
  9. | license@php.net so we can mail you a copy immediately. |
  10. +----------------------------------------------------------------------+
  11. | Authors: Kirti Velankar <kirtig@yahoo-inc.com> |
  12. +----------------------------------------------------------------------+
  13. */
  14. #ifndef LOCALE_LOCALE_H
  15. #define LOCALE_LOCALE_H
  16. #include <php.h>
  17. void locale_register_constants( INIT_FUNC_ARGS );
  18. #define OPTION_DEFAULT NULL
  19. #define LOC_LANG_TAG "language"
  20. #define LOC_SCRIPT_TAG "script"
  21. #define LOC_REGION_TAG "region"
  22. #define LOC_VARIANT_TAG "variant"
  23. #define LOC_EXTLANG_TAG "extlang"
  24. #define LOC_GRANDFATHERED_LANG_TAG "grandfathered"
  25. #define LOC_PRIVATE_TAG "private"
  26. #define LOC_CANONICALIZE_TAG "canonicalize"
  27. #define LOCALE_INI_NAME "intl.default_locale"
  28. #endif // LOCALE_LOCALE_H