Clean up VectorEffects::init
[hiphop-php.git] / hphp / runtime / ext / ext_url.h
blobebf9cd845d898fbdc7a33a9ca3b9a97b3f7fae6a
1 /*
2 +----------------------------------------------------------------------+
3 | HipHop for PHP |
4 +----------------------------------------------------------------------+
5 | Copyright (c) 2010-2013 Facebook, Inc. (http://www.facebook.com) |
6 | Copyright (c) 1997-2010 The PHP Group |
7 +----------------------------------------------------------------------+
8 | This source file is subject to version 3.01 of the PHP license, |
9 | that is bundled with this package in the file LICENSE, and is |
10 | available through the world-wide-web at the following url: |
11 | http://www.php.net/license/3_01.txt |
12 | If you did not receive a copy of the PHP license and are unable to |
13 | obtain it through the world-wide-web, please send a note to |
14 | license@php.net so we can mail you a copy immediately. |
15 +----------------------------------------------------------------------+
18 #ifndef incl_HPHP_EXT_URL_H_
19 #define incl_HPHP_EXT_URL_H_
21 #include "hphp/runtime/base/base_includes.h"
23 namespace HPHP {
24 ///////////////////////////////////////////////////////////////////////////////
26 Variant f_base64_decode(CStrRef data, bool strict = false);
27 String f_base64_encode(CStrRef data);
29 Variant f_get_headers(CStrRef url, int format = 0);
30 Array f_get_meta_tags(CStrRef filename, bool use_include_path = false);
32 Variant f_http_build_query(CVarRef formdata,
33 CStrRef numeric_prefix = null_string,
34 CStrRef arg_separator = null_string);
35 Variant f_parse_url(CStrRef url, int component = -1);
37 String f_rawurldecode(CStrRef str);
39 String f_rawurlencode(CStrRef str);
41 String f_urldecode(CStrRef str);
43 String f_urlencode(CStrRef str);
45 ///////////////////////////////////////////////////////////////////////////////
48 #endif // incl_HPHP_EXT_URL_H_