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.

187 lines
23 KiB

2 years ago
<!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: includes/webserv.hpp Source File</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&amp;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&amp;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_09e761304027c904456130627fd4dcf5.html">includes</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="headertitle"><div class="title">webserv.hpp</div></div>
</div><!--header-->
<div class="contents">
<a href="webserv_8hpp.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a id="l00001" name="l00001"></a><span class="lineno"> 1</span><span class="preprocessor">#pragma once</span></div>
<div class="line"><a id="l00002" name="l00002"></a><span class="lineno"><a class="line" href="webserv_8hpp.html#ad72dbcf6d0153db1b8d8a58001feed83"> 2</a></span><span class="preprocessor">#define DEBUG 1</span></div>
<div class="line"><a id="l00003" name="l00003"></a><span class="lineno"> 3</span> </div>
<div class="line"><a id="l00004" name="l00004"></a><span class="lineno"> 4</span><span class="preprocessor">#include &lt;arpa/inet.h&gt;</span></div>
<div class="line"><a id="l00005" name="l00005"></a><span class="lineno"> 5</span><span class="preprocessor">#include &lt;dirent.h&gt;</span></div>
<div class="line"><a id="l00006" name="l00006"></a><span class="lineno"> 6</span><span class="preprocessor">#include &lt;fcntl.h&gt;</span></div>
<div class="line"><a id="l00007" name="l00007"></a><span class="lineno"> 7</span><span class="preprocessor">#include &lt;netinet/in.h&gt;</span></div>
<div class="line"><a id="l00008" name="l00008"></a><span class="lineno"> 8</span><span class="preprocessor">#include &lt;sys/socket.h&gt;</span></div>
<div class="line"><a id="l00009" name="l00009"></a><span class="lineno"> 9</span><span class="preprocessor">#include &lt;sys/stat.h&gt;</span></div>
<div class="line"><a id="l00010" name="l00010"></a><span class="lineno"> 10</span><span class="preprocessor">#include &lt;sys/time.h&gt;</span></div>
<div class="line"><a id="l00011" name="l00011"></a><span class="lineno"> 11</span><span class="preprocessor">#include &lt;sys/types.h&gt;</span></div>
<div class="line"><a id="l00012" name="l00012"></a><span class="lineno"> 12</span><span class="preprocessor">#include &lt;sys/wait.h&gt;</span></div>
<div class="line"><a id="l00013" name="l00013"></a><span class="lineno"> 13</span><span class="preprocessor">#include &lt;stdio.h&gt;</span></div>
<div class="line"><a id="l00014" name="l00014"></a><span class="lineno"> 14</span><span class="preprocessor">#include &lt;unistd.h&gt;</span></div>
<div class="line"><a id="l00015" name="l00015"></a><span class="lineno"> 15</span> </div>
<div class="line"><a id="l00016" name="l00016"></a><span class="lineno"> 16</span><span class="preprocessor">#include &lt;algorithm&gt;</span></div>
<div class="line"><a id="l00017" name="l00017"></a><span class="lineno"> 17</span><span class="preprocessor">#include &lt;cctype&gt;</span></div>
<div class="line"><a id="l00018" name="l00018"></a><span class="lineno"> 18</span><span class="preprocessor">#include &lt;cerrno&gt;</span></div>
<div class="line"><a id="l00019" name="l00019"></a><span class="lineno"> 19</span><span class="preprocessor">#include &lt;climits&gt;</span></div>
<div class="line"><a id="l00020" name="l00020"></a><span class="lineno"> 20</span><span class="preprocessor">#include &lt;cstdio&gt;</span></div>
<div class="line"><a id="l00021" name="l00021"></a><span class="lineno"> 21</span><span class="preprocessor">#include &lt;cstdlib&gt;</span></div>
<div class="line"><a id="l00022" name="l00022"></a><span class="lineno"> 22</span><span class="preprocessor">#include &lt;cstring&gt;</span></div>
<div class="line"><a id="l00023" name="l00023"></a><span class="lineno"> 23</span><span class="preprocessor">#include &lt;fstream&gt;</span></div>
<div class="line"><a id="l00024" name="l00024"></a><span class="lineno"> 24</span><span class="preprocessor">#include &lt;iostream&gt;</span></div>
<div class="line"><a id="l00025" name="l00025"></a><span class="lineno"> 25</span><span class="preprocessor">#include &lt;iterator&gt;</span></div>
<div class="line"><a id="l00026" name="l00026"></a><span class="lineno"> 26</span><span class="preprocessor">#include &lt;sstream&gt;</span></div>
<div class="line"><a id="l00027" name="l00027"></a><span class="lineno"> 27</span><span class="preprocessor">#include &lt;string&gt;</span></div>
<div class="line"><a id="l00028" name="l00028"></a><span class="lineno"> 28</span><span class="preprocessor">#include &lt;map&gt;</span></div>
<div class="line"><a id="l00029" name="l00029"></a><span class="lineno"> 29</span><span class="preprocessor">#include &lt;vector&gt;</span></div>
<div class="line"><a id="l00030" name="l00030"></a><span class="lineno"> 30</span> </div>
<div class="line"><a id="l00031" name="l00031"></a><span class="lineno"> 31</span><span class="keyword">using </span>std::cout;</div>
<div class="line"><a id="l00032" name="l00032"></a><span class="lineno"> 32</span><span class="keyword">using </span>std::strerror;</div>
<div class="line"><a id="l00033" name="l00033"></a><span class="lineno"> 33</span><span class="keyword">using </span>std::string;</div>
<div class="line"><a id="l00034" name="l00034"></a><span class="lineno"> 34</span> </div>
<div class="line"><a id="l00035" name="l00035"></a><span class="lineno"><a class="line" href="structip__port__s.html"> 35</a></span><span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code hl_struct" href="structip__port__s.html">ip_port_s</a> {</div>
<div class="line"><a id="l00036" name="l00036"></a><span class="lineno"><a class="line" href="structip__port__s.html#a2cd33d3d21f205ddb48ee77dd84aa7ab"> 36</a></span> <span class="keywordtype">int</span> <a class="code hl_variable" href="structip__port__s.html#a2cd33d3d21f205ddb48ee77dd84aa7ab">fd</a>;</div>
<div class="line"><a id="l00037" name="l00037"></a><span class="lineno"><a class="line" href="structip__port__s.html#afb20776a9723a50ac32fd9b8248b3e0c"> 37</a></span> <span class="keywordtype">string</span> <a class="code hl_variable" href="structip__port__s.html#afb20776a9723a50ac32fd9b8248b3e0c">ip</a>;</div>
<div class="line"><a id="l00038" name="l00038"></a><span class="lineno"><a class="line" href="structip__port__s.html#aae56f9ac0aa0193aaae11be127aa578e"> 38</a></span> <span class="keywordtype">int</span> <a class="code hl_variable" href="structip__port__s.html#aae56f9ac0aa0193aaae11be127aa578e">port</a>;</div>
<div class="line"><a id="l00039" name="l00039"></a><span class="lineno"><a class="line" href="webserv_8hpp.html#aca8ca4c81e9d413f6c6f1f3dc74906b4"> 39</a></span>} <a class="code hl_typedef" href="webserv_8hpp.html#aca8ca4c81e9d413f6c6f1f3dc74906b4">ip_port_t</a>;</div>
<div class="line"><a id="l00040" name="l00040"></a><span class="lineno"> 40</span> </div>
<div class="line"><a id="l00041" name="l00041"></a><span class="lineno"> 41</span><span class="keyword">class </span><a class="code hl_class" href="classJSONNode.html">JSONNode</a>;</div>
<div class="line"><a id="l00042" name="l00042"></a><span class="lineno"> 42</span><span class="keyword">class </span><a class="code hl_class" href="classEnv.html">Env</a>;</div>
<div class="line"><a id="l00043" name="l00043"></a><span class="lineno"> 43</span><span class="keyword">class </span><a class="code hl_class" href="classServer.html">Server</a>;</div>
<div class="line"><a id="l00044" name="l00044"></a><span class="lineno"> 44</span><span class="keyword">class </span><a class="code hl_class" href="classRoute.html">Route</a>;</div>
<div class="line"><a id="l00045" name="l00045"></a><span class="lineno"> 45</span><span class="keyword">class </span><a class="code hl_class" href="classMaster.html">Master</a>;</div>
<div class="line"><a id="l00046" name="l00046"></a><span class="lineno"> 46</span><span class="keyword">class </span><a class="code hl_class" href="classClient.html">Client</a>;</div>
<div class="line"><a id="l00047" name="l00047"></a><span class="lineno"> 47</span> </div>
<div class="line"><a id="l00048" name="l00048"></a><span class="lineno"><a class="line" href="webserv_8hpp.html#adfa52a9e5ae79ca0eff47012a29449e3"> 48</a></span><span class="keyword">typedef</span> std::map&lt;string, JSONNode *&gt; <a class="code hl_typedef" href="webserv_8hpp.html#adfa52a9e5ae79ca0eff47012a29449e3">JSONObject</a>;</div>
<div class="line"><a id="l00049" name="l00049"></a><span class="lineno"><a class="line" href="webserv_8hpp.html#aa3529ef9abc60facb73497ed5062d913"> 49</a></span><span class="keyword">typedef</span> std::vector&lt;JSONNode *&gt; <a class="code hl_typedef" href="webserv_8hpp.html#aa3529ef9abc60facb73497ed5062d913">JSONList</a>;</div>
<div class="line"><a id="l00050" name="l00050"></a><span class="lineno"><a class="line" href="webserv_8hpp.html#aba96a6988a5bc02b5c8b908af07d0bbb"> 50</a></span><span class="keyword">typedef</span> std::vector&lt;string&gt; <a class="code hl_typedef" href="webserv_8hpp.html#aba96a6988a5bc02b5c8b908af07d0bbb">vec_string</a>;</div>
<div class="line"><a id="l00051" name="l00051"></a><span class="lineno"> 51</span> </div>
<div class="line"><a id="l00052" name="l00052"></a><span class="lineno"> 52</span><span class="comment">// tools</span></div>
<div class="line"><a id="l00053" name="l00053"></a><span class="lineno"> 53</span><span class="keywordtype">void</span> *<a class="code hl_function" href="webserv_8hpp.html#a19d0a16cec67fe4c1af22f1571f4f8a6">ft_memset</a>(<span class="keywordtype">void</span> *b, <span class="keywordtype">int</span> c, <span class="keywordtype">size_t</span> len);</div>
<div class="line"><a id="l00054" name="l00054"></a><span class="lineno"> 54</span><span class="keywordtype">bool</span> <a class="code hl_function" href="webserv_8hpp.html#a12c1f1864dfaa4d3ce407320c3877160">isAPort</a>(<span class="keywordtype">string</span> str);</div>
<div class="line"><a id="l00055" name="l00055"></a><span class="lineno"> 55</span><a class="code hl_typedef" href="webserv_8hpp.html#aba96a6988a5bc02b5c8b908af07d0bbb">vec_string</a> <a class="code hl_function" href="webserv_8hpp.html#a4a79e98b5dec14d16875307f7e77dfb3">split</a>(<span class="keywordtype">string</span> str, <span class="keywordtype">string</span> delim);</div>
<div class="line"><a id="l00056" name="l00056"></a><span class="lineno"> 56</span><a class="code hl_struct" href="structip__port__s.html">ip_port_t</a> <a class="code hl_function" href="webserv_8hpp.html#a6e7e23c21ae956b6859a6f3ec9793358">get_ip_port_t</a>(<span class="keywordtype">string</span> listen);</div>
<div class="line"><a id="l00057" name="l00057"></a><span class="lineno"> 57</span><a class="code hl_struct" href="structip__port__s.html">ip_port_t</a> <a class="code hl_function" href="webserv_8hpp.html#a6e7e23c21ae956b6859a6f3ec9793358">get_ip_port_t</a>(<span class="keywordtype">string</span> ip, <span class="keywordtype">int</span> port);</div>
<div class="line"><a id="l00058" name="l00058"></a><span class="lineno"> 58</span><span class="keywordtype">string</span> <a class="code hl_function" href="webserv_8hpp.html#a07de4a3e033212959997f105daa49798">getMime</a>(<span class="keywordtype">string</span> path);</div>
<div class="line"><a id="l00059" name="l00059"></a><span class="lineno"> 59</span><span class="keywordtype">string</span> <a class="code hl_function" href="webserv_8hpp.html#a044b9a41ee6f56019e039d36e91dc265">read_file</a>(<span class="keywordtype">string</span> path);</div>
<div class="line"><a id="l00060" name="l00060"></a><span class="lineno"> 60</span> </div>
<div class="line"><a id="l00061" name="l00061"></a><span class="lineno"> 61</span><span class="comment">// debug</span></div>
<div class="line"><a id="l00062" name="l00062"></a><span class="lineno"> 62</span><span class="keywordtype">void</span> <a class="code hl_function" href="webserv_8hpp.html#afb2639655e07c91426064b6bdfff7079">debug_block</a>(<span class="keywordtype">string</span> name, <span class="keywordtype">string</span> content);</div>
<div class="line"><a id="l00063" name="l00063"></a><span class="lineno"> 63</span> </div>
<div class="line"><a id="l00064" name="l00064"></a><span class="lineno"> 64</span><span class="preprocessor">#include &quot;<a class="code" href="Client_8hpp.html">Client.hpp</a>&quot;</span></div>
<div class="line"><a id="l00065" name="l00065"></a><span class="lineno"> 65</span><span class="preprocessor">#include &quot;<a class="code" href="Master_8hpp.html">Master.hpp</a>&quot;</span></div>
<div class="line"><a id="l00066" name="l00066"></a><span class="lineno"> 66</span> </div>
<div class="line"><a id="l00067" name="l00067"></a><span class="lineno"> 67</span><span class="preprocessor">#include &quot;<a class="code" href="Nodes_8hpp.html">Nodes.hpp</a>&quot;</span></div>
<div class="line"><a id="l00068" name="l00068"></a><span class="lineno"> 68</span><span class="preprocessor">#include &quot;<a class="code" href="Token_8hpp.html">Token.hpp</a>&quot;</span></div>
<div class="line"><a id="l00069" name="l00069"></a><span class="lineno"> 69</span><span class="preprocessor">#include &quot;<a class="code" href="Parser_8hpp.html">Parser.hpp</a>&quot;</span></div>
<div class="line"><a id="l00070" name="l00070"></a><span class="lineno"> 70</span><span class="preprocessor">#include &quot;<a class="code" href="Route_8hpp.html">Route.hpp</a>&quot;</span></div>
<div class="line"><a id="l00071" name="l00071"></a><span class="lineno"> 71</span><span class="preprocessor">#include &quot;<a class="code" href="Server_8hpp.html">Server.hpp</a>&quot;</span></div>
<div class="line"><a id="l00072" name="l00072"></a><span class="lineno"> 72</span><span class="preprocessor">#include &quot;<a class="code" href="Env_8hpp.html">Env.hpp</a>&quot;</span></div>
<div class="ttc" id="aClient_8hpp_html"><div class="ttname"><a href="Client_8hpp.html">Client.hpp</a></div></div>
<div class="ttc" id="aEnv_8hpp_html"><div class="ttname"><a href="Env_8hpp.html">Env.hpp</a></div></div>
<div class="ttc" id="aMaster_8hpp_html"><div class="ttname"><a href="Master_8hpp.html">Master.hpp</a></div></div>
<div class="ttc" id="aNodes_8hpp_html"><div class="ttname"><a href="Nodes_8hpp.html">Nodes.hpp</a></div></div>
<div class="ttc" id="aParser_8hpp_html"><div class="ttname"><a href="Parser_8hpp.html">Parser.hpp</a></div></div>
<div class="ttc" id="aRoute_8hpp_html"><div class="ttname"><a href="Route_8hpp.html">Route.hpp</a></div></div>
<div class="ttc" id="aServer_8hpp_html"><div class="ttname"><a href="Server_8hpp.html">Server.hpp</a></div></div>
<div class="ttc" id="aToken_8hpp_html"><div class="ttname"><a href="Token_8hpp.html">Token.hpp</a></div></div>
<div class="ttc" id="aclassClient_html"><div class="ttname"><a href="classClient.html">Client</a></div><div class="ttdef"><b>Definition:</b> <a href="Client_8hpp_source.html#l00004">Client.hpp:4</a></div></div>
<div class="ttc" id="aclassEnv_html"><div class="ttname"><a href="classEnv.html">Env</a></div><div class="ttdef"><b>Definition:</b> <a href="Env_8hpp_source.html#l00004">Env.hpp:4</a></div></div>
<div class="ttc" id="aclassJSONNode_html"><div class="ttname"><a href="classJSONNode.html">JSONNode</a></div><div class="ttdef"><b>Definition:</b> <a href="Nodes_8hpp_source.html#l00004">Nodes.hpp:4</a></div></div>
<div class="ttc" id="aclassMaster_html"><div class="ttname"><a href="classMaster.html">Master</a></div><div class="ttdef"><b>Definition:</b> <a href="Master_8hpp_source.html#l00004">Master.hpp:4</a></div></div>
<div class="ttc" id="aclassRoute_html"><div class="ttname"><a href="classRoute.html">Route</a></div><div class="ttdef"><b>Definition:</b> <a href="Route_8hpp_source.html#l00004">Route.hpp:4</a></div></div>
<div class="ttc" id="aclassServer_html"><div class="ttname"><a href="classServer.html">Server</a></div><div class="ttdef"><b>Definition:</b> <a href="Server_8hpp_source.html#l00004">Server.hpp:4</a></div></div>
<div class="ttc" id="astructip__port__s_html"><div class="ttname"><a href="structip__port__s.html">ip_port_s</a></div><div class="ttdef"><b>Definition:</b> <a href="webserv_8hpp_source.html#l00035">webserv.hpp:35</a></div></div>
<div class="ttc" id="astructip__port__s_html_a2cd33d3d21f205ddb48ee77dd84aa7ab"><div class="ttname"><a href="structip__port__s.html#a2cd33d3d21f205ddb48ee77dd84aa7ab">ip_port_s::fd</a></div><div class="ttdeci">int fd</div><div class="ttdef"><b>Definition:</b> <a href="webserv_8hpp_source.html#l00036">webserv.hpp:36</a></div></div>
<div class="ttc" id="astructip__port__s_html_aae56f9ac0aa0193aaae11be127aa578e"><div class="ttname"><a href="structip__port__s.html#aae56f9ac0aa0193aaae11be127aa578e">ip_port_s::port</a></div><div class="ttdeci">int port</div><div class="ttdef"><b>Definition:</b> <a href="webserv_8hpp_source.html#l00038">webserv.hpp:38</a></div></div>
<div class="ttc" id="astructip__port__s_html_afb20776a9723a50ac32fd9b8248b3e0c"><div class="ttname"><a href="structip__port__s.html#afb20776a9723a50ac32fd9b8248b3e0c">ip_port_s::ip</a></div><div class="ttdeci">string ip</div><div class="ttdef"><b>Definition:</b> <a href="webserv_8hpp_source.html#l00037">webserv.hpp:37</a></div></div>
<div class="ttc" id="awebserv_8hpp_html_a044b9a41ee6f56019e039d36e91dc265"><div class="ttname"><a href="webserv_8hpp.html#a044b9a41ee6f56019e039d36e91dc265">read_file</a></div><div class="ttdeci">string read_file(string path)</div><div class="ttdef"><b>Definition:</b> <a href="tools_8cpp_source.html#l00058">tools.cpp:58</a></div></div>
<div class="ttc" id="awebserv_8hpp_html_a07de4a3e033212959997f105daa49798"><div class="ttname"><a href="webserv_8hpp.html#a07de4a3e033212959997f105daa49798">getMime</a></div><div class="ttdeci">string getMime(string path)</div><div class="ttdef"><b>Definition:</b> <a href="tools_8cpp_source.html#l00080">tools.cpp:80</a></div></div>
<div class="ttc" id="awebserv_8hpp_html_a12c1f1864dfaa4d3ce407320c3877160"><div class="ttname"><a href="webserv_8hpp.html#a12c1f1864dfaa4d3ce407320c3877160">isAPort</a></div><div class="ttdeci">bool isAPort(string str)</div><div class="ttdef"><b>Definition:</b> <a href="tools_8cpp_source.html#l00012">tools.cpp:12</a></div></div>
<div class="ttc" id="awebserv_8hpp_html_a19d0a16cec67fe4c1af22f1571f4f8a6"><div class="ttname"><a href="webserv_8hpp.html#a19d0a16cec67fe4c1af22f1571f4f8a6">ft_memset</a></div><div class="ttdeci">void * ft_memset(void *b, int c, size_t len)</div><div class="ttdef"><b>Definition:</b> <a href="tools_8cpp_source.html#l00003">tools.cpp:3</a></div></div>
<div class="ttc" id="awebserv_8hpp_html_a4a79e98b5dec14d16875307f7e77dfb3"><div class="ttname"><a href="webserv_8hpp.html#a4a79e98b5dec14d16875307f7e77dfb3">split</a></div><div class="ttdeci">vec_string split(string str, string delim)</div><div class="ttdef"><b>Definition:</b> <a href="tools_8cpp_source.html#l00020">tools.cpp:20</a></div></div>
<div class="ttc" id="awebserv_8hpp_html_a6e7e23c21ae956b6859a6f3ec9793358"><div class="ttname"><a href="webserv_8hpp.html#a6e7e23c21ae956b6859a6f3ec9793358">get_ip_port_t</a></div><div class="ttdeci">ip_port_t get_ip_port_t(string listen)</div><div class="ttdef"><b>Definition:</b> <a href="tools_8cpp_source.html#l00035">tools.cpp:35</a></div></div>
<div class="ttc" id="awebserv_8hpp_html_aa3529ef9abc60facb73497ed5062d913"><div class="ttname"><a href="webserv_8hpp.html#aa3529ef9abc60facb73497ed5062d913">JSONList</a></div><div class="ttdeci">std::vector&lt; JSONNode * &gt; JSONList</div><div class="ttdef"><b>Definition:</b> <a href="webserv_8hpp_source.html#l00049">webserv.hpp:49</a></div></div>
<div class="ttc" id="awebserv_8hpp_html_aba96a6988a5bc02b5c8b908af07d0bbb"><div class="ttname"><a href="webserv_8hpp.html#aba96a6988a5bc02b5c8b908af07d0bbb">vec_string</a></div><div class="ttdeci">std::vector&lt; string &gt; vec_string</div><div class="ttdef"><b>Definition:</b> <a href="webserv_8hpp_source.html#l00050">webserv.hpp:50</a></div></div>
<div class="ttc" id="awebserv_8hpp_html_aca8ca4c81e9d413f6c6f1f3dc74906b4"><div class="ttname"><a href="webserv_8hpp.html#aca8ca4c81e9d413f6c6f1f3dc74906b4">ip_port_t</a></div><div class="ttdeci">struct ip_port_s ip_port_t</div></div>
<div class="ttc" id="awebserv_8hpp_html_adfa52a9e5ae79ca0eff47012a29449e3"><div class="ttname"><a href="webserv_8hpp.html#adfa52a9e5ae79ca0eff47012a29449e3">JSONObject</a></div><div class="ttdeci">std::map&lt; string, JSONNode * &gt; JSONObject</div><div class="ttdef"><b>Definition:</b> <a href="webserv_8hpp_source.html#l00048">webserv.hpp:48</a></div></div>
<div class="ttc" id="awebserv_8hpp_html_afb2639655e07c91426064b6bdfff7079"><div class="ttname"><a href="webserv_8hpp.html#afb2639655e07c91426064b6bdfff7079">debug_block</a></div><div class="ttdeci">void debug_block(string name, string content)</div><div class="ttdef"><b>Definition:</b> <a href="debug_8cpp_source.html#l00003">debug.cpp:3</a></div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by&#160;<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>