util.h
//
// Copyright (C) 2008-2012 Artyom Beilis (Tonkikh) <artyomtnk@yahoo.com>
//
// See accompanying file COPYING.TXT file for licensing details.
//
#ifndef CPPCMS_UTIL_H
#define CPPCMS_UTIL_H
#include <cppcms/defs.h>
#include <string>
namespace cppcms {
namespace util {
std::string CPPCMS_API escape(std::string const &s);
void CPPCMS_API escape(char const *begin,char const *end,std::ostream &output);
std::string CPPCMS_API urlencode(std::string const &s);
void CPPCMS_API urlencode(char const *begin,char const *end,std::ostream &output);
std::string CPPCMS_API urldecode(std::string const &s);
std::string CPPCMS_API urldecode(char const *begin,char const *end);
std::string CPPCMS_API md5(std::string const &input);
std::string CPPCMS_API md5hex(std::string const &input);
}
}
#endif
cppcms::util::escape
std::string CPPCMS_API escape(std::string const &s)
cppcms::util::urlencode
std::string CPPCMS_API urlencode(std::string const &s)
cppcms::util::md5hex
std::string CPPCMS_API md5hex(std::string const &input)
cppcms::util::urldecode
std::string CPPCMS_API urldecode(std::string const &s)
cppcms::util::md5
std::string CPPCMS_API md5(std::string const &input)