📄 httpsvc_8h-source.html
字号:
00350 <span class="keyword">const</span> <a class="code" href="classPStringToString.html">PStringToString</a> & data,00351 <span class="keyword">const</span> <a class="code" href="classPHTTPConnectionInfo.html">PHTTPConnectionInfo</a> & connectInfo00352 );00353 00354 <span class="keyword">virtual</span> BOOL <a class="code" href="classPConfigPage.html#a4">Post</a>(00355 <a class="code" href="classPHTTPRequest.html">PHTTPRequest</a> & request, <span class="comment">// Information on this request.</span>00356 <span class="keyword">const</span> <a class="code" href="classPStringToString.html">PStringToString</a> & data, <span class="comment">// Variables in the POST data.</span>00357 <a class="code" href="classPHTML.html">PHTML</a> & replyMessage <span class="comment">// Reply message for post.</span>00358 );00359 00360 <span class="keyword">protected</span>:00361 <span class="keyword">virtual</span> BOOL <a class="code" href="classPConfigPage.html#b0">GetExpirationDate</a>(00362 <a class="code" href="classPTime.html">PTime</a> & when <span class="comment">// Time that the resource expires</span>00363 );00364 <a name="l00365"></a><a class="code" href="classPConfigPage.html#n0">00365</a> <a class="code" href="classPHTTPServiceProcess.html">PHTTPServiceProcess</a> & <a class="code" href="classPConfigPage.html#n0">process</a>;00366 };00367 00368 00370 <a name="l00371"></a><a class="code" href="classPConfigSectionsPage.html">00371</a> <span class="keyword">class </span><a class="code" href="classPConfigSectionsPage.html">PConfigSectionsPage</a> : <span class="keyword">public</span> <a class="code" href="classPHTTPConfigSectionList.html">PHTTPConfigSectionList</a>00372 {00373 <a class="code" href="object_8h.html#a27">PCLASSINFO</a>(<a class="code" href="classPConfigSectionsPage.html">PConfigSectionsPage</a>, <a class="code" href="classPHTTPConfigSectionList.html">PHTTPConfigSectionList</a>)00374 <span class="keyword">public</span>:00375 <a class="code" href="classPConfigSectionsPage.html#a0">PConfigSectionsPage</a>(00376 <a class="code" href="classPHTTPServiceProcess.html">PHTTPServiceProcess</a> & app,00377 <span class="keyword">const</span> <a class="code" href="classPURL.html">PURL</a> & url,00378 <span class="keyword">const</span> <a class="code" href="classPHTTPAuthority.html">PHTTPAuthority</a> & auth,00379 <span class="keyword">const</span> <a class="code" href="classPString.html">PString</a> & prefix,00380 <span class="keyword">const</span> <a class="code" href="classPString.html">PString</a> & valueName,00381 <span class="keyword">const</span> <a class="code" href="classPURL.html">PURL</a> & editSection,00382 <span class="keyword">const</span> <a class="code" href="classPURL.html">PURL</a> & newSection,00383 <span class="keyword">const</span> <a class="code" href="classPString.html">PString</a> & newTitle,00384 <a class="code" href="classPHTML.html">PHTML</a> & heading00385 );00386 00387 <span class="keywordtype">void</span> <a class="code" href="classPConfigSectionsPage.html#a1">OnLoadedText</a>(<a class="code" href="classPHTTPRequest.html">PHTTPRequest</a> &, <a class="code" href="classPString.html">PString</a> & text);00388 00389 BOOL <a class="code" href="classPConfigSectionsPage.html#a2">OnPOST</a>(00390 <a class="code" href="classPHTTPServer.html">PHTTPServer</a> & server,00391 <span class="keyword">const</span> <a class="code" href="classPURL.html">PURL</a> & url,00392 <span class="keyword">const</span> <a class="code" href="classPMIMEInfo.html">PMIMEInfo</a> & info,00393 <span class="keyword">const</span> <a class="code" href="classPStringToString.html">PStringToString</a> & data,00394 <span class="keyword">const</span> <a class="code" href="classPHTTPConnectionInfo.html">PHTTPConnectionInfo</a> & connectInfo00395 );00396 00397 <span class="keyword">virtual</span> BOOL <a class="code" href="classPConfigSectionsPage.html#a3">Post</a>(00398 <a class="code" href="classPHTTPRequest.html">PHTTPRequest</a> & request, <span class="comment">// Information on this request.</span>00399 <span class="keyword">const</span> <a class="code" href="classPStringToString.html">PStringToString</a> & data, <span class="comment">// Variables in the POST data.</span>00400 <a class="code" href="classPHTML.html">PHTML</a> & replyMessage <span class="comment">// Reply message for post.</span>00401 );00402 00403 <span class="keyword">protected</span>:00404 <span class="keyword">virtual</span> BOOL <a class="code" href="classPConfigSectionsPage.html#b0">GetExpirationDate</a>(00405 <a class="code" href="classPTime.html">PTime</a> & when <span class="comment">// Time that the resource expires</span>00406 );00407 <a name="l00408"></a><a class="code" href="classPConfigSectionsPage.html#n0">00408</a> <a class="code" href="classPHTTPServiceProcess.html">PHTTPServiceProcess</a> & <a class="code" href="classPConfigSectionsPage.html#n0">process</a>;00409 };00410 00411 00413 <a name="l00414"></a><a class="code" href="classPRegisterPage.html">00414</a> <span class="keyword">class </span><a class="code" href="classPRegisterPage.html">PRegisterPage</a> : <span class="keyword">public</span> <a class="code" href="classPConfigPage.html">PConfigPage</a>00415 {00416 <a class="code" href="object_8h.html#a27">PCLASSINFO</a>(<a class="code" href="classPRegisterPage.html">PRegisterPage</a>, <a class="code" href="classPConfigPage.html">PConfigPage</a>)00417 <span class="keyword">public</span>:00418 <a class="code" href="classPRegisterPage.html#a0">PRegisterPage</a>(00419 <a class="code" href="classPHTTPServiceProcess.html">PHTTPServiceProcess</a> & app,00420 <span class="keyword">const</span> <a class="code" href="classPHTTPAuthority.html">PHTTPAuthority</a> & auth00421 );00422 00423 <a class="code" href="classPString.html">PString</a> <a class="code" href="classPRegisterPage.html#a1">LoadText</a>(00424 <a class="code" href="classPHTTPRequest.html">PHTTPRequest</a> & request <span class="comment">// Information on this request.</span>00425 );00426 <span class="keywordtype">void</span> <a class="code" href="classPRegisterPage.html#a2">OnLoadedText</a>(<a class="code" href="classPHTTPRequest.html">PHTTPRequest</a> & request, <a class="code" href="classPString.html">PString</a> & text);00427 00428 <span class="keyword">virtual</span> BOOL <a class="code" href="classPRegisterPage.html#a3">Post</a>(00429 <a class="code" href="classPHTTPRequest.html">PHTTPRequest</a> & request, <span class="comment">// Information on this request.</span>00430 <span class="keyword">const</span> <a class="code" href="classPStringToString.html">PStringToString</a> & data, <span class="comment">// Variables in the POST data.</span>00431 <a class="code" href="classPHTML.html">PHTML</a> & replyMessage <span class="comment">// Reply message for post.</span>00432 );00433 00434 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classPRegisterPage.html#a4">AddFields</a>(00435 <span class="keyword">const</span> <a class="code" href="classPString.html">PString</a> & prefix <span class="comment">// Prefix on field names</span>00436 ) = 0;00437 00438 <span class="keyword">protected</span>:<a name="l00439"></a><a class="code" href="classPRegisterPage.html#n0">00439</a> <a class="code" href="classPHTTPServiceProcess.html">PHTTPServiceProcess</a> & <a class="code" href="classPRegisterPage.html#n0">process</a>;00440 };00441 00442 00444 <a name="l00445"></a><a class="code" href="classPServiceHTML.html">00445</a> <span class="keyword">class </span><a class="code" href="classPServiceHTML.html">PServiceHTML</a> : <span class="keyword">public</span> <a class="code" href="classPHTML.html">PHTML</a>00446 {00447 <a class="code" href="object_8h.html#a27">PCLASSINFO</a>(<a class="code" href="classPServiceHTML.html">PServiceHTML</a>, <a class="code" href="classPHTML.html">PHTML</a>)00448 <span class="keyword">public</span>:00449 <a class="code" href="classPServiceHTML.html#a0">PServiceHTML</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> * title,00450 <span class="keyword">const</span> <span class="keywordtype">char</span> * help = NULL,00451 <span class="keyword">const</span> <span class="keywordtype">char</span> * helpGif = <span class="stringliteral">"help.gif"</span>);00452 00453 <a class="code" href="classPString.html">PString</a> <a class="code" href="classPServiceHTML.html#a1">ExtractSignature</a>(<a class="code" href="classPString.html">PString</a> & out);00454 <span class="keyword">static</span> <a class="code" href="classPString.html">PString</a> <a class="code" href="classPServiceHTML.html#a1">ExtractSignature</a>(<span class="keyword">const</span> <a class="code" href="classPString.html">PString</a> & html,00455 <a class="code" href="classPString.html">PString</a> & out,00456 <span class="keyword">const</span> <span class="keywordtype">char</span> * keyword = <span class="stringliteral">"#equival"</span>);00457 00458 <a class="code" href="classPString.html">PString</a> <a class="code" href="classPServiceHTML.html#a2">CalculateSignature</a>();00459 <span class="keyword">static</span> <a class="code" href="classPString.html">PString</a> <a class="code" href="classPServiceHTML.html#a2">CalculateSignature</a>(<span class="keyword">const</span> <a class="code" href="classPString.html">PString</a> & out);00460 <span class="keyword">static</span> <a class="code" href="classPString.html">PString</a> <a class="code" href="classPServiceHTML.html#a2">CalculateSignature</a>(<span class="keyword">const</span> <a class="code" href="classPString.html">PString</a> & out, <span class="keyword">const</span> <a class="code" href="structPTEACypher_1_1Key.html">PTEACypher::Key</a> & sig);00461 00462 BOOL <a class="code" href="classPServiceHTML.html#a3">CheckSignature</a>();00463 <span class="keyword">static</span> BOOL <a class="code" href="classPServiceHTML.html#a3">CheckSignature</a>(<span class="keyword">const</span> <a class="code" href="classPString.html">PString</a> & html);00464 <a name="l00465"></a><a class="code" href="classPServiceHTML.html#s5">00465</a> <span class="keyword">enum</span> <a class="code" href="classPServiceHTML.html#s5">MacroOptions</a> {00466 <a class="code" href="classPServiceHTML.html#s5s0">NoOptions</a> = 0,00467 <a class="code" href="classPServiceHTML.html#s5s1">NeedSignature</a> = 1,00468 <a class="code" href="classPServiceHTML.html#s5s2">LoadFromFile</a> = 2,00469 <a class="code" href="classPServiceHTML.html#s5s3">NoURLOverride</a> = 4,00470 <a class="code" href="classPServiceHTML.html#s5s4">NoSignatureForFile</a> = 8
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -