05bcbcbe14ceba32f9abd4d943051b2c08541dec
[m6w6/ext-http] / php_http_querystring_api.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-2006, Michael Wallner <mike@php.net> |
10 +--------------------------------------------------------------------+
11 */
12
13 /* $Id$ */
14
15 #ifndef PHP_HTTP_QUERYSTRING_API_H
16 #define PHP_HTTP_QUERYSTRING_API_H
17
18 #ifdef HAVE_ICONV
19 #define http_querystring_xlate(a, p, ie, oe) _http_querystring_xlate((a), (p), (ie), (oe) TSRMLS_CC)
20 PHP_HTTP_API int _http_querystring_xlate(zval *array, zval *param, const char *ie, const char *oe TSRMLS_DC);
21 #endif
22
23 #define http_querystring_update(qa, qs) _http_querystring_update((qa), (qs) TSRMLS_CC)
24 PHP_HTTP_API void _http_querystring_update(zval *qarray, zval *qstring TSRMLS_DC);
25
26 #define http_querystring_modify_array_ex(q, t, k, kl, i, pe) _http_querystring_modify_array_ex((q), (t), (k), (kl), (i), (pe) TSRMLS_CC)
27 PHP_HTTP_API int _http_querystring_modify_array_ex(zval *qarray, int key_type, char *key, int keylen, ulong idx, zval *params_entry TSRMLS_DC);
28
29 #define http_querystring_modify_array(q, p) _http_querystring_modify_array((q), (p) TSRMLS_CC)
30 PHP_HTTP_API int _http_querystring_modify_array(zval *qarray, zval *params TSRMLS_DC);
31
32 #define http_querystring_modify(q, p) _http_querystring_modify((q), (p) TSRMLS_CC)
33 PHP_HTTP_API int _http_querystring_modify(zval *qarray, zval *params TSRMLS_DC);
34
35 #endif
36
37 /*
38 * Local variables:
39 * tab-width: 4
40 * c-basic-offset: 4
41 * End:
42 * vim600: noet sw=4 ts=4 fdm=marker
43 * vim<600: noet sw=4 ts=4
44 */