locale.h 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738
  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: Kirti Velankar <kirtig@yahoo-inc.com> |
  14. +----------------------------------------------------------------------+
  15. */
  16. /* $Id$ */
  17. #ifndef LOCALE_LOCALE_H
  18. #define LOCALE_LOCALE_H
  19. #include <php.h>
  20. void locale_register_constants( INIT_FUNC_ARGS );
  21. #define OPTION_DEFAULT NULL
  22. #define LOC_LANG_TAG "language"
  23. #define LOC_SCRIPT_TAG "script"
  24. #define LOC_REGION_TAG "region"
  25. #define LOC_VARIANT_TAG "variant"
  26. #define LOC_EXTLANG_TAG "extlang"
  27. #define LOC_GRANDFATHERED_LANG_TAG "grandfathered"
  28. #define LOC_PRIVATE_TAG "private"
  29. #define LOC_CANONICALIZE_TAG "canonicalize"
  30. #define LOCALE_INI_NAME "intl.default_locale"
  31. #endif // LOCALE_LOCALE_H