X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=http_headers_api.c;h=2493218e2ece1ed848ed6531b4f2430c10b091f8;hp=0952ffbe32c0162b42aba7774408f86447549998;hb=c7b95b4b19bbde93d3f142c5653ad5b68229cfcd;hpb=32e91737086db53bb1fd9ed9f79d693c43ec459f diff --git a/http_headers_api.c b/http_headers_api.c index 0952ffb..2493218 100644 --- a/http_headers_api.c +++ b/http_headers_api.c @@ -12,10 +12,6 @@ /* $Id$ */ -#ifdef HAVE_CONFIG_H -# include "config.h" -#endif - #include "php_http.h" #include "ext/standard/url.h" @@ -28,18 +24,6 @@ # define HTTP_DBG_NEG 0 #endif -/* {{{ */ -PHP_MINIT_FUNCTION(http_headers) -{ - HTTP_LONG_CONSTANT("HTTP_REDIRECT", HTTP_REDIRECT); - HTTP_LONG_CONSTANT("HTTP_REDIRECT_PERM", HTTP_REDIRECT_PERM); - HTTP_LONG_CONSTANT("HTTP_REDIRECT_POST", HTTP_REDIRECT_POST); - HTTP_LONG_CONSTANT("HTTP_REDIRECT_TEMP", HTTP_REDIRECT_TEMP); - - return SUCCESS; -} -/* }}} */ - /* {{{ static int http_sort_q(const void *, const void *) */ static int http_sort_q(const void *a, const void *b TSRMLS_DC) {