X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=php_http.h;h=a3cb94f4083516e58fbe286d002b434ca39479a8;hb=76ef3c1710bd22c560f9459f00452050d72f44db;hp=58f191e35e88b743254756d5d279557f1d08bf14;hpb=26591cefa8d85dced14547a0fb621b9a289ef2de;p=m6w6%2Fext-http diff --git a/php_http.h b/php_http.h index 58f191e..a3cb94f 100644 --- a/php_http.h +++ b/php_http.h @@ -6,7 +6,7 @@ | modification, are permitted provided that the conditions mentioned | | in the accompanying LICENSE file are met. | +--------------------------------------------------------------------+ - | Copyright (c) 2004-2005, Michael Wallner | + | Copyright (c) 2004-2006, Michael Wallner | +--------------------------------------------------------------------+ */ @@ -15,7 +15,7 @@ #ifndef PHP_EXT_HTTP_H #define PHP_EXT_HTTP_H -#define PHP_EXT_HTTP_VERSION "0.21.0dev" +#define PHP_EXT_HTTP_VERSION "0.22.0-dev" #include "php.h" #include "php_http_std_defs.h" @@ -24,8 +24,10 @@ #ifdef HTTP_WANT_NETDB # ifdef PHP_WIN32 +# define HTTP_HAVE_NETDB # include # elif defined(HAVE_NETDB_H) +# define HTTP_HAVE_NETDB # include # endif #endif @@ -93,7 +95,7 @@ ZEND_BEGIN_MODULE_GLOBALS(http) struct _http_globals_request { struct _http_globals_request_methods { char *allowed; - struct { + struct _http_globals_request_methods_custom { int count; void *entries; } custom;