| modification, are permitted provided that the conditions mentioned |
| in the accompanying LICENSE file are met. |
+--------------------------------------------------------------------+
- | Copyright (c) 2004-2005, Michael Wallner <mike@php.net> |
+ | Copyright (c) 2004-2006, Michael Wallner <mike@php.net> |
+--------------------------------------------------------------------+
*/
#ifndef PHP_EXT_HTTP_H
#define PHP_EXT_HTTP_H
-#define PHP_EXT_HTTP_VERSION "0.21.0dev"
+#define PHP_EXT_HTTP_VERSION "0.21.0"
#include "php.h"
#include "php_http_std_defs.h"
struct _http_globals_request {
struct _http_globals_request_methods {
char *allowed;
- HashTable custom;
+ struct {
+ int count;
+ void *entries;
+ } custom;
} methods;
} request;
# define HTTP_G(v) (http_globals.v)
# define HTTP_GLOBALS (&http_globals)
#endif
-#define getGlobals(G) zend_http_globals *G = HTTP_GLOBALS;
+#define getGlobals(G) zend_http_globals *G = HTTP_GLOBALS
PHP_FUNCTION(http_test);
PHP_FUNCTION(http_date);