Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

wwwdecode.h File Reference

Simple functions that apply RFC 1738, as used in URLs, to encode or decode strings. More...

#include <string>

Include dependency graph for wwwdecode.h:

Include dependency graph

Go to the source code of this file.

Namespaces

namespace  Dv
namespace  Dv::Cgi

Functions

std::string & www_decode (std::string &s)
 In-place decode (RFC 1738) of string s.
std::string & www_encode (const std::string &sin, std::string &sout)
 Encode (RFC 1738) string.


Detailed Description

Simple functions that apply RFC 1738, as used in URLs, to encode or decode strings.

Definition in file wwwdecode.h.


Function Documentation

std::string& www_decode std::string &  s  ) 
 

In-place decode (RFC 1738) of string s.

Parameters:
s string to be decoded (in-place).
Returns:
reference to parameter

std::string& www_encode const std::string &  sin,
std::string &  sout
 

Encode (RFC 1738) string.

Parameters:
sin input string to be encoded.
sout string that will receive the encoded version of sin.
Returns:
reference to sout.


dvcgi-0.5.12 [27 April, 2004]