diff options
Diffstat (limited to 'Zend/zend_ini.h')
-rw-r--r-- | Zend/zend_ini.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/Zend/zend_ini.h b/Zend/zend_ini.h index d227f3779d..590ff09cef 100644 --- a/Zend/zend_ini.h +++ b/Zend/zend_ini.h @@ -84,9 +84,9 @@ ZEND_API void display_ini_entries(zend_module_entry *module); ZEND_API zend_long zend_ini_long(const char *name, size_t name_length, int orig); ZEND_API double zend_ini_double(const char *name, size_t name_length, int orig); ZEND_API char *zend_ini_string(const char *name, size_t name_length, int orig); -ZEND_API char *zend_ini_string_ex(const char *name, size_t name_length, int orig, zend_bool *exists); +ZEND_API char *zend_ini_string_ex(const char *name, size_t name_length, int orig, bool *exists); ZEND_API zend_string *zend_ini_get_value(zend_string *name); -ZEND_API zend_bool zend_ini_parse_bool(zend_string *str); +ZEND_API bool zend_ini_parse_bool(zend_string *str); ZEND_API zend_result zend_ini_register_displayer(const char *name, uint32_t name_length, void (*displayer)(zend_ini_entry *ini_entry, int type)); @@ -141,12 +141,12 @@ END_EXTERN_C() #define INI_INT(name) zend_ini_long((name), strlen(name), 0) #define INI_FLT(name) zend_ini_double((name), strlen(name), 0) #define INI_STR(name) zend_ini_string_ex((name), strlen(name), 0, NULL) -#define INI_BOOL(name) ((zend_bool) INI_INT(name)) +#define INI_BOOL(name) ((bool) INI_INT(name)) #define INI_ORIG_INT(name) zend_ini_long((name), strlen(name), 1) #define INI_ORIG_FLT(name) zend_ini_double((name), strlen(name), 1) #define INI_ORIG_STR(name) zend_ini_string((name), strlen(name), 1) -#define INI_ORIG_BOOL(name) ((zend_bool) INI_ORIG_INT(name)) +#define INI_ORIG_BOOL(name) ((bool) INI_ORIG_INT(name)) #define REGISTER_INI_ENTRIES() zend_register_ini_entries(ini_entries, module_number) #define UNREGISTER_INI_ENTRIES() zend_unregister_ini_entries(module_number) @@ -180,8 +180,8 @@ END_EXTERN_C() /* INI parsing engine */ typedef void (*zend_ini_parser_cb_t)(zval *arg1, zval *arg2, zval *arg3, int callback_type, void *arg); BEGIN_EXTERN_C() -ZEND_API int zend_parse_ini_file(zend_file_handle *fh, zend_bool unbuffered_errors, int scanner_mode, zend_ini_parser_cb_t ini_parser_cb, void *arg); -ZEND_API int zend_parse_ini_string(char *str, zend_bool unbuffered_errors, int scanner_mode, zend_ini_parser_cb_t ini_parser_cb, void *arg); +ZEND_API int zend_parse_ini_file(zend_file_handle *fh, bool unbuffered_errors, int scanner_mode, zend_ini_parser_cb_t ini_parser_cb, void *arg); +ZEND_API int zend_parse_ini_string(char *str, bool unbuffered_errors, int scanner_mode, zend_ini_parser_cb_t ini_parser_cb, void *arg); END_EXTERN_C() /* INI entries */ |