/usr/share/doc/libpion-net-doc/html/structpion_1_1algo.html is in libpion-net-doc 4.0.7+dfsg-3.1ubuntu2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>pion-net: pion::algo Struct Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.4.7 -->
<div class="tabs">
<ul>
<li><a href="index.html"><span>Main Page</span></a></li>
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
<li id="current"><a href="annotated.html"><span>Classes</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
</ul></div>
<div class="tabs">
<ul>
<li><a href="annotated.html"><span>Class List</span></a></li>
<li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li>
<li><a href="functions.html"><span>Class Members</span></a></li>
</ul></div>
<div class="nav">
<a class="el" href="namespacepion.html">pion</a>::<a class="el" href="structpion_1_1algo.html">algo</a></div>
<h1>pion::algo Struct Reference</h1><!-- doxytag: class="pion::algo" --><a href="structpion_1_1algo-members.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2>
<p>
<p>
Definition at line <a class="el" href="_pion_algorithms_8hpp-source.html#l00019">19</a> of file <a class="el" href="_pion_algorithms_8hpp-source.html">PionAlgorithms.hpp</a>.<table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Static Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">static bool </td><td class="memItemRight" valign="bottom"><a class="el" href="structpion_1_1algo.html#65fb118d40b7aa9db8d7d5e80c821d25">base64_decode</a> (std::string const &input, std::string &output)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">static bool </td><td class="memItemRight" valign="bottom"><a class="el" href="structpion_1_1algo.html#20ff706d436978851959098ce870c585">base64_encode</a> (std::string const &input, std::string &output)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ffb2371ba7b01febc52a7d63dab90eaf"></a><!-- doxytag: member="pion::algo::url_decode" ref="ffb2371ba7b01febc52a7d63dab90eaf" args="(const std::string &str)" -->
static std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="structpion_1_1algo.html#ffb2371ba7b01febc52a7d63dab90eaf">url_decode</a> (const std::string &str)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">escapes URL-encoded strings (a20value+with20spaces) <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="07dffc368e9914f52a7a1ba166e50acd"></a><!-- doxytag: member="pion::algo::url_encode" ref="07dffc368e9914f52a7a1ba166e50acd" args="(const std::string &str)" -->
static std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="structpion_1_1algo.html#07dffc368e9914f52a7a1ba166e50acd">url_encode</a> (const std::string &str)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">encodes strings so that they are safe for URLs (with20spaces) <br></td></tr>
</table>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="65fb118d40b7aa9db8d7d5e80c821d25"></a><!-- doxytag: member="pion::algo::base64_decode" ref="65fb118d40b7aa9db8d7d5e80c821d25" args="(std::string const &input, std::string &output)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool pion::algo::base64_decode </td>
<td>(</td>
<td class="paramtype">std::string const & </td>
<td class="paramname"> <em>input</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">std::string & </td>
<td class="paramname"> <em>output</em></td><td> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td width="100%"><code> [static]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
base64 decoding<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>input</em> </td><td>- base64 encoded string </td></tr>
<tr><td valign="top"></td><td valign="top"><em>output</em> </td><td>- decoded string ( may include non-text chars) </td></tr>
</table>
</dl>
<dl compact><dt><b>Returns:</b></dt><dd>true if successful, false if input string contains non-base64 symbols </dd></dl>
<p>
Definition at line <a class="el" href="_pion_algorithms_8cpp-source.html#l00018">18</a> of file <a class="el" href="_pion_algorithms_8cpp-source.html">PionAlgorithms.cpp</a>.
<p>
Referenced by <a class="el" href="_h_t_t_p_basic_auth_8cpp-source.html#l00114">pion::net::HTTPBasicAuth::parseCredentials()</a>.
</div>
</div><p>
<a class="anchor" name="20ff706d436978851959098ce870c585"></a><!-- doxytag: member="pion::algo::base64_encode" ref="20ff706d436978851959098ce870c585" args="(std::string const &input, std::string &output)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool pion::algo::base64_encode </td>
<td>(</td>
<td class="paramtype">std::string const & </td>
<td class="paramname"> <em>input</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">std::string & </td>
<td class="paramname"> <em>output</em></td><td> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td width="100%"><code> [static]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
base64 encoding<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>input</em> </td><td>- arbitrary string ( may include non-text chars) </td></tr>
<tr><td valign="top"></td><td valign="top"><em>output</em> </td><td>- base64 encoded string </td></tr>
</table>
</dl>
<dl compact><dt><b>Returns:</b></dt><dd>true if successful, </dd></dl>
<p>
Definition at line <a class="el" href="_pion_algorithms_8cpp-source.html#l00098">98</a> of file <a class="el" href="_pion_algorithms_8cpp-source.html">PionAlgorithms.cpp</a>.
<p>
Referenced by <a class="el" href="_h_t_t_p_cookie_auth_8cpp-source.html#l00105">pion::net::HTTPCookieAuth::processLogin()</a>.
</div>
</div><p>
<hr>The documentation for this struct was generated from the following files:<ul>
<li>common/include/pion/<a class="el" href="_pion_algorithms_8hpp-source.html">PionAlgorithms.hpp</a><li>common/src/<a class="el" href="_pion_algorithms_8cpp-source.html">PionAlgorithms.cpp</a></ul>
<hr size="1"><address style="align: right;"><small>Generated on Tue Sep 27 16:06:43 2011 for pion-net by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.7 </small></address>
</body>
</html>
|