summaryrefslogtreecommitdiff
path: root/main/php_ini.h
diff options
context:
space:
mode:
Diffstat (limited to 'main/php_ini.h')
-rw-r--r--main/php_ini.h19
1 files changed, 10 insertions, 9 deletions
diff --git a/main/php_ini.h b/main/php_ini.h
index fccc150082..715e2111f1 100644
--- a/main/php_ini.h
+++ b/main/php_ini.h
@@ -1,6 +1,6 @@
/*
+----------------------------------------------------------------------+
- | PHP Version 5 |
+ | PHP Version 7 |
+----------------------------------------------------------------------+
| Copyright (c) 1997-2016 The PHP Group |
+----------------------------------------------------------------------+
@@ -25,19 +25,20 @@
BEGIN_EXTERN_C()
PHPAPI void config_zval_dtor(zval *zvalue);
-int php_init_config(TSRMLS_D);
+int php_init_config(void);
int php_shutdown_config(void);
-void php_ini_register_extensions(TSRMLS_D);
-PHPAPI zval *cfg_get_entry(const char *name, uint name_length);
-PHPAPI int cfg_get_long(const char *varname, long *result);
+void php_ini_register_extensions(void);
+PHPAPI zval *cfg_get_entry_ex(zend_string *name);
+PHPAPI zval *cfg_get_entry(const char *name, size_t name_length);
+PHPAPI int cfg_get_long(const char *varname, zend_long *result);
PHPAPI int cfg_get_double(const char *varname, double *result);
PHPAPI int cfg_get_string(const char *varname, char **result);
-PHPAPI int php_parse_user_ini_file(const char *dirname, char *ini_filename, HashTable *target_hash TSRMLS_DC);
-PHPAPI void php_ini_activate_config(HashTable *source_hash, int modify_type, int stage TSRMLS_DC);
+PHPAPI int php_parse_user_ini_file(const char *dirname, char *ini_filename, HashTable *target_hash);
+PHPAPI void php_ini_activate_config(HashTable *source_hash, int modify_type, int stage);
PHPAPI int php_ini_has_per_dir_config(void);
PHPAPI int php_ini_has_per_host_config(void);
-PHPAPI void php_ini_activate_per_dir_config(char *path, uint path_len TSRMLS_DC);
-PHPAPI void php_ini_activate_per_host_config(const char *host, uint host_len TSRMLS_DC);
+PHPAPI void php_ini_activate_per_dir_config(char *path, size_t path_len);
+PHPAPI void php_ini_activate_per_host_config(const char *host, size_t host_len);
PHPAPI HashTable* php_ini_get_configuration_hash(void);
END_EXTERN_C()