24 #ifndef LIMAL_URLUTILS_HPP
25 #define LIMAL_URLUTILS_HPP
29 #include "blocxx/Exception.hpp"
30 #include <blocxx/String.hpp>
31 #include <blocxx/Array.hpp>
32 #include <blocxx/Map.hpp>
36 namespace LIMAL_NAMESPACE
46 BLOCXX_DECLARE_EXCEPTION (
Url);
95 typedef blocxx::Map<blocxx::String,blocxx::String>
ParamMap;
168 encode(
const blocxx::String &str,
169 const blocxx::String &safe =
"",
186 const blocxx::String &safe =
"",
205 decode(
const blocxx::String &str);
225 decode_buf(
const blocxx::String &str,
bool allowNUL);
280 split(
const blocxx::String &pstr,
281 const blocxx::String &psep);
313 split(
const blocxx::String &pstr,
314 const blocxx::String &psep,
315 const blocxx::String &vsep,
334 join(
const blocxx::StringArray &parr,
335 const blocxx::String &psep);
362 const blocxx::String &psep,
363 const blocxx::String &vsep,
364 const blocxx::String &safe);
390 #endif // LIMAL_URLUTILS_HPP