<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <meta http-equiv="X-UA-Compatible" content="IE=9"/> <meta name="generator" content="Doxygen 1.8.6"/> <title>HTP: htp_multipart.h 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="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 style="height: 56px;"> <td style="padding-left: 0.5em;"> <div id="projectname">HTP  <span id="projectnumber">0.5</span> </div> </td> </tr> </tbody> </table> </div> <!-- end header part --> <!-- Generated by Doxygen 1.8.6 --> <div id="navrow1" class="tabs"> <ul class="tablist"> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="annotated.html"><span>Data Structures</span></a></li> <li class="current"><a href="files.html"><span>Files</span></a></li> </ul> </div> <div id="navrow2" class="tabs2"> <ul class="tablist"> <li><a href="files.html"><span>File List</span></a></li> <li><a href="globals.html"><span>Globals</span></a></li> </ul> </div> <div id="nav-path" class="navpath"> <ul> <li class="navelem"><a class="el" href="dir_5edaa2d740570af18be6e40ef0aff597.html">htp</a></li> </ul> </div> </div><!-- top --> <div class="header"> <div class="headertitle"> <div class="title">htp_multipart.h</div> </div> </div><!--header--> <div class="contents"> <a href="htp__multipart_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="comment">/***************************************************************************</span></div> <div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment"> * Copyright (c) 2009-2010 Open Information Security Foundation</span></div> <div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment"> * Copyright (c) 2010-2013 Qualys, Inc.</span></div> <div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment"> * All rights reserved.</span></div> <div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment"> * </span></div> <div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment"> * Redistribution and use in source and binary forms, with or without</span></div> <div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment"> * modification, are permitted provided that the following conditions are</span></div> <div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="comment"> * met:</span></div> <div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="comment"> * </span></div> <div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="comment"> * - Redistributions of source code must retain the above copyright</span></div> <div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="comment"> * notice, this list of conditions and the following disclaimer.</span></div> <div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="comment"></span></div> <div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="comment"> * - Redistributions in binary form must reproduce the above copyright</span></div> <div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="comment"> * notice, this list of conditions and the following disclaimer in the</span></div> <div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="comment"> * documentation and/or other materials provided with the distribution.</span></div> <div class="line"><a name="l00016"></a><span class="lineno"> 16</span> <span class="comment"></span></div> <div class="line"><a name="l00017"></a><span class="lineno"> 17</span> <span class="comment"> * - Neither the name of the Qualys, Inc. nor the names of its</span></div> <div class="line"><a name="l00018"></a><span class="lineno"> 18</span> <span class="comment"> * contributors may be used to endorse or promote products derived from</span></div> <div class="line"><a name="l00019"></a><span class="lineno"> 19</span> <span class="comment"> * this software without specific prior written permission.</span></div> <div class="line"><a name="l00020"></a><span class="lineno"> 20</span> <span class="comment"> * </span></div> <div class="line"><a name="l00021"></a><span class="lineno"> 21</span> <span class="comment"> * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS</span></div> <div class="line"><a name="l00022"></a><span class="lineno"> 22</span> <span class="comment"> * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT</span></div> <div class="line"><a name="l00023"></a><span class="lineno"> 23</span> <span class="comment"> * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR</span></div> <div class="line"><a name="l00024"></a><span class="lineno"> 24</span> <span class="comment"> * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT</span></div> <div class="line"><a name="l00025"></a><span class="lineno"> 25</span> <span class="comment"> * HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,</span></div> <div class="line"><a name="l00026"></a><span class="lineno"> 26</span> <span class="comment"> * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT</span></div> <div class="line"><a name="l00027"></a><span class="lineno"> 27</span> <span class="comment"> * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,</span></div> <div class="line"><a name="l00028"></a><span class="lineno"> 28</span> <span class="comment"> * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY</span></div> <div class="line"><a name="l00029"></a><span class="lineno"> 29</span> <span class="comment"> * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT</span></div> <div class="line"><a name="l00030"></a><span class="lineno"> 30</span> <span class="comment"> * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE</span></div> <div class="line"><a name="l00031"></a><span class="lineno"> 31</span> <span class="comment"> * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.</span></div> <div class="line"><a name="l00032"></a><span class="lineno"> 32</span> <span class="comment"> ***************************************************************************/</span></div> <div class="line"><a name="l00033"></a><span class="lineno"> 33</span> </div> <div class="line"><a name="l00039"></a><span class="lineno"> 39</span> <span class="preprocessor">#ifndef _HTP_MULTIPART_H</span></div> <div class="line"><a name="l00040"></a><span class="lineno"> 40</span> <span class="preprocessor"></span><span class="preprocessor">#define _HTP_MULTIPART_H</span></div> <div class="line"><a name="l00041"></a><span class="lineno"> 41</span> <span class="preprocessor"></span></div> <div class="line"><a name="l00042"></a><span class="lineno"> 42</span> <span class="preprocessor">#ifdef __cplusplus</span></div> <div class="line"><a name="l00043"></a><span class="lineno"> 43</span> <span class="preprocessor"></span><span class="keyword">extern</span> <span class="stringliteral">"C"</span> {</div> <div class="line"><a name="l00044"></a><span class="lineno"> 44</span> <span class="preprocessor">#endif</span></div> <div class="line"><a name="l00045"></a><span class="lineno"> 45</span> <span class="preprocessor"></span></div> <div class="line"><a name="l00046"></a><span class="lineno"> 46</span> <span class="preprocessor">#include "<a class="code" href="bstr_8h.html">bstr.h</a>"</span></div> <div class="line"><a name="l00047"></a><span class="lineno"> 47</span> <span class="preprocessor">#include "<a class="code" href="htp_8h.html">htp.h</a>"</span></div> <div class="line"><a name="l00048"></a><span class="lineno"> 48</span> <span class="preprocessor">#include "<a class="code" href="htp__table_8h.html">htp_table.h</a>"</span></div> <div class="line"><a name="l00049"></a><span class="lineno"> 49</span> </div> <div class="line"><a name="l00050"></a><span class="lineno"> 50</span> </div> <div class="line"><a name="l00051"></a><span class="lineno"> 51</span> <span class="comment">// Constants and enums.</span></div> <div class="line"><a name="l00052"></a><span class="lineno"> 52</span> </div> <div class="line"><a name="l00058"></a><span class="lineno"><a class="line" href="htp__multipart_8h.html#a17ccba0f79e9aefb4caac740b7d7d048"> 58</a></span> <span class="preprocessor">#define HTP_MULTIPART_LF_LINE 0x0001</span></div> <div class="line"><a name="l00059"></a><span class="lineno"> 59</span> <span class="preprocessor"></span></div> <div class="line"><a name="l00061"></a><span class="lineno"><a class="line" href="htp__multipart_8h.html#a7945defd10f83c1edb4e765d072bed3e"> 61</a></span> <span class="preprocessor">#define HTP_MULTIPART_CRLF_LINE 0x0002</span></div> <div class="line"><a name="l00062"></a><span class="lineno"> 62</span> <span class="preprocessor"></span></div> <div class="line"><a name="l00064"></a><span class="lineno"><a class="line" href="htp__multipart_8h.html#af671428c520572fa9db46f2935c4e66b"> 64</a></span> <span class="preprocessor">#define HTP_MULTIPART_BBOUNDARY_LWS_AFTER 0x0004</span></div> <div class="line"><a name="l00065"></a><span class="lineno"> 65</span> <span class="preprocessor"></span></div> <div class="line"><a name="l00067"></a><span class="lineno"><a class="line" href="htp__multipart_8h.html#a1e0403edc362d3c542238288c0b488d8"> 67</a></span> <span class="preprocessor">#define HTP_MULTIPART_BBOUNDARY_NLWS_AFTER 0x0008</span></div> <div class="line"><a name="l00068"></a><span class="lineno"> 68</span> <span class="preprocessor"></span></div> <div class="line"><a name="l00072"></a><span class="lineno"><a class="line" href="htp__multipart_8h.html#a4e4cc52bebb2dde42b85d37567f204b3"> 72</a></span> <span class="preprocessor">#define HTP_MULTIPART_HAS_PREAMBLE 0x0010</span></div> <div class="line"><a name="l00073"></a><span class="lineno"> 73</span> <span class="preprocessor"></span></div> <div class="line"><a name="l00077"></a><span class="lineno"><a class="line" href="htp__multipart_8h.html#a276d5bda60f436ebcc2753875d8aada6"> 77</a></span> <span class="preprocessor">#define HTP_MULTIPART_HAS_EPILOGUE 0x0020</span></div> <div class="line"><a name="l00078"></a><span class="lineno"> 78</span> <span class="preprocessor"></span></div> <div class="line"><a name="l00085"></a><span class="lineno"><a class="line" href="htp__multipart_8h.html#a2d59a1ac29ccf1d56ffcaf7f28e39eb2"> 85</a></span> <span class="preprocessor">#define HTP_MULTIPART_SEEN_LAST_BOUNDARY 0x0040</span></div> <div class="line"><a name="l00086"></a><span class="lineno"> 86</span> <span class="preprocessor"></span></div> <div class="line"><a name="l00091"></a><span class="lineno"><a class="line" href="htp__multipart_8h.html#ae5db699c30aff12cccd5f1b72ee3b068"> 91</a></span> <span class="preprocessor">#define HTP_MULTIPART_PART_AFTER_LAST_BOUNDARY 0x0080</span></div> <div class="line"><a name="l00092"></a><span class="lineno"> 92</span> <span class="preprocessor"></span></div> <div class="line"><a name="l00099"></a><span class="lineno"><a class="line" href="htp__multipart_8h.html#ac660ce8738a0280f18afdaa8ae46510c"> 99</a></span> <span class="preprocessor">#define HTP_MULTIPART_INCOMPLETE 0x0100</span></div> <div class="line"><a name="l00100"></a><span class="lineno"> 100</span> <span class="preprocessor"></span></div> <div class="line"><a name="l00102"></a><span class="lineno"><a class="line" href="htp__multipart_8h.html#a68ed55e8c1a4230bb95aef1e95312e60"> 102</a></span> <span class="preprocessor">#define HTP_MULTIPART_HBOUNDARY_INVALID 0x0200</span></div> <div class="line"><a name="l00103"></a><span class="lineno"> 103</span> <span class="preprocessor"></span></div> <div class="line"><a name="l00109"></a><span class="lineno"><a class="line" href="htp__multipart_8h.html#a6b50b09e252eecdd4ed31091499e8f16"> 109</a></span> <span class="preprocessor">#define HTP_MULTIPART_HBOUNDARY_UNUSUAL 0x0400</span></div> <div class="line"><a name="l00110"></a><span class="lineno"> 110</span> <span class="preprocessor"></span></div> <div class="line"><a name="l00115"></a><span class="lineno"><a class="line" href="htp__multipart_8h.html#ac4c755bde9aef797e88f03c7881cf67d"> 115</a></span> <span class="preprocessor">#define HTP_MULTIPART_HBOUNDARY_QUOTED 0x0800</span></div> <div class="line"><a name="l00116"></a><span class="lineno"> 116</span> <span class="preprocessor"></span></div> <div class="line"><a name="l00118"></a><span class="lineno"><a class="line" href="htp__multipart_8h.html#a390458c7db58cb212547c39cc4b53640"> 118</a></span> <span class="preprocessor">#define HTP_MULTIPART_PART_HEADER_FOLDING 0x1000</span></div> <div class="line"><a name="l00119"></a><span class="lineno"> 119</span> <span class="preprocessor"></span></div> <div class="line"><a name="l00124"></a><span class="lineno"><a class="line" href="htp__multipart_8h.html#a5db96f9c87b67a336fede874f0cc6473"> 124</a></span> <span class="preprocessor">#define HTP_MULTIPART_PART_UNKNOWN 0x2000</span></div> <div class="line"><a name="l00125"></a><span class="lineno"> 125</span> <span class="preprocessor"></span></div> <div class="line"><a name="l00127"></a><span class="lineno"><a class="line" href="htp__multipart_8h.html#ae42a421d15774dd75234af296457fc15"> 127</a></span> <span class="preprocessor">#define HTP_MULTIPART_PART_HEADER_REPEATED 0x4000</span></div> <div class="line"><a name="l00128"></a><span class="lineno"> 128</span> <span class="preprocessor"></span></div> <div class="line"><a name="l00130"></a><span class="lineno"><a class="line" href="htp__multipart_8h.html#a6f0e4f3d742fd57961a3ff08d0c0b617"> 130</a></span> <span class="preprocessor">#define HTP_MULTIPART_PART_HEADER_UNKNOWN 0x8000</span></div> <div class="line"><a name="l00131"></a><span class="lineno"> 131</span> <span class="preprocessor"></span></div> <div class="line"><a name="l00133"></a><span class="lineno"><a class="line" href="htp__multipart_8h.html#a23b5dea3187178bed6b60e1ecd7bafcc"> 133</a></span> <span class="preprocessor">#define HTP_MULTIPART_PART_HEADER_INVALID 0x10000</span></div> <div class="line"><a name="l00134"></a><span class="lineno"> 134</span> <span class="preprocessor"></span></div> <div class="line"><a name="l00136"></a><span class="lineno"><a class="line" href="htp__multipart_8h.html#af8c93bed22a14d35c214e4484181e226"> 136</a></span> <span class="preprocessor">#define HTP_MULTIPART_CD_TYPE_INVALID 0x20000</span></div> <div class="line"><a name="l00137"></a><span class="lineno"> 137</span> <span class="preprocessor"></span></div> <div class="line"><a name="l00139"></a><span class="lineno"><a class="line" href="htp__multipart_8h.html#acdbe29ea2931c1b998fbafb90f03e645"> 139</a></span> <span class="preprocessor">#define HTP_MULTIPART_CD_PARAM_REPEATED 0x40000</span></div> <div class="line"><a name="l00140"></a><span class="lineno"> 140</span> <span class="preprocessor"></span></div> <div class="line"><a name="l00142"></a><span class="lineno"><a class="line" href="htp__multipart_8h.html#a25bc78516f03d53616b66a805fb19f9b"> 142</a></span> <span class="preprocessor">#define HTP_MULTIPART_CD_PARAM_UNKNOWN 0x80000</span></div> <div class="line"><a name="l00143"></a><span class="lineno"> 143</span> <span class="preprocessor"></span></div> <div class="line"><a name="l00145"></a><span class="lineno"><a class="line" href="htp__multipart_8h.html#a52b46d54daa3cee1a2acf06dc5e50b44"> 145</a></span> <span class="preprocessor">#define HTP_MULTIPART_CD_SYNTAX_INVALID 0x100000</span></div> <div class="line"><a name="l00146"></a><span class="lineno"> 146</span> <span class="preprocessor"></span></div> <div class="line"><a name="l00152"></a><span class="lineno"><a class="line" href="htp__multipart_8h.html#a090cde6e855168075346e2e210e5afab"> 152</a></span> <span class="preprocessor">#define HTP_MULTIPART_PART_INCOMPLETE 0x200000</span></div> <div class="line"><a name="l00153"></a><span class="lineno"> 153</span> <span class="preprocessor"></span></div> <div class="line"><a name="l00155"></a><span class="lineno"><a class="line" href="htp__multipart_8h.html#a8482fda9581e605680464e6727faec1e"> 155</a></span> <span class="preprocessor">#define HTP_MULTIPART_NUL_BYTE 0x400000</span></div> <div class="line"><a name="l00156"></a><span class="lineno"> 156</span> <span class="preprocessor"></span></div> <div class="line"><a name="l00158"></a><span class="lineno"><a class="line" href="htp__multipart_8h.html#a1618bee5625fd83d778e3ea124cad1be"> 158</a></span> <span class="preprocessor">#define HTP_MULTIPART_CD_INVALID ( \</span></div> <div class="line"><a name="l00159"></a><span class="lineno"> 159</span> <span class="preprocessor"> HTP_MULTIPART_CD_TYPE_INVALID | \</span></div> <div class="line"><a name="l00160"></a><span class="lineno"> 160</span> <span class="preprocessor"> HTP_MULTIPART_CD_PARAM_REPEATED | \</span></div> <div class="line"><a name="l00161"></a><span class="lineno"> 161</span> <span class="preprocessor"> HTP_MULTIPART_CD_PARAM_UNKNOWN | \</span></div> <div class="line"><a name="l00162"></a><span class="lineno"> 162</span> <span class="preprocessor"> HTP_MULTIPART_CD_SYNTAX_INVALID )</span></div> <div class="line"><a name="l00163"></a><span class="lineno"> 163</span> <span class="preprocessor"></span></div> <div class="line"><a name="l00165"></a><span class="lineno"><a class="line" href="htp__multipart_8h.html#a4d70d2d5e2644d26b0c6d8e1e604da5b"> 165</a></span> <span class="preprocessor">#define HTP_MULTIPART_PART_INVALID ( \</span></div> <div class="line"><a name="l00166"></a><span class="lineno"> 166</span> <span class="preprocessor"> HTP_MULTIPART_CD_INVALID | \</span></div> <div class="line"><a name="l00167"></a><span class="lineno"> 167</span> <span class="preprocessor"> HTP_MULTIPART_NUL_BYTE | \</span></div> <div class="line"><a name="l00168"></a><span class="lineno"> 168</span> <span class="preprocessor"> HTP_MULTIPART_PART_UNKNOWN | \</span></div> <div class="line"><a name="l00169"></a><span class="lineno"> 169</span> <span class="preprocessor"> HTP_MULTIPART_PART_HEADER_REPEATED | \</span></div> <div class="line"><a name="l00170"></a><span class="lineno"> 170</span> <span class="preprocessor"> HTP_MULTIPART_PART_INCOMPLETE | \</span></div> <div class="line"><a name="l00171"></a><span class="lineno"> 171</span> <span class="preprocessor"> HTP_MULTIPART_PART_HEADER_UNKNOWN | \</span></div> <div class="line"><a name="l00172"></a><span class="lineno"> 172</span> <span class="preprocessor"> HTP_MULTIPART_PART_HEADER_INVALID )</span></div> <div class="line"><a name="l00173"></a><span class="lineno"> 173</span> <span class="preprocessor"></span></div> <div class="line"><a name="l00175"></a><span class="lineno"><a class="line" href="htp__multipart_8h.html#a7f6b1d931ffc5eee168abc776c2521ef"> 175</a></span> <span class="preprocessor">#define HTP_MULTIPART_INVALID ( \</span></div> <div class="line"><a name="l00176"></a><span class="lineno"> 176</span> <span class="preprocessor"> HTP_MULTIPART_PART_INVALID | \</span></div> <div class="line"><a name="l00177"></a><span class="lineno"> 177</span> <span class="preprocessor"> HTP_MULTIPART_PART_AFTER_LAST_BOUNDARY | \</span></div> <div class="line"><a name="l00178"></a><span class="lineno"> 178</span> <span class="preprocessor"> HTP_MULTIPART_INCOMPLETE | \</span></div> <div class="line"><a name="l00179"></a><span class="lineno"> 179</span> <span class="preprocessor"> HTP_MULTIPART_HBOUNDARY_INVALID )</span></div> <div class="line"><a name="l00180"></a><span class="lineno"> 180</span> <span class="preprocessor"></span></div> <div class="line"><a name="l00182"></a><span class="lineno"><a class="line" href="htp__multipart_8h.html#ab484bfa5beaf65d8ad1fad7f6f91e376"> 182</a></span> <span class="preprocessor">#define HTP_MULTIPART_UNUSUAL ( \</span></div> <div class="line"><a name="l00183"></a><span class="lineno"> 183</span> <span class="preprocessor"> HTP_MULTIPART_INVALID | \</span></div> <div class="line"><a name="l00184"></a><span class="lineno"> 184</span> <span class="preprocessor"> HTP_MULTIPART_PART_HEADER_FOLDING | \</span></div> <div class="line"><a name="l00185"></a><span class="lineno"> 185</span> <span class="preprocessor"> HTP_MULTIPART_BBOUNDARY_NLWS_AFTER | \</span></div> <div class="line"><a name="l00186"></a><span class="lineno"> 186</span> <span class="preprocessor"> HTP_MULTIPART_HAS_EPILOGUE | \</span></div> <div class="line"><a name="l00187"></a><span class="lineno"> 187</span> <span class="preprocessor"> HTP_MULTIPART_HBOUNDARY_UNUSUAL \</span></div> <div class="line"><a name="l00188"></a><span class="lineno"> 188</span> <span class="preprocessor"> HTP_MULTIPART_HBOUNDARY_QUOTED )</span></div> <div class="line"><a name="l00189"></a><span class="lineno"> 189</span> <span class="preprocessor"></span></div> <div class="line"><a name="l00191"></a><span class="lineno"><a class="line" href="htp__multipart_8h.html#a073e0e772ddf112af61e1c440797dd9d"> 191</a></span> <span class="preprocessor">#define HTP_MULTIPART_UNUSUAL_PARANOID ( \</span></div> <div class="line"><a name="l00192"></a><span class="lineno"> 192</span> <span class="preprocessor"> HTP_MULTIPART_UNUSUAL | \</span></div> <div class="line"><a name="l00193"></a><span class="lineno"> 193</span> <span class="preprocessor"> HTP_MULTIPART_LF_LINE | \</span></div> <div class="line"><a name="l00194"></a><span class="lineno"> 194</span> <span class="preprocessor"> HTP_MULTIPART_BBOUNDARY_LWS_AFTER | \</span></div> <div class="line"><a name="l00195"></a><span class="lineno"> 195</span> <span class="preprocessor"> HTP_MULTIPART_HAS_PREAMBLE )</span></div> <div class="line"><a name="l00196"></a><span class="lineno"> 196</span> <span class="preprocessor"></span></div> <div class="line"><a name="l00197"></a><span class="lineno"><a class="line" href="htp__multipart_8h.html#aa4b74b84748dbb0e10c26cc296ed8a65"> 197</a></span> <span class="preprocessor">#define HTP_MULTIPART_MIME_TYPE "multipart/form-data"</span></div> <div class="line"><a name="l00198"></a><span class="lineno"> 198</span> <span class="preprocessor"></span></div> <div class="line"><a name="l00199"></a><span class="lineno"><a class="line" href="htp__multipart_8h.html#a17ddfa909ffc3bb1562a49cc1d3e0f71"> 199</a></span> <span class="keyword">enum</span> <a class="code" href="htp__multipart_8h.html#a17ddfa909ffc3bb1562a49cc1d3e0f71">htp_multipart_type_t</a> {</div> <div class="line"><a name="l00200"></a><span class="lineno"> 200</span> </div> <div class="line"><a name="l00202"></a><span class="lineno"><a class="line" href="htp__multipart_8h.html#a17ddfa909ffc3bb1562a49cc1d3e0f71a138e92252082f2f78776422b7e08b665"> 202</a></span>  <a class="code" href="htp__multipart_8h.html#a17ddfa909ffc3bb1562a49cc1d3e0f71a138e92252082f2f78776422b7e08b665">MULTIPART_PART_UNKNOWN</a> = 0,</div> <div class="line"><a name="l00203"></a><span class="lineno"> 203</span> </div> <div class="line"><a name="l00205"></a><span class="lineno"><a class="line" href="htp__multipart_8h.html#a17ddfa909ffc3bb1562a49cc1d3e0f71ad43ed5d10bc4e8816d6ed40069b20b12"> 205</a></span>  <a class="code" href="htp__multipart_8h.html#a17ddfa909ffc3bb1562a49cc1d3e0f71ad43ed5d10bc4e8816d6ed40069b20b12">MULTIPART_PART_TEXT</a> = 1,</div> <div class="line"><a name="l00206"></a><span class="lineno"> 206</span> </div> <div class="line"><a name="l00208"></a><span class="lineno"><a class="line" href="htp__multipart_8h.html#a17ddfa909ffc3bb1562a49cc1d3e0f71ad7abfd663c51f2d25a7efc4f0d3bbea9"> 208</a></span>  <a class="code" href="htp__multipart_8h.html#a17ddfa909ffc3bb1562a49cc1d3e0f71ad7abfd663c51f2d25a7efc4f0d3bbea9">MULTIPART_PART_FILE</a> = 2,</div> <div class="line"><a name="l00209"></a><span class="lineno"> 209</span> </div> <div class="line"><a name="l00211"></a><span class="lineno"><a class="line" href="htp__multipart_8h.html#a17ddfa909ffc3bb1562a49cc1d3e0f71a986595f24647a124ab9e85d45df8a0ca"> 211</a></span>  <a class="code" href="htp__multipart_8h.html#a17ddfa909ffc3bb1562a49cc1d3e0f71a986595f24647a124ab9e85d45df8a0ca">MULTIPART_PART_PREAMBLE</a> = 3,</div> <div class="line"><a name="l00212"></a><span class="lineno"> 212</span> </div> <div class="line"><a name="l00214"></a><span class="lineno"><a class="line" href="htp__multipart_8h.html#a17ddfa909ffc3bb1562a49cc1d3e0f71af353f9d2750be04bd25a071826a384ea"> 214</a></span>  <a class="code" href="htp__multipart_8h.html#a17ddfa909ffc3bb1562a49cc1d3e0f71af353f9d2750be04bd25a071826a384ea">MULTIPART_PART_EPILOGUE</a> = 4</div> <div class="line"><a name="l00215"></a><span class="lineno"> 215</span> };</div> <div class="line"><a name="l00216"></a><span class="lineno"> 216</span> </div> <div class="line"><a name="l00217"></a><span class="lineno"> 217</span> </div> <div class="line"><a name="l00218"></a><span class="lineno"> 218</span> <span class="comment">// Structures</span></div> <div class="line"><a name="l00219"></a><span class="lineno"> 219</span> </div> <div class="line"><a name="l00223"></a><span class="lineno"><a class="line" href="htp__multipart_8h.html#a613aab92df844f80bae90a28407c1c14"> 223</a></span> <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="structhtp__mpartp__t.html">htp_mpartp_t</a> <a class="code" href="structhtp__mpartp__t.html">htp_mpartp_t</a>;</div> <div class="line"><a name="l00224"></a><span class="lineno"> 224</span> </div> <div class="line"><a name="l00228"></a><span class="lineno"><a class="line" href="structhtp__multipart__t.html"> 228</a></span> <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="structhtp__multipart__t.html">htp_multipart_t</a> {</div> <div class="line"><a name="l00230"></a><span class="lineno"><a class="line" href="structhtp__multipart__t.html#a0bc547beefa4fe886ea3dc1003c118ce"> 230</a></span>  <span class="keywordtype">char</span> *<a class="code" href="structhtp__multipart__t.html#a0bc547beefa4fe886ea3dc1003c118ce">boundary</a>;</div> <div class="line"><a name="l00231"></a><span class="lineno"> 231</span> </div> <div class="line"><a name="l00233"></a><span class="lineno"><a class="line" href="structhtp__multipart__t.html#a7655a0734f1f01d196b6d211d428bf12"> 233</a></span>  <span class="keywordtype">size_t</span> <a class="code" href="structhtp__multipart__t.html#a7655a0734f1f01d196b6d211d428bf12">boundary_len</a>;</div> <div class="line"><a name="l00234"></a><span class="lineno"> 234</span> </div> <div class="line"><a name="l00236"></a><span class="lineno"><a class="line" href="structhtp__multipart__t.html#ae02effcdf89df998e7597ca6f2b59b01"> 236</a></span>  <span class="keywordtype">int</span> <a class="code" href="structhtp__multipart__t.html#ae02effcdf89df998e7597ca6f2b59b01">boundary_count</a>; </div> <div class="line"><a name="l00237"></a><span class="lineno"> 237</span> </div> <div class="line"><a name="l00239"></a><span class="lineno"><a class="line" href="structhtp__multipart__t.html#a4db759fbeb88e99c88453d457cd84918"> 239</a></span>  <a class="code" href="htp__list_8h.html#abf3c804b78ffe5d6ac235d27f16e0876">htp_list_t</a> *<a class="code" href="structhtp__multipart__t.html#a4db759fbeb88e99c88453d457cd84918">parts</a>;</div> <div class="line"><a name="l00240"></a><span class="lineno"> 240</span> </div> <div class="line"><a name="l00242"></a><span class="lineno"><a class="line" href="structhtp__multipart__t.html#a033cc17c0f513dd9a70876039a98d292"> 242</a></span>  uint64_t <a class="code" href="structhtp__multipart__t.html#a033cc17c0f513dd9a70876039a98d292">flags</a>;</div> <div class="line"><a name="l00243"></a><span class="lineno"> 243</span> } <a class="code" href="htp__multipart_8h.html#aef24340cdc5aa4cc0d4d0aaa2dc74f19">htp_multipart_t</a>;</div> <div class="line"><a name="l00244"></a><span class="lineno"> 244</span> </div> <div class="line"><a name="l00248"></a><span class="lineno"><a class="line" href="structhtp__multipart__part__t.html"> 248</a></span> <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="structhtp__multipart__part__t.html">htp_multipart_part_t</a> {</div> <div class="line"><a name="l00250"></a><span class="lineno"><a class="line" href="structhtp__multipart__part__t.html#a8ed40a83981393df35b529aeafb521ca"> 250</a></span>  <a class="code" href="structhtp__mpartp__t.html">htp_mpartp_t</a> *<a class="code" href="structhtp__multipart__part__t.html#a8ed40a83981393df35b529aeafb521ca">parser</a>;</div> <div class="line"><a name="l00251"></a><span class="lineno"> 251</span> </div> <div class="line"><a name="l00253"></a><span class="lineno"><a class="line" href="structhtp__multipart__part__t.html#a8656ad6df9ccb0dc4a0561bf18f6511d"> 253</a></span>  <span class="keyword">enum</span> <a class="code" href="htp__multipart_8h.html#a17ddfa909ffc3bb1562a49cc1d3e0f71">htp_multipart_type_t</a> <a class="code" href="structhtp__multipart__part__t.html#a8656ad6df9ccb0dc4a0561bf18f6511d">type</a>;</div> <div class="line"><a name="l00254"></a><span class="lineno"> 254</span> </div> <div class="line"><a name="l00256"></a><span class="lineno"><a class="line" href="structhtp__multipart__part__t.html#a28d3e8fec7d415d73269d86f43580ba1"> 256</a></span>  <span class="keywordtype">size_t</span> <a class="code" href="structhtp__multipart__part__t.html#a28d3e8fec7d415d73269d86f43580ba1">len</a>;</div> <div class="line"><a name="l00257"></a><span class="lineno"> 257</span>  </div> <div class="line"><a name="l00259"></a><span class="lineno"><a class="line" href="structhtp__multipart__part__t.html#ac7e8069f2c33b5cc550916ae736629e7"> 259</a></span>  <a class="code" href="structbstr__t.html">bstr</a> *<a class="code" href="structhtp__multipart__part__t.html#ac7e8069f2c33b5cc550916ae736629e7">name</a>; </div> <div class="line"><a name="l00260"></a><span class="lineno"> 260</span> </div> <div class="line"><a name="l00267"></a><span class="lineno"><a class="line" href="structhtp__multipart__part__t.html#ac22e62278c36a256d2b679a8370b50fb"> 267</a></span>  <a class="code" href="structbstr__t.html">bstr</a> *<a class="code" href="structhtp__multipart__part__t.html#ac22e62278c36a256d2b679a8370b50fb">value</a>;</div> <div class="line"><a name="l00268"></a><span class="lineno"> 268</span> </div> <div class="line"><a name="l00270"></a><span class="lineno"><a class="line" href="structhtp__multipart__part__t.html#ab8e787e08a77d16e9f49ad3e9c53d966"> 270</a></span>  <a class="code" href="structbstr__t.html">bstr</a> *<a class="code" href="structhtp__multipart__part__t.html#ab8e787e08a77d16e9f49ad3e9c53d966">content_type</a>;</div> <div class="line"><a name="l00271"></a><span class="lineno"> 271</span> </div> <div class="line"><a name="l00273"></a><span class="lineno"><a class="line" href="structhtp__multipart__part__t.html#a3488359cb13ae9e060ec54bb4e1c1063"> 273</a></span>  <a class="code" href="structhtp__table__t.html">htp_table_t</a> *<a class="code" href="structhtp__multipart__part__t.html#a3488359cb13ae9e060ec54bb4e1c1063">headers</a>;</div> <div class="line"><a name="l00274"></a><span class="lineno"> 274</span> </div> <div class="line"><a name="l00276"></a><span class="lineno"><a class="line" href="structhtp__multipart__part__t.html#ab6412035ef0b6f3fb8961efb38a6fb7c"> 276</a></span>  <a class="code" href="structhtp__file__t.html">htp_file_t</a> *<a class="code" href="structhtp__multipart__part__t.html#ab6412035ef0b6f3fb8961efb38a6fb7c">file</a>;</div> <div class="line"><a name="l00277"></a><span class="lineno"> 277</span> } <a class="code" href="htp__multipart_8h.html#aff20906f893654e2381b8649044fc6b1">htp_multipart_part_t</a>;</div> <div class="line"><a name="l00278"></a><span class="lineno"> 278</span> </div> <div class="line"><a name="l00279"></a><span class="lineno"> 279</span> </div> <div class="line"><a name="l00280"></a><span class="lineno"> 280</span> <span class="comment">// Functions</span></div> <div class="line"><a name="l00281"></a><span class="lineno"> 281</span> </div> <div class="line"><a name="l00291"></a><span class="lineno"> 291</span> <a class="code" href="structhtp__mpartp__t.html">htp_mpartp_t</a> *<a class="code" href="htp__multipart_8h.html#a33c3b3a82d145b68e450333c6e0c19ac">htp_mpartp_create</a>(<a class="code" href="structhtp__cfg__t.html">htp_cfg_t</a> *cfg, <a class="code" href="structbstr__t.html">bstr</a> *boundary, uint64_t flags);</div> <div class="line"><a name="l00292"></a><span class="lineno"> 292</span> </div> <div class="line"><a name="l00305"></a><span class="lineno"> 305</span> <a class="code" href="htp__core_8h.html#ab8a71422665c0773654b9b4d96f01e31">htp_status_t</a> <a class="code" href="htp__multipart_8h.html#ad3ac87b49cdc7cc8f0cc8113b5a4f93b">htp_mpartp_find_boundary</a>(<a class="code" href="structbstr__t.html">bstr</a> *content_type, <a class="code" href="structbstr__t.html">bstr</a> **boundary, uint64_t *multipart_flags);</div> <div class="line"><a name="l00306"></a><span class="lineno"> 306</span> </div> <div class="line"><a name="l00313"></a><span class="lineno"> 313</span> <a class="code" href="structhtp__multipart__t.html">htp_multipart_t</a> *<a class="code" href="htp__multipart_8h.html#a92b1e30aed18fe59ec122fb65519d526">htp_mpartp_get_multipart</a>(<a class="code" href="structhtp__mpartp__t.html">htp_mpartp_t</a> *parser);</div> <div class="line"><a name="l00314"></a><span class="lineno"> 314</span> </div> <div class="line"><a name="l00320"></a><span class="lineno"> 320</span> <span class="keywordtype">void</span> <a class="code" href="htp__multipart_8h.html#aed39a287d90d4fa9ab464444c77697c4">htp_mpartp_destroy</a>(<a class="code" href="structhtp__mpartp__t.html">htp_mpartp_t</a> *parser);</div> <div class="line"><a name="l00321"></a><span class="lineno"> 321</span> </div> <div class="line"><a name="l00328"></a><span class="lineno"> 328</span> <a class="code" href="htp__core_8h.html#ab8a71422665c0773654b9b4d96f01e31">htp_status_t</a> <a class="code" href="htp__multipart_8h.html#a116c58436d2cbd3fdae8eba1f39d808c">htp_mpartp_finalize</a>(<a class="code" href="structhtp__mpartp__t.html">htp_mpartp_t</a> *parser);</div> <div class="line"><a name="l00329"></a><span class="lineno"> 329</span> </div> <div class="line"><a name="l00339"></a><span class="lineno"> 339</span> <a class="code" href="htp__core_8h.html#ab8a71422665c0773654b9b4d96f01e31">htp_status_t</a> <a class="code" href="htp__multipart_8h.html#ae1e1233c3243e369cdae594fae34686f">htp_mpartp_parse</a>(<a class="code" href="structhtp__mpartp__t.html">htp_mpartp_t</a> *parser, <span class="keyword">const</span> <span class="keywordtype">void</span> *data, <span class="keywordtype">size_t</span> len);</div> <div class="line"><a name="l00340"></a><span class="lineno"> 340</span> </div> <div class="line"><a name="l00341"></a><span class="lineno"> 341</span> <span class="preprocessor">#ifdef __cplusplus</span></div> <div class="line"><a name="l00342"></a><span class="lineno"> 342</span> <span class="preprocessor"></span>}</div> <div class="line"><a name="l00343"></a><span class="lineno"> 343</span> <span class="preprocessor">#endif</span></div> <div class="line"><a name="l00344"></a><span class="lineno"> 344</span> <span class="preprocessor"></span></div> <div class="line"><a name="l00345"></a><span class="lineno"> 345</span> <span class="preprocessor">#endif </span><span class="comment">/* _HTP_MULTIPART_H */</span><span class="preprocessor"></span></div> <div class="ttc" id="structhtp__cfg__t_html"><div class="ttname"><a href="structhtp__cfg__t.html">htp_cfg_t</a></div><div class="ttdef"><b>Definition:</b> htp_config_private.h:122</div></div> <div class="ttc" id="htp__multipart_8h_html_a33c3b3a82d145b68e450333c6e0c19ac"><div class="ttname"><a href="htp__multipart_8h.html#a33c3b3a82d145b68e450333c6e0c19ac">htp_mpartp_create</a></div><div class="ttdeci">htp_mpartp_t * htp_mpartp_create(htp_cfg_t *cfg, bstr *boundary, uint64_t flags)</div><div class="ttdef"><b>Definition:</b> htp_multipart.c:842</div></div> <div class="ttc" id="htp__list_8h_html_abf3c804b78ffe5d6ac235d27f16e0876"><div class="ttname"><a href="htp__list_8h.html#abf3c804b78ffe5d6ac235d27f16e0876">htp_list_t</a></div><div class="ttdeci">#define htp_list_t</div><div class="ttdef"><b>Definition:</b> htp_list.h:48</div></div> <div class="ttc" id="structhtp__multipart__t_html_ae02effcdf89df998e7597ca6f2b59b01"><div class="ttname"><a href="structhtp__multipart__t.html#ae02effcdf89df998e7597ca6f2b59b01">htp_multipart_t::boundary_count</a></div><div class="ttdeci">int boundary_count</div><div class="ttdef"><b>Definition:</b> htp_multipart.h:236</div></div> <div class="ttc" id="structhtp__multipart__t_html_a033cc17c0f513dd9a70876039a98d292"><div class="ttname"><a href="structhtp__multipart__t.html#a033cc17c0f513dd9a70876039a98d292">htp_multipart_t::flags</a></div><div class="ttdeci">uint64_t flags</div><div class="ttdef"><b>Definition:</b> htp_multipart.h:242</div></div> <div class="ttc" id="htp__multipart_8h_html_a116c58436d2cbd3fdae8eba1f39d808c"><div class="ttname"><a href="htp__multipart_8h.html#a116c58436d2cbd3fdae8eba1f39d808c">htp_mpartp_finalize</a></div><div class="ttdeci">htp_status_t htp_mpartp_finalize(htp_mpartp_t *parser)</div><div class="ttdef"><b>Definition:</b> htp_multipart.c:1037</div></div> <div class="ttc" id="structhtp__multipart__t_html_a0bc547beefa4fe886ea3dc1003c118ce"><div class="ttname"><a href="structhtp__multipart__t.html#a0bc547beefa4fe886ea3dc1003c118ce">htp_multipart_t::boundary</a></div><div class="ttdeci">char * boundary</div><div class="ttdef"><b>Definition:</b> htp_multipart.h:230</div></div> <div class="ttc" id="htp__multipart_8h_html_aef24340cdc5aa4cc0d4d0aaa2dc74f19"><div class="ttname"><a href="htp__multipart_8h.html#aef24340cdc5aa4cc0d4d0aaa2dc74f19">htp_multipart_t</a></div><div class="ttdeci">struct htp_multipart_t htp_multipart_t</div></div> <div class="ttc" id="structhtp__multipart__part__t_html"><div class="ttname"><a href="structhtp__multipart__part__t.html">htp_multipart_part_t</a></div><div class="ttdef"><b>Definition:</b> htp_multipart.h:248</div></div> <div class="ttc" id="structhtp__multipart__t_html_a4db759fbeb88e99c88453d457cd84918"><div class="ttname"><a href="structhtp__multipart__t.html#a4db759fbeb88e99c88453d457cd84918">htp_multipart_t::parts</a></div><div class="ttdeci">htp_list_t * parts</div><div class="ttdef"><b>Definition:</b> htp_multipart.h:239</div></div> <div class="ttc" id="bstr_8h_html"><div class="ttname"><a href="bstr_8h.html">bstr.h</a></div></div> <div class="ttc" id="structhtp__multipart__part__t_html_a8ed40a83981393df35b529aeafb521ca"><div class="ttname"><a href="structhtp__multipart__part__t.html#a8ed40a83981393df35b529aeafb521ca">htp_multipart_part_t::parser</a></div><div class="ttdeci">htp_mpartp_t * parser</div><div class="ttdef"><b>Definition:</b> htp_multipart.h:250</div></div> <div class="ttc" id="htp__multipart_8h_html_aff20906f893654e2381b8649044fc6b1"><div class="ttname"><a href="htp__multipart_8h.html#aff20906f893654e2381b8649044fc6b1">htp_multipart_part_t</a></div><div class="ttdeci">struct htp_multipart_part_t htp_multipart_part_t</div></div> <div class="ttc" id="structhtp__multipart__part__t_html_a8656ad6df9ccb0dc4a0561bf18f6511d"><div class="ttname"><a href="structhtp__multipart__part__t.html#a8656ad6df9ccb0dc4a0561bf18f6511d">htp_multipart_part_t::type</a></div><div class="ttdeci">enum htp_multipart_type_t type</div><div class="ttdef"><b>Definition:</b> htp_multipart.h:253</div></div> <div class="ttc" id="structhtp__multipart__t_html"><div class="ttname"><a href="structhtp__multipart__t.html">htp_multipart_t</a></div><div class="ttdef"><b>Definition:</b> htp_multipart.h:228</div></div> <div class="ttc" id="structhtp__multipart__part__t_html_ab6412035ef0b6f3fb8961efb38a6fb7c"><div class="ttname"><a href="structhtp__multipart__part__t.html#ab6412035ef0b6f3fb8961efb38a6fb7c">htp_multipart_part_t::file</a></div><div class="ttdeci">htp_file_t * file</div><div class="ttdef"><b>Definition:</b> htp_multipart.h:276</div></div> <div class="ttc" id="structhtp__multipart__part__t_html_ac7e8069f2c33b5cc550916ae736629e7"><div class="ttname"><a href="structhtp__multipart__part__t.html#ac7e8069f2c33b5cc550916ae736629e7">htp_multipart_part_t::name</a></div><div class="ttdeci">bstr * name</div><div class="ttdef"><b>Definition:</b> htp_multipart.h:259</div></div> <div class="ttc" id="structbstr__t_html"><div class="ttname"><a href="structbstr__t.html">bstr_t</a></div><div class="ttdef"><b>Definition:</b> bstr.h:57</div></div> <div class="ttc" id="htp__multipart_8h_html_a17ddfa909ffc3bb1562a49cc1d3e0f71af353f9d2750be04bd25a071826a384ea"><div class="ttname"><a href="htp__multipart_8h.html#a17ddfa909ffc3bb1562a49cc1d3e0f71af353f9d2750be04bd25a071826a384ea">MULTIPART_PART_EPILOGUE</a></div><div class="ttdef"><b>Definition:</b> htp_multipart.h:214</div></div> <div class="ttc" id="structhtp__file__t_html"><div class="ttname"><a href="structhtp__file__t.html">htp_file_t</a></div><div class="ttdef"><b>Definition:</b> htp.h:111</div></div> <div class="ttc" id="htp__core_8h_html_ab8a71422665c0773654b9b4d96f01e31"><div class="ttname"><a href="htp__core_8h.html#ab8a71422665c0773654b9b4d96f01e31">htp_status_t</a></div><div class="ttdeci">int htp_status_t</div><div class="ttdef"><b>Definition:</b> htp_core.h:46</div></div> <div class="ttc" id="htp__multipart_8h_html_a17ddfa909ffc3bb1562a49cc1d3e0f71ad43ed5d10bc4e8816d6ed40069b20b12"><div class="ttname"><a href="htp__multipart_8h.html#a17ddfa909ffc3bb1562a49cc1d3e0f71ad43ed5d10bc4e8816d6ed40069b20b12">MULTIPART_PART_TEXT</a></div><div class="ttdef"><b>Definition:</b> htp_multipart.h:205</div></div> <div class="ttc" id="htp__multipart_8h_html_a17ddfa909ffc3bb1562a49cc1d3e0f71ad7abfd663c51f2d25a7efc4f0d3bbea9"><div class="ttname"><a href="htp__multipart_8h.html#a17ddfa909ffc3bb1562a49cc1d3e0f71ad7abfd663c51f2d25a7efc4f0d3bbea9">MULTIPART_PART_FILE</a></div><div class="ttdef"><b>Definition:</b> htp_multipart.h:208</div></div> <div class="ttc" id="htp_8h_html"><div class="ttname"><a href="htp_8h.html">htp.h</a></div></div> <div class="ttc" id="htp__multipart_8h_html_a17ddfa909ffc3bb1562a49cc1d3e0f71a986595f24647a124ab9e85d45df8a0ca"><div class="ttname"><a href="htp__multipart_8h.html#a17ddfa909ffc3bb1562a49cc1d3e0f71a986595f24647a124ab9e85d45df8a0ca">MULTIPART_PART_PREAMBLE</a></div><div class="ttdef"><b>Definition:</b> htp_multipart.h:211</div></div> <div class="ttc" id="htp__multipart_8h_html_a17ddfa909ffc3bb1562a49cc1d3e0f71a138e92252082f2f78776422b7e08b665"><div class="ttname"><a href="htp__multipart_8h.html#a17ddfa909ffc3bb1562a49cc1d3e0f71a138e92252082f2f78776422b7e08b665">MULTIPART_PART_UNKNOWN</a></div><div class="ttdef"><b>Definition:</b> htp_multipart.h:202</div></div> <div class="ttc" id="htp__multipart_8h_html_aed39a287d90d4fa9ab464444c77697c4"><div class="ttname"><a href="htp__multipart_8h.html#aed39a287d90d4fa9ab464444c77697c4">htp_mpartp_destroy</a></div><div class="ttdeci">void htp_mpartp_destroy(htp_mpartp_t *parser)</div><div class="ttdef"><b>Definition:</b> htp_multipart.c:901</div></div> <div class="ttc" id="structhtp__multipart__part__t_html_ab8e787e08a77d16e9f49ad3e9c53d966"><div class="ttname"><a href="structhtp__multipart__part__t.html#ab8e787e08a77d16e9f49ad3e9c53d966">htp_multipart_part_t::content_type</a></div><div class="ttdeci">bstr * content_type</div><div class="ttdef"><b>Definition:</b> htp_multipart.h:270</div></div> <div class="ttc" id="htp__table_8h_html"><div class="ttname"><a href="htp__table_8h.html">htp_table.h</a></div></div> <div class="ttc" id="structhtp__multipart__part__t_html_ac22e62278c36a256d2b679a8370b50fb"><div class="ttname"><a href="structhtp__multipart__part__t.html#ac22e62278c36a256d2b679a8370b50fb">htp_multipart_part_t::value</a></div><div class="ttdeci">bstr * value</div><div class="ttdef"><b>Definition:</b> htp_multipart.h:267</div></div> <div class="ttc" id="structhtp__mpartp__t_html"><div class="ttname"><a href="structhtp__mpartp__t.html">htp_mpartp_t</a></div><div class="ttdef"><b>Definition:</b> htp_multipart_private.h:85</div></div> <div class="ttc" id="structhtp__multipart__part__t_html_a28d3e8fec7d415d73269d86f43580ba1"><div class="ttname"><a href="structhtp__multipart__part__t.html#a28d3e8fec7d415d73269d86f43580ba1">htp_multipart_part_t::len</a></div><div class="ttdeci">size_t len</div><div class="ttdef"><b>Definition:</b> htp_multipart.h:256</div></div> <div class="ttc" id="htp__multipart_8h_html_a92b1e30aed18fe59ec122fb65519d526"><div class="ttname"><a href="htp__multipart_8h.html#a92b1e30aed18fe59ec122fb65519d526">htp_mpartp_get_multipart</a></div><div class="ttdeci">htp_multipart_t * htp_mpartp_get_multipart(htp_mpartp_t *parser)</div><div class="ttdef"><b>Definition:</b> htp_multipart.c:59</div></div> <div class="ttc" id="structhtp__table__t_html"><div class="ttname"><a href="structhtp__table__t.html">htp_table_t</a></div><div class="ttdef"><b>Definition:</b> htp_table_private.h:63</div></div> <div class="ttc" id="htp__multipart_8h_html_a17ddfa909ffc3bb1562a49cc1d3e0f71"><div class="ttname"><a href="htp__multipart_8h.html#a17ddfa909ffc3bb1562a49cc1d3e0f71">htp_multipart_type_t</a></div><div class="ttdeci">htp_multipart_type_t</div><div class="ttdef"><b>Definition:</b> htp_multipart.h:199</div></div> <div class="ttc" id="structhtp__multipart__part__t_html_a3488359cb13ae9e060ec54bb4e1c1063"><div class="ttname"><a href="structhtp__multipart__part__t.html#a3488359cb13ae9e060ec54bb4e1c1063">htp_multipart_part_t::headers</a></div><div class="ttdeci">htp_table_t * headers</div><div class="ttdef"><b>Definition:</b> htp_multipart.h:273</div></div> <div class="ttc" id="htp__multipart_8h_html_ae1e1233c3243e369cdae594fae34686f"><div class="ttname"><a href="htp__multipart_8h.html#ae1e1233c3243e369cdae594fae34686f">htp_mpartp_parse</a></div><div class="ttdeci">htp_status_t htp_mpartp_parse(htp_mpartp_t *parser, const void *data, size_t len)</div><div class="ttdef"><b>Definition:</b> htp_multipart.c:1056</div></div> <div class="ttc" id="structhtp__multipart__t_html_a7655a0734f1f01d196b6d211d428bf12"><div class="ttname"><a href="structhtp__multipart__t.html#a7655a0734f1f01d196b6d211d428bf12">htp_multipart_t::boundary_len</a></div><div class="ttdeci">size_t boundary_len</div><div class="ttdef"><b>Definition:</b> htp_multipart.h:233</div></div> <div class="ttc" id="htp__multipart_8h_html_ad3ac87b49cdc7cc8f0cc8113b5a4f93b"><div class="ttname"><a href="htp__multipart_8h.html#ad3ac87b49cdc7cc8f0cc8113b5a4f93b">htp_mpartp_find_boundary</a></div><div class="ttdeci">htp_status_t htp_mpartp_find_boundary(bstr *content_type, bstr **boundary, uint64_t *multipart_flags)</div><div class="ttdef"><b>Definition:</b> htp_multipart.c:1429</div></div> </div><!-- fragment --></div><!-- contents --> <!-- start footer part --> <hr class="footer"/><address class="footer"><small> Generated by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/> </a> 1.8.6 </small></address> </body> </html>