X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=php_http_querystring.h;h=e586964a50031192028b8e444756fdb442841e98;hb=1421b2b78469a66ebe3cd2958a608de9a036bca9;hp=92abd0179053f412fbf4a7ea2f80bcf4927b4b8a;hpb=d3485e3b28336153dca690e872ffe1ddc60fedd2;p=m6w6%2Fext-http diff --git a/php_http_querystring.h b/php_http_querystring.h index 92abd01..e586964 100644 --- a/php_http_querystring.h +++ b/php_http_querystring.h @@ -6,28 +6,19 @@ | modification, are permitted provided that the conditions mentioned | | in the accompanying LICENSE file are met. | +--------------------------------------------------------------------+ - | Copyright (c) 2004-2010, Michael Wallner | + | Copyright (c) 2004-2011, Michael Wallner | +--------------------------------------------------------------------+ */ -/* $Id: php_http_querystring_api.h 292841 2009-12-31 08:48:57Z mike $ */ - #ifndef PHP_HTTP_QUERYSTRING_H #define PHP_HTTP_QUERYSTRING_H -/* API */ - #ifdef PHP_HTTP_HAVE_ICONV -PHP_HTTP_API int php_http_querystring_xlate(zval *array, zval *param, const char *ie, const char *oe TSRMLS_DC); +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 void php_http_querystring_update(zval *qarray, zval *qstring TSRMLS_DC); -PHP_HTTP_API int php_http_querystring_modify(zval *qarray, zval *params TSRMLS_DC); - -/* PHP */ +PHP_HTTP_API STATUS php_http_querystring_update(zval *qarray, zval *params, zval *qstring 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