projects
/
m6w6
/
ext-http
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
|
github
raw
|
patch
|
inline
| side by side (parent:
afa962c
)
* curlbuf struct isn't needed any where else and breaks the php4 build - so no typedef
author
Michael Wallner
<mike@php.net>
Mon, 21 Feb 2005 11:21:52 +0000
(11:21 +0000)
committer
Michael Wallner
<mike@php.net>
Mon, 21 Feb 2005 11:21:52 +0000
(11:21 +0000)
php_http.h
patch
|
blob
|
history
diff --git
a/php_http.h
b/php_http.h
index b2bdbe24b63d408c728ac57afc9e3e7d23ad2593..c4fc38050873776aad9c82ded570cd42c8fd410f 100644
(file)
--- a/
php_http.h
+++ b/
php_http.h
@@
-39,19
+39,6
@@
extern zend_module_entry http_module_entry;
#else
#ifdef HTTP_HAVE_CURL
#else
#ifdef HTTP_HAVE_CURL
-typedef struct {
- struct {
- char *data;
- size_t used;
- size_t free;
- } body;
- struct {
- char *data;
- size_t used;
- size_t free;
- } hdrs;
-} http_curlbuf;
-
typedef enum {
HTTP_GET,
HTTP_HEAD,
typedef enum {
HTTP_GET,
HTTP_HEAD,
@@
-185,7
+172,18
@@
ZEND_BEGIN_MODULE_GLOBALS(http)
time_t lmod;
char *allowed_methods;
#ifdef HTTP_HAVE_CURL
time_t lmod;
char *allowed_methods;
#ifdef HTTP_HAVE_CURL
- http_curlbuf curlbuf;
+ struct {
+ struct {
+ char *data;
+ size_t used;
+ size_t free;
+ } body;
+ struct {
+ char *data;
+ size_t used;
+ size_t free;
+ } hdrs;
+ } curlbuf;
#endif
ZEND_END_MODULE_GLOBALS(http)
#endif
ZEND_END_MODULE_GLOBALS(http)