You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
405 lines
22 KiB
405 lines
22 KiB
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
|
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
|
<meta name="generator" content="Doxygen 1.9.7"/>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
|
<title>Webserv: srcs/tools.cpp File Reference</title>
|
|
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
|
<script type="text/javascript" src="jquery.js"></script>
|
|
<script type="text/javascript" src="dynsections.js"></script>
|
|
<link href="search/search.css" rel="stylesheet" type="text/css"/>
|
|
<script type="text/javascript" src="search/searchdata.js"></script>
|
|
<script type="text/javascript" src="search/search.js"></script>
|
|
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
|
</head>
|
|
<body>
|
|
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
|
<div id="titlearea">
|
|
<table cellspacing="0" cellpadding="0">
|
|
<tbody>
|
|
<tr id="projectrow">
|
|
<td id="projectalign">
|
|
<div id="projectname">Webserv
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<!-- end header part -->
|
|
<!-- Generated by Doxygen 1.9.7 -->
|
|
<script type="text/javascript">
|
|
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
|
var searchBox = new SearchBox("searchBox", "search/",'.html');
|
|
/* @license-end */
|
|
</script>
|
|
<script type="text/javascript" src="menudata.js"></script>
|
|
<script type="text/javascript" src="menu.js"></script>
|
|
<script type="text/javascript">
|
|
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
|
$(function() {
|
|
initMenu('',true,false,'search.php','Search');
|
|
$(document).ready(function() { init_search(); });
|
|
});
|
|
/* @license-end */
|
|
</script>
|
|
<div id="main-nav"></div>
|
|
<!-- window showing the filter options -->
|
|
<div id="MSearchSelectWindow"
|
|
onmouseover="return searchBox.OnSearchSelectShow()"
|
|
onmouseout="return searchBox.OnSearchSelectHide()"
|
|
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
|
</div>
|
|
|
|
<!-- iframe showing the search results (closed by default) -->
|
|
<div id="MSearchResultsWindow">
|
|
<div id="MSearchResults">
|
|
<div class="SRPage">
|
|
<div id="SRIndex">
|
|
<div id="SRResults"></div>
|
|
<div class="SRStatus" id="Loading">Loading...</div>
|
|
<div class="SRStatus" id="Searching">Searching...</div>
|
|
<div class="SRStatus" id="NoMatches">No Matches</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="nav-path" class="navpath">
|
|
<ul>
|
|
<li class="navelem"><a class="el" href="dir_b73b02d482d1c4a3db20c3d9ad52d395.html">srcs</a></li> </ul>
|
|
</div>
|
|
</div><!-- top -->
|
|
<div class="header">
|
|
<div class="summary">
|
|
<a href="#func-members">Functions</a> </div>
|
|
<div class="headertitle"><div class="title">tools.cpp File Reference</div></div>
|
|
</div><!--header-->
|
|
<div class="contents">
|
|
<div class="textblock"><code>#include "<a class="el" href="webserv_8hpp_source.html">webserv.hpp</a>"</code><br />
|
|
</div><div class="textblock"><div class="dynheader">
|
|
Include dependency graph for tools.cpp:</div>
|
|
<div class="dyncontent">
|
|
<div class="center"><img src="tools_8cpp__incl.png" border="0" usemap="#asrcs_2tools_8cpp" alt=""/></div>
|
|
<map name="asrcs_2tools_8cpp" id="asrcs_2tools_8cpp">
|
|
<area shape="rect" title=" " alt="" coords="2027,5,2137,31"/>
|
|
<area shape="rect" href="webserv_8hpp.html" title=" " alt="" coords="2030,79,2134,104"/>
|
|
<area shape="rect" title=" " alt="" coords="5,152,97,177"/>
|
|
<area shape="rect" title=" " alt="" coords="122,152,194,177"/>
|
|
<area shape="rect" title=" " alt="" coords="219,152,281,177"/>
|
|
<area shape="rect" title=" " alt="" coords="306,152,402,177"/>
|
|
<area shape="rect" title=" " alt="" coords="427,152,529,177"/>
|
|
<area shape="rect" title=" " alt="" coords="554,152,639,177"/>
|
|
<area shape="rect" title=" " alt="" coords="663,152,754,177"/>
|
|
<area shape="rect" title=" " alt="" coords="778,152,874,177"/>
|
|
<area shape="rect" title=" " alt="" coords="898,152,986,177"/>
|
|
<area shape="rect" title=" " alt="" coords="1010,152,1077,177"/>
|
|
<area shape="rect" title=" " alt="" coords="1101,152,1175,177"/>
|
|
<area shape="rect" title=" " alt="" coords="1199,152,1285,177"/>
|
|
<area shape="rect" title=" " alt="" coords="1309,152,1375,177"/>
|
|
<area shape="rect" title=" " alt="" coords="1399,152,1461,177"/>
|
|
<area shape="rect" title=" " alt="" coords="1486,152,1553,177"/>
|
|
<area shape="rect" title=" " alt="" coords="1577,152,1638,177"/>
|
|
<area shape="rect" title=" " alt="" coords="1663,152,1728,177"/>
|
|
<area shape="rect" title=" " alt="" coords="1753,152,1819,177"/>
|
|
<area shape="rect" title=" " alt="" coords="1844,152,1917,177"/>
|
|
<area shape="rect" title=" " alt="" coords="1942,152,2022,177"/>
|
|
<area shape="rect" title=" " alt="" coords="2047,152,2117,177"/>
|
|
<area shape="rect" title=" " alt="" coords="2142,152,2217,177"/>
|
|
<area shape="rect" title=" " alt="" coords="2241,152,2299,177"/>
|
|
<area shape="rect" title=" " alt="" coords="2323,152,2374,177"/>
|
|
<area shape="rect" title=" " alt="" coords="2399,152,2461,177"/>
|
|
<area shape="rect" href="Client_8hpp.html" title=" " alt="" coords="2486,152,2574,177"/>
|
|
<area shape="rect" href="Master_8hpp.html" title=" " alt="" coords="2599,152,2693,177"/>
|
|
<area shape="rect" href="Nodes_8hpp.html" title=" " alt="" coords="2718,152,2809,177"/>
|
|
<area shape="rect" href="Token_8hpp.html" title=" " alt="" coords="2833,152,2920,177"/>
|
|
<area shape="rect" href="Parser_8hpp.html" title=" " alt="" coords="2944,152,3033,177"/>
|
|
<area shape="rect" href="Route_8hpp.html" title=" " alt="" coords="3058,152,3146,177"/>
|
|
<area shape="rect" href="Server_8hpp.html" title=" " alt="" coords="3170,152,3261,177"/>
|
|
<area shape="rect" href="Env_8hpp.html" title=" " alt="" coords="3285,152,3359,177"/>
|
|
</map>
|
|
</div>
|
|
</div>
|
|
<p><a href="tools_8cpp_source.html">Go to the source code of this file.</a></p>
|
|
<table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="func-members" name="func-members"></a>
|
|
Functions</h2></td></tr>
|
|
<tr class="memitem:a19d0a16cec67fe4c1af22f1571f4f8a6"><td class="memItemLeft" align="right" valign="top">void * </td><td class="memItemRight" valign="bottom"><a class="el" href="tools_8cpp.html#a19d0a16cec67fe4c1af22f1571f4f8a6">ft_memset</a> (void *b, int c, size_t len)</td></tr>
|
|
<tr class="separator:a19d0a16cec67fe4c1af22f1571f4f8a6"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a12c1f1864dfaa4d3ce407320c3877160"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="tools_8cpp.html#a12c1f1864dfaa4d3ce407320c3877160">isAPort</a> (string str)</td></tr>
|
|
<tr class="separator:a12c1f1864dfaa4d3ce407320c3877160"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a4a79e98b5dec14d16875307f7e77dfb3"><td class="memItemLeft" align="right" valign="top"><a class="el" href="webserv_8hpp.html#aba96a6988a5bc02b5c8b908af07d0bbb">vec_string</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="tools_8cpp.html#a4a79e98b5dec14d16875307f7e77dfb3">split</a> (string str, string delim)</td></tr>
|
|
<tr class="separator:a4a79e98b5dec14d16875307f7e77dfb3"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a6e7e23c21ae956b6859a6f3ec9793358"><td class="memItemLeft" align="right" valign="top"><a class="el" href="webserv_8hpp.html#aca8ca4c81e9d413f6c6f1f3dc74906b4">ip_port_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="tools_8cpp.html#a6e7e23c21ae956b6859a6f3ec9793358">get_ip_port_t</a> (string listen)</td></tr>
|
|
<tr class="separator:a6e7e23c21ae956b6859a6f3ec9793358"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a850b23d7d19b54a0fd68cb2c59594f55"><td class="memItemLeft" align="right" valign="top"><a class="el" href="webserv_8hpp.html#aca8ca4c81e9d413f6c6f1f3dc74906b4">ip_port_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="tools_8cpp.html#a850b23d7d19b54a0fd68cb2c59594f55">get_ip_port_t</a> (string ip, int port)</td></tr>
|
|
<tr class="separator:a850b23d7d19b54a0fd68cb2c59594f55"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a044b9a41ee6f56019e039d36e91dc265"><td class="memItemLeft" align="right" valign="top">string </td><td class="memItemRight" valign="bottom"><a class="el" href="tools_8cpp.html#a044b9a41ee6f56019e039d36e91dc265">read_file</a> (string path)</td></tr>
|
|
<tr class="separator:a044b9a41ee6f56019e039d36e91dc265"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a07de4a3e033212959997f105daa49798"><td class="memItemLeft" align="right" valign="top">string </td><td class="memItemRight" valign="bottom"><a class="el" href="tools_8cpp.html#a07de4a3e033212959997f105daa49798">getMime</a> (string path)</td></tr>
|
|
<tr class="separator:a07de4a3e033212959997f105daa49798"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table>
|
|
<h2 class="groupheader">Function Documentation</h2>
|
|
<a id="a19d0a16cec67fe4c1af22f1571f4f8a6" name="a19d0a16cec67fe4c1af22f1571f4f8a6"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a19d0a16cec67fe4c1af22f1571f4f8a6">◆ </a></span>ft_memset()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void * ft_memset </td>
|
|
<td>(</td>
|
|
<td class="paramtype">void * </td>
|
|
<td class="paramname"><em>b</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>c</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">size_t </td>
|
|
<td class="paramname"><em>len</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="definition">Definition at line <a class="el" href="tools_8cpp_source.html#l00003">3</a> of file <a class="el" href="tools_8cpp_source.html">tools.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a850b23d7d19b54a0fd68cb2c59594f55" name="a850b23d7d19b54a0fd68cb2c59594f55"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a850b23d7d19b54a0fd68cb2c59594f55">◆ </a></span>get_ip_port_t() <span class="overload">[1/2]</span></h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="webserv_8hpp.html#aca8ca4c81e9d413f6c6f1f3dc74906b4">ip_port_t</a> get_ip_port_t </td>
|
|
<td>(</td>
|
|
<td class="paramtype">string </td>
|
|
<td class="paramname"><em>ip</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>port</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="definition">Definition at line <a class="el" href="tools_8cpp_source.html#l00051">51</a> of file <a class="el" href="tools_8cpp_source.html">tools.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a6e7e23c21ae956b6859a6f3ec9793358" name="a6e7e23c21ae956b6859a6f3ec9793358"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a6e7e23c21ae956b6859a6f3ec9793358">◆ </a></span>get_ip_port_t() <span class="overload">[2/2]</span></h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="webserv_8hpp.html#aca8ca4c81e9d413f6c6f1f3dc74906b4">ip_port_t</a> get_ip_port_t </td>
|
|
<td>(</td>
|
|
<td class="paramtype">string </td>
|
|
<td class="paramname"><em>listen</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="definition">Definition at line <a class="el" href="tools_8cpp_source.html#l00035">35</a> of file <a class="el" href="tools_8cpp_source.html">tools.cpp</a>.</p>
|
|
<div class="dynheader">
|
|
Here is the call graph for this function:</div>
|
|
<div class="dyncontent">
|
|
<div class="center"><img src="tools_8cpp_a6e7e23c21ae956b6859a6f3ec9793358_cgraph.png" border="0" usemap="#atools_8cpp_a6e7e23c21ae956b6859a6f3ec9793358_cgraph" alt=""/></div>
|
|
<map name="atools_8cpp_a6e7e23c21ae956b6859a6f3ec9793358_cgraph" id="atools_8cpp_a6e7e23c21ae956b6859a6f3ec9793358_cgraph">
|
|
<area shape="rect" title=" " alt="" coords="5,5,112,31"/>
|
|
<area shape="rect" href="tools_8cpp.html#a12c1f1864dfaa4d3ce407320c3877160" title=" " alt="" coords="160,5,228,31"/>
|
|
</map>
|
|
</div>
|
|
<div class="dynheader">
|
|
Here is the caller graph for this function:</div>
|
|
<div class="dyncontent">
|
|
<div class="center"><img src="tools_8cpp_a6e7e23c21ae956b6859a6f3ec9793358_icgraph.png" border="0" usemap="#atools_8cpp_a6e7e23c21ae956b6859a6f3ec9793358_icgraph" alt=""/></div>
|
|
<map name="atools_8cpp_a6e7e23c21ae956b6859a6f3ec9793358_icgraph" id="atools_8cpp_a6e7e23c21ae956b6859a6f3ec9793358_icgraph">
|
|
<area shape="rect" title=" " alt="" coords="543,31,649,56"/>
|
|
<area shape="rect" href="classServer.html#a6c46d7b86956f508b1c0bfe125b03993" title="Master socket safe creation." alt="" coords="328,5,495,31"/>
|
|
<area shape="rect" href="classMaster.html#a3ffb0ce7702a04ab7a9ec5dfa1ff6e42" title=" " alt="" coords="337,55,486,80"/>
|
|
<area shape="rect" href="classServer.html#a5738134631f6bab9a26ca0687d86f21f" title="Create server's defined sockets:" alt="" coords="131,5,280,31"/>
|
|
<area shape="rect" href="classEnv.html#ace0ebeb150673fa69526c14d8417d587" title=" " alt="" coords="5,5,83,31"/>
|
|
</map>
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a07de4a3e033212959997f105daa49798" name="a07de4a3e033212959997f105daa49798"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a07de4a3e033212959997f105daa49798">◆ </a></span>getMime()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">string getMime </td>
|
|
<td>(</td>
|
|
<td class="paramtype">string </td>
|
|
<td class="paramname"><em>path</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="definition">Definition at line <a class="el" href="tools_8cpp_source.html#l00080">80</a> of file <a class="el" href="tools_8cpp_source.html">tools.cpp</a>.</p>
|
|
<div class="dynheader">
|
|
Here is the caller graph for this function:</div>
|
|
<div class="dyncontent">
|
|
<div class="center"><img src="tools_8cpp_a07de4a3e033212959997f105daa49798_icgraph.png" border="0" usemap="#atools_8cpp_a07de4a3e033212959997f105daa49798_icgraph" alt=""/></div>
|
|
<map name="atools_8cpp_a07de4a3e033212959997f105daa49798_icgraph" id="atools_8cpp_a07de4a3e033212959997f105daa49798_icgraph">
|
|
<area shape="rect" title=" " alt="" coords="519,31,599,56"/>
|
|
<area shape="rect" href="tools_8cpp.html#a044b9a41ee6f56019e039d36e91dc265" title=" " alt="" coords="392,31,471,56"/>
|
|
<area shape="rect" href="classRoute.html#aa71b39273ba7bc2f683f40a6573ff810" title="Search for an index while generating autoindex." alt="" coords="219,5,344,31"/>
|
|
<area shape="rect" href="classClient.html#aa3fd6ca9ee860544e53a84cae96c19cb" title=" " alt="" coords="5,31,171,56"/>
|
|
</map>
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a12c1f1864dfaa4d3ce407320c3877160" name="a12c1f1864dfaa4d3ce407320c3877160"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a12c1f1864dfaa4d3ce407320c3877160">◆ </a></span>isAPort()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool isAPort </td>
|
|
<td>(</td>
|
|
<td class="paramtype">string </td>
|
|
<td class="paramname"><em>str</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="definition">Definition at line <a class="el" href="tools_8cpp_source.html#l00012">12</a> of file <a class="el" href="tools_8cpp_source.html">tools.cpp</a>.</p>
|
|
<div class="dynheader">
|
|
Here is the caller graph for this function:</div>
|
|
<div class="dyncontent">
|
|
<div class="center"><img src="tools_8cpp_a12c1f1864dfaa4d3ce407320c3877160_icgraph.png" border="0" usemap="#atools_8cpp_a12c1f1864dfaa4d3ce407320c3877160_icgraph" alt=""/></div>
|
|
<map name="atools_8cpp_a12c1f1864dfaa4d3ce407320c3877160_icgraph" id="atools_8cpp_a12c1f1864dfaa4d3ce407320c3877160_icgraph">
|
|
<area shape="rect" title=" " alt="" coords="697,31,765,56"/>
|
|
<area shape="rect" href="tools_8cpp.html#a6e7e23c21ae956b6859a6f3ec9793358" title=" " alt="" coords="543,31,649,56"/>
|
|
<area shape="rect" href="classServer.html#a6c46d7b86956f508b1c0bfe125b03993" title="Master socket safe creation." alt="" coords="328,5,495,31"/>
|
|
<area shape="rect" href="classMaster.html#a3ffb0ce7702a04ab7a9ec5dfa1ff6e42" title=" " alt="" coords="337,55,486,80"/>
|
|
<area shape="rect" href="classServer.html#a5738134631f6bab9a26ca0687d86f21f" title="Create server's defined sockets:" alt="" coords="131,5,280,31"/>
|
|
<area shape="rect" href="classEnv.html#ace0ebeb150673fa69526c14d8417d587" title=" " alt="" coords="5,5,83,31"/>
|
|
</map>
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a044b9a41ee6f56019e039d36e91dc265" name="a044b9a41ee6f56019e039d36e91dc265"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a044b9a41ee6f56019e039d36e91dc265">◆ </a></span>read_file()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">string read_file </td>
|
|
<td>(</td>
|
|
<td class="paramtype">string </td>
|
|
<td class="paramname"><em>path</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="definition">Definition at line <a class="el" href="tools_8cpp_source.html#l00058">58</a> of file <a class="el" href="tools_8cpp_source.html">tools.cpp</a>.</p>
|
|
<div class="dynheader">
|
|
Here is the call graph for this function:</div>
|
|
<div class="dyncontent">
|
|
<div class="center"><img src="tools_8cpp_a044b9a41ee6f56019e039d36e91dc265_cgraph.png" border="0" usemap="#atools_8cpp_a044b9a41ee6f56019e039d36e91dc265_cgraph" alt=""/></div>
|
|
<map name="atools_8cpp_a044b9a41ee6f56019e039d36e91dc265_cgraph" id="atools_8cpp_a044b9a41ee6f56019e039d36e91dc265_cgraph">
|
|
<area shape="rect" title=" " alt="" coords="5,5,84,31"/>
|
|
<area shape="rect" href="tools_8cpp.html#a07de4a3e033212959997f105daa49798" title=" " alt="" coords="132,5,212,31"/>
|
|
</map>
|
|
</div>
|
|
<div class="dynheader">
|
|
Here is the caller graph for this function:</div>
|
|
<div class="dyncontent">
|
|
<div class="center"><img src="tools_8cpp_a044b9a41ee6f56019e039d36e91dc265_icgraph.png" border="0" usemap="#atools_8cpp_a044b9a41ee6f56019e039d36e91dc265_icgraph" alt=""/></div>
|
|
<map name="atools_8cpp_a044b9a41ee6f56019e039d36e91dc265_icgraph" id="atools_8cpp_a044b9a41ee6f56019e039d36e91dc265_icgraph">
|
|
<area shape="rect" title=" " alt="" coords="392,31,471,56"/>
|
|
<area shape="rect" href="classRoute.html#aa71b39273ba7bc2f683f40a6573ff810" title="Search for an index while generating autoindex." alt="" coords="219,5,344,31"/>
|
|
<area shape="rect" href="classClient.html#aa3fd6ca9ee860544e53a84cae96c19cb" title=" " alt="" coords="5,31,171,56"/>
|
|
</map>
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a4a79e98b5dec14d16875307f7e77dfb3" name="a4a79e98b5dec14d16875307f7e77dfb3"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a4a79e98b5dec14d16875307f7e77dfb3">◆ </a></span>split()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="webserv_8hpp.html#aba96a6988a5bc02b5c8b908af07d0bbb">vec_string</a> split </td>
|
|
<td>(</td>
|
|
<td class="paramtype">string </td>
|
|
<td class="paramname"><em>str</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">string </td>
|
|
<td class="paramname"><em>delim</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="definition">Definition at line <a class="el" href="tools_8cpp_source.html#l00020">20</a> of file <a class="el" href="tools_8cpp_source.html">tools.cpp</a>.</p>
|
|
<div class="dynheader">
|
|
Here is the caller graph for this function:</div>
|
|
<div class="dyncontent">
|
|
<div class="center"><img src="tools_8cpp_a4a79e98b5dec14d16875307f7e77dfb3_icgraph.png" border="0" usemap="#atools_8cpp_a4a79e98b5dec14d16875307f7e77dfb3_icgraph" alt=""/></div>
|
|
<map name="atools_8cpp_a4a79e98b5dec14d16875307f7e77dfb3_icgraph" id="atools_8cpp_a4a79e98b5dec14d16875307f7e77dfb3_icgraph">
|
|
<area shape="rect" title=" " alt="" coords="612,132,663,157"/>
|
|
<area shape="rect" href="classServer.html#a0664c62a66a7e3e41d48c286c55a90a9" title="Choose the route an uri asked to the server." alt="" coords="400,5,559,31"/>
|
|
<area shape="rect" href="classClient.html#a3e6860ba08a116dcc3e75d97d91297c7" title=" " alt="" coords="196,81,347,107"/>
|
|
<area shape="rect" href="classClient.html#acbcc94de0dd77b5635b574c9f23acdb8" title=" " alt="" coords="5,157,148,183"/>
|
|
<area shape="rect" href="classMaster.html#a5486cb0d32ba29cd31b212c3457942b1" title=" " alt="" coords="395,107,564,132"/>
|
|
<area shape="rect" href="classRoute.html#a5826254afb1e57c980c4b671bea8370a" title="Find the local path corresponding to the uri asked by te client." alt="" coords="413,208,545,233"/>
|
|
<area shape="rect" href="classClient.html#a8d671d9129091ed238c9833f4d3b5dda" title=" " alt="" coords="210,233,333,259"/>
|
|
</map>
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|
|
</div><!-- contents -->
|
|
<!-- start footer part -->
|
|
<hr class="footer"/><address class="footer"><small>
|
|
Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.7
|
|
</small></address>
|
|
</body>
|
|
</html>
|
|
|