2 +--------------------------------------------------------------------+
4 +--------------------------------------------------------------------+
5 | Redistribution and use in source and binary forms, with or without |
6 | modification, are permitted provided that the conditions mentioned |
7 | in the accompanying LICENSE file are met. |
8 +--------------------------------------------------------------------+
9 | Copyright (c) 2004-2014, Michael Wallner <mike@php.net> |
10 +--------------------------------------------------------------------+
13 #ifndef PHP_HTTP_QUERYSTRING_H
14 #define PHP_HTTP_QUERYSTRING_H
16 #ifdef PHP_HTTP_HAVE_ICONV
17 PHP_HTTP_API ZEND_RESULT_CODE
php_http_querystring_xlate(zval
*dst
, zval
*src
, const char *ie
, const char *oe TSRMLS_DC
);
18 #endif /* PHP_HTTP_HAVE_ICONV */
19 PHP_HTTP_API ZEND_RESULT_CODE
php_http_querystring_update(zval
*qarray
, zval
*params
, zval
*qstring TSRMLS_DC
);
20 PHP_HTTP_API ZEND_RESULT_CODE
php_http_querystring_ctor(zval
*instance
, zval
*params TSRMLS_DC
);
22 typedef php_http_object_t php_http_querystring_object_t
;
24 #define PHP_HTTP_QUERYSTRING_TYPE_BOOL IS_BOOL
25 #define PHP_HTTP_QUERYSTRING_TYPE_INT IS_LONG
26 #define PHP_HTTP_QUERYSTRING_TYPE_FLOAT IS_DOUBLE
27 #define PHP_HTTP_QUERYSTRING_TYPE_STRING IS_STRING
28 #define PHP_HTTP_QUERYSTRING_TYPE_ARRAY IS_ARRAY
29 #define PHP_HTTP_QUERYSTRING_TYPE_OBJECT IS_OBJECT
31 PHP_HTTP_API zend_class_entry
*php_http_querystring_class_entry
;
33 PHP_MINIT_FUNCTION(http_querystring
);
35 #define php_http_querystring_object_new php_http_object_new
36 #define php_http_querystring_object_new_ex php_http_object_new_ex
38 #endif /* PHP_HTTP_QUERYSTRING_H */
45 * vim600: noet sw=4 ts=4 fdm=marker
46 * vim<600: noet sw=4 ts=4