#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,
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)