Back to index

php5  5.3.10
collator_convert.h
Go to the documentation of this file.
00001 /*
00002    +----------------------------------------------------------------------+
00003    | PHP Version 5                                                        |
00004    +----------------------------------------------------------------------+
00005    | This source file is subject to version 3.01 of the PHP license,      |
00006    | that is bundled with this package in the file LICENSE, and is        |
00007    | available through the world-wide-web at the following url:           |
00008    | http://www.php.net/license/3_01.txt                                  |
00009    | If you did not receive a copy of the PHP license and are unable to   |
00010    | obtain it through the world-wide-web, please send a note to          |
00011    | license@php.net so we can mail you a copy immediately.               |
00012    +----------------------------------------------------------------------+
00013    | Authors: Vadim Savchuk <vsavchuk@productengine.com>                  |
00014    |          Dmitry Lakhtyuk <dlakhtyuk@productengine.com>               |
00015    +----------------------------------------------------------------------+
00016  */
00017 
00018 #ifndef COLLATOR_CONVERT_H
00019 #define COLLATOR_CONVERT_H
00020 
00021 #include <php.h>
00022 #include <unicode/utypes.h>
00023 
00024 void collator_convert_hash_from_utf8_to_utf16( HashTable* hash, UErrorCode* status );
00025 void collator_convert_hash_from_utf16_to_utf8( HashTable* hash, UErrorCode* status );
00026 
00027 zval* collator_convert_zstr_utf16_to_utf8( zval* utf16_zval );
00028 zval* collator_convert_zstr_utf8_to_utf16( zval* utf8_zval );
00029 
00030 zval* collator_normalize_sort_argument( zval* arg );
00031 zval* collator_convert_object_to_string( zval* obj TSRMLS_DC );
00032 zval* collator_convert_string_to_number( zval* arg );
00033 zval* collator_convert_string_to_number_if_possible( zval* str );
00034 zval* collator_convert_string_to_double( zval* str );
00035 
00036 zval* collator_make_printable_zval( zval* arg );
00037 
00038 #endif // COLLATOR_CONVERT_H