X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=php_http_querystring.h;h=e34ccc004e5fd0ec77d417f30942a220050659c3;hp=1c2dbebca3646fc02fd5e1f8efd1803aaef76888;hb=7b028d0cbb030f9610084314f67b77907d8474a2;hpb=8d05291f42b3b42159b3fe91492aa4862f3d4405 diff --git a/php_http_querystring.h b/php_http_querystring.h index 1c2dbeb..e34ccc0 100644 --- a/php_http_querystring.h +++ b/php_http_querystring.h @@ -17,10 +17,9 @@ PHP_HTTP_API STATUS php_http_querystring_xlate(zval *dst, zval *src, const char *ie, const char *oe TSRMLS_DC); #endif /* PHP_HTTP_HAVE_ICONV */ PHP_HTTP_API STATUS php_http_querystring_update(zval *qarray, zval *params, zval *qstring TSRMLS_DC); +PHP_HTTP_API STATUS php_http_querystring_ctor(zval *instance, zval *params TSRMLS_DC); -typedef struct php_http_querystring_object { - zend_object zo; -} php_http_querystring_object_t; +typedef php_http_object_t php_http_querystring_object_t; #define PHP_HTTP_QUERYSTRING_TYPE_BOOL IS_BOOL #define PHP_HTTP_QUERYSTRING_TYPE_INT IS_LONG @@ -29,10 +28,9 @@ typedef struct php_http_querystring_object { #define PHP_HTTP_QUERYSTRING_TYPE_ARRAY IS_ARRAY #define PHP_HTTP_QUERYSTRING_TYPE_OBJECT IS_OBJECT -extern zend_class_entry *php_http_querystring_class_entry; -extern zend_function_entry php_http_querystring_method_entry[]; +zend_class_entry *php_http_querystring_get_class_entry(void); -extern PHP_MINIT_FUNCTION(http_querystring); +PHP_MINIT_FUNCTION(http_querystring); #define php_http_querystring_object_new php_http_object_new #define php_http_querystring_object_new_ex php_http_object_new_ex