projects
/
m6w6
/
ext-http
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
- split off files from tutorial.txt into lib/*.php
[m6w6/ext-http]
/
http.c
diff --git
a/http.c
b/http.c
index 75ca08854053cb51c9671f3e59697eaa05ef32f9..730bf4b416932582ff7c001fded93be2a2e3a863 100644
(file)
--- a/
http.c
+++ b/
http.c
@@
-102,6
+102,7
@@
zend_function_entry http_functions[] = {
PHP_FE(http_head, http_arg_pass_ref_3)
PHP_FE(http_post_data, http_arg_pass_ref_4)
PHP_FE(http_post_fields, http_arg_pass_ref_5)
PHP_FE(http_head, http_arg_pass_ref_3)
PHP_FE(http_post_data, http_arg_pass_ref_4)
PHP_FE(http_post_fields, http_arg_pass_ref_5)
+ PHP_FE(http_put_data, http_arg_pass_ref_4)
PHP_FE(http_put_file, http_arg_pass_ref_4)
PHP_FE(http_put_stream, http_arg_pass_ref_4)
#endif
PHP_FE(http_put_file, http_arg_pass_ref_4)
PHP_FE(http_put_stream, http_arg_pass_ref_4)
#endif
@@
-122,6
+123,12
@@
zend_function_entry http_functions[] = {
};
/* }}} */
};
/* }}} */
+PHP_MINIT_FUNCTION(http);
+PHP_MSHUTDOWN_FUNCTION(http);
+PHP_RINIT_FUNCTION(http);
+PHP_RSHUTDOWN_FUNCTION(http);
+PHP_MINFO_FUNCTION(http);
+
/* {{{ http_module_dep */
#if ZEND_EXTENSION_API_NO >= 220050617
static zend_module_dep http_module_deps[] = {
/* {{{ http_module_dep */
#if ZEND_EXTENSION_API_NO >= 220050617
static zend_module_dep http_module_deps[] = {
@@
-134,9
+141,9
@@
static zend_module_dep http_module_deps[] = {
# ifdef HAVE_PHP_SESSION
ZEND_MOD_REQUIRED("session")
# endif
# ifdef HAVE_PHP_SESSION
ZEND_MOD_REQUIRED("session")
# endif
-#ifdef HAVE_ICONV
+#
ifdef HAVE_ICONV
ZEND_MOD_REQUIRED("iconv")
ZEND_MOD_REQUIRED("iconv")
-#endif
+#
endif
{NULL, NULL, NULL, 0}
};
#endif
{NULL, NULL, NULL, 0}
};
#endif