fix description
[m6w6/ext-http] / php_http_querystring.h
1 /*
2 +--------------------------------------------------------------------+
3 | PECL :: http |
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-2013, Michael Wallner <mike@php.net> |
10 +--------------------------------------------------------------------+
11 */
12
13 #ifndef PHP_HTTP_QUERYSTRING_H
14 #define PHP_HTTP_QUERYSTRING_H
15
16 #ifdef PHP_HTTP_HAVE_ICONV
17 PHP_HTTP_API STATUS 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 STATUS php_http_querystring_update(zval *qarray, zval *params, zval *qstring TSRMLS_DC);
20 PHP_HTTP_API STATUS php_http_querystring_ctor(zval *instance, zval *params TSRMLS_DC);
21
22 typedef php_http_object_t php_http_querystring_object_t;
23
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
30
31 PHP_HTTP_API zend_class_entry *php_http_querystring_class_entry;
32
33 PHP_MINIT_FUNCTION(http_querystring);
34
35 #define php_http_querystring_object_new php_http_object_new
36 #define php_http_querystring_object_new_ex php_http_object_new_ex
37
38 #endif /* PHP_HTTP_QUERYSTRING_H */
39
40 /*
41 * Local variables:
42 * tab-width: 4
43 * c-basic-offset: 4
44 * End:
45 * vim600: noet sw=4 ts=4 fdm=marker
46 * vim<600: noet sw=4 ts=4
47 */