projects
/
m6w6
/
ext-http
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
- revised request_method api
[m6w6/ext-http]
/
php_http.h
diff --git
a/php_http.h
b/php_http.h
index b0a0a149d5e74798854485fcb7c29d7ba1f82004..58f191e35e88b743254756d5d279557f1d08bf14 100644
(file)
--- a/
php_http.h
+++ b/
php_http.h
@@
-93,7
+93,10
@@
ZEND_BEGIN_MODULE_GLOBALS(http)
struct _http_globals_request {
struct _http_globals_request_methods {
char *allowed;
struct _http_globals_request {
struct _http_globals_request_methods {
char *allowed;
- HashTable custom;
+ struct {
+ int count;
+ void *entries;
+ } custom;
} methods;
} request;
} methods;
} request;
@@
-115,7
+118,7
@@
ZEND_EXTERN_MODULE_GLOBALS(http);
# define HTTP_G(v) (http_globals.v)
# define HTTP_GLOBALS (&http_globals)
#endif
# 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);
PHP_FUNCTION(http_test);
PHP_FUNCTION(http_date);