#ifndef PHP_EXT_HTTP_H
#define PHP_EXT_HTTP_H
-#define PHP_EXT_HTTP_VERSION "0.6.0-dev"
+#define PHP_EXT_HTTP_VERSION "0.6.0"
/* make compile on Win32 */
#include "php_streams.h"
# define HTTP_G(v) (http_globals.v)
#endif
-#ifndef ZEND_ENGINE_2
-# include "php_http_build_query.h"
-#else
+#ifdef ZEND_ENGINE_2
typedef struct {
zend_object zo;
#endif
PHP_FUNCTION(http_auth_basic);
PHP_FUNCTION(http_auth_basic_cb);
-
+#ifndef ZEND_ENGINE_2
+PHP_FUNCTION(http_build_query);
+#endif
PHP_FUNCTION(ob_httpetaghandler);
PHP_MINIT_FUNCTION(http);
size_t free;
size_t size;
} curlbuf;
+ zend_llist to_free;
#endif
ZEND_END_MODULE_GLOBALS(http)