X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=http_methods.c;h=6812d7d795af9838a4ab7959f88bb93962df924d;hp=8d119825be6c683fc901c44492cc455c6ae26aee;hb=4a881fb37338bfeacd40c42a97f334c9faed299a;hpb=8cb7ee1e8d8093d21ad9120b342a7ce1effa3694 diff --git a/http_methods.c b/http_methods.c index 8d11982..6812d7d 100644 --- a/http_methods.c +++ b/http_methods.c @@ -30,6 +30,10 @@ #include "php_http_send_api.h" #include "php_http_url_api.h" +#include "php_http_message_object.h" +#include "php_http_response_object.h" +#include "php_http_request_object.h" + #ifdef ZEND_ENGINE_2 /* {{{ HttpResponse */ @@ -526,7 +530,7 @@ PHP_METHOD(HttpMessage, __construct) int message_len; getObject(http_message_object, obj); http_message *msg = obj->message; - + if (SUCCESS != zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|z/", &message)) { return; } @@ -541,9 +545,9 @@ PHP_METHOD(HttpMessage, __construct) PHP_METHOD(HttpMessage, __destruct) { getObject(http_message_object, obj); - + NO_ARGS; - + } /* }}} */