X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=http_request_method_api.c;h=4cc0a6ae14f5fffd1d1cfae7ee30edecc15a9f0d;hb=389e280e0bba312ff5ca9981801cc842dad26ec2;hp=3480c3be0dad4d453b3975b5f64402c9d846e8c3;hpb=26591cefa8d85dced14547a0fb621b9a289ef2de;p=m6w6%2Fext-http diff --git a/http_request_method_api.c b/http_request_method_api.c index 3480c3b..4cc0a6a 100644 --- a/http_request_method_api.c +++ b/http_request_method_api.c @@ -6,16 +6,12 @@ | 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 | +--------------------------------------------------------------------+ */ /* $Id$ */ -#ifdef HAVE_CONFIG_H -# include "config.h" -#endif - #define HTTP_WANT_CURL #include "php_http.h" @@ -65,6 +61,7 @@ static const char *const http_request_methods[] = { }; /* }}} */ +/* {{{ */ PHP_MINIT_FUNCTION(http_request_method) { /* HTTP/1.1 */ @@ -124,6 +121,7 @@ PHP_RSHUTDOWN_FUNCTION(http_request_method) return SUCCESS; } +/* }}} */ /* {{{ char *http_request_method_name(http_request_method) */ PHP_HTTP_API const char *_http_request_method_name(http_request_method m TSRMLS_DC)