1 /* 2 +----------------------------------------------------------------------+ 3 | PHP Version 5 | 4 +----------------------------------------------------------------------+ 5 | Copyright (c) 1997-2013 The PHP Group | 6 +----------------------------------------------------------------------+ 7 | This source file is subject to version 3.01 of the PHP license, | 8 | that is bundled with this package in the file LICENSE, and is | 9 | available through the world-wide-web at the following url: | 10 | http://www.php.net/license/3_01.txt | 11 | If you did not receive a copy of the PHP license and are unable to | 12 | obtain it through the world-wide-web, please send a note to | 13 | license@php.net so we can mail you a copy immediately. | 14 +----------------------------------------------------------------------+ 15 | Author: | 16 +----------------------------------------------------------------------+ 17 */ 18 19 /* $Id$ */ 20 21 #ifndef PHP3_COMPAT_H 22 #define PHP3_COMPAT_H 23 24 typedef zval pval; 25 26 #define pval_copy_constructor zval_copy_ctor 27 #define pval_destructor zval_dtor 28 29 #define _php3_hash_init zend_hash_init 30 #define _php3_hash_destroy zend_hash_destroy 31 32 #define _php3_hash_clean zend_hash_clean 33 34 #define _php3_hash_add_or_update zend_hash_add_or_update 35 #define _php3_hash_add zend_hash_add 36 #define _php3_hash_update zend_hash_update 37 38 #define _php3_hash_quick_add_or_update zend_hash_quick_add_or_update 39 #define _php3_hash_quick_add zend_hash_quick_add 40 #define _php3_hash_quick_update zend_hash_quick_update 41 42 #define _php3_hash_index_update_or_next_insert zend_hash_index_update_or_next_insert 43 #define _php3_hash_index_update zend_hash_index_update 44 #define _php3_hash_next_index_insert zend_hash_next_index_insert 45 46 #define _php3_hash_pointer_update zend_hash_pointer_update 47 48 #define _php3_hash_pointer_index_update_or_next_insert zend_hash_pointer_index_update_or_next_insert 49 #define _php3_hash_pointer_index_update zend_hash_pointer_index_update 50 #define _php3_hash_next_index_pointer_update zend_hash_next_index_pointer_update 51 #define _php3_hash_next_index_pointer_insert zend_hash_next_index_pointer_insert 52 53 #define _php3_hash_del_key_or_index zend_hash_del_key_or_index 54 #define _php3_hash_del zend_hash_del 55 #define _php3_hash_index_del zend_hash_index_del 56 57 #define _php3_hash_find zend_hash_find 58 #define _php3_hash_quick_find zend_hash_quick_find 59 #define _php3_hash_index_find zend_hash_index_find 60 61 #define _php3_hash_exists zend_hash_exists 62 #define _php3_hash_index_exists zend_hash_index_exists 63 #define _php3_hash_is_pointer zend_hash_is_pointer 64 #define _php3_hash_index_is_pointer zend_hash_index_is_pointer 65 #define _php3_hash_next_free_element zend_hash_next_free_element 66 67 #define _php3_hash_move_forward zend_hash_move_forward 68 #define _php3_hash_move_backwards zend_hash_move_backwards 69 #define _php3_hash_get_current_key zend_hash_get_current_key 70 #define _php3_hash_get_current_data zend_hash_get_current_data 71 #define _php3_hash_internal_pointer_reset zend_hash_internal_pointer_reset 72 #define _php3_hash_internal_pointer_end zend_hash_internal_pointer_end 73 74 #define _php3_hash_copy zend_hash_copy 75 #define _php3_hash_merge zend_hash_merge 76 #define _php3_hash_sort zend_hash_sort 77 #define _php3_hash_minmax zend_hash_minmax 78 79 #define _php3_hash_num_elements zend_hash_num_elements 80 81 #define _php3_hash_apply zend_hash_apply 82 #define _php3_hash_apply_with_argument zend_hash_apply_with_argument 83 84 85 #define php3_error php_error 86 87 #define php3_printf php_printf 88 #define _php3_sprintf php_sprintf 89 90 91 92 #define php3_module_entry zend_module_entry 93 94 #define php3_strndup zend_strndup 95 #define php3_str_tolower zend_str_tolower 96 #define php3_binary_strcmp zend_binary_strcmp 97 98 99 #define php3_list_insert zend_list_insert 100 #define php3_list_find zend_list_find 101 #define php3_list_delete zend_list_delete 102 103 #define php3_plist_insert zend_plist_insert 104 #define php3_plist_find zend_plist_find 105 #define php3_plist_delete zend_plist_delete 106 107 #define zend_print_pval zend_print_zval 108 #define zend_print_pval_r zend_print_zval_r 109 110 111 #define function_entry zend_function_entry 112 113 #define _php3_addslashes php_addslashes 114 #define _php3_stripslashes php_stripslashes 115 #define php3_dl php_dl 116 117 #define getParameters zend_get_parameters 118 #define getParametersArray zend_get_parameters_array 119 120 #define list_entry zend_rsrc_list_entry 121 122 #endif /* PHP3_COMPAT_H */ 123