#include <ncbi_pch.hpp>
#include <cgi/impl/cgi_entry_reader.hpp>
#include <cgi/cgi_exception.hpp>
#include <cgi/cgi_util.hpp>
#include <cgi/error_codes.hpp>
Include dependency graph for cgi_entry_reader.cpp:
Go to the source code of this file.
Go to the SVN repository for this file.
Macros #define NCBI_USE_ERRCODE_X Cgi_API #define CCER "CCgiEntryReader: " Functions static bool s_MatchesBoundary (const string &l, const string &b) static CTempString s_FindAttribute (const CTempString &str, const string &name, CT_POS_TYPE input_pos, bool required) Variables static const char * kBoundaryTag = "boundary=" static const char * kContentDisposition = "Content-Disposition" static const char * kContentType = "Content-Type" Macro Definition Documentation ◆ CCER #define CCER "CCgiEntryReader: "Definition at line 48 of file cgi_entry_reader.cpp.
◆ NCBI_USE_ERRCODE_X #define NCBI_USE_ERRCODE_X Cgi_APIDefinition at line 40 of file cgi_entry_reader.cpp.
Function Documentation ◆ s_FindAttribute() static CTempString s_FindAttribute ( const CTempString & str, const string & name, CT_POS_TYPE input_pos, bool required ) staticDefinition at line 444 of file cgi_entry_reader.cpp.
References CCER, kEmptyStr, NCBI_THROW2, NcbiStreamposToInt8(), NPOS, and str().
Referenced by CCgiEntryReaderContext::x_ReadMultipartHeaders().
◆ s_MatchesBoundary() static bool s_MatchesBoundary ( const string & l, const string & b ) staticDefinition at line 51 of file cgi_entry_reader.cpp.
References b, NStr::EndsWith(), l(), and NStr::StartsWith().
Referenced by CCgiEntryReaderContext::CCgiEntryReaderContext(), and CCgiEntryReader::x_FillBuffer().
Variable Documentation ◆ kBoundaryTag const char* kBoundaryTag = "boundary=" staticDefinition at line 44 of file cgi_entry_reader.cpp.
Referenced by CCgiEntryReaderContext::CCgiEntryReaderContext().
◆ kContentDisposition const char* kContentDisposition = "Content-Disposition" staticDefinition at line 45 of file cgi_entry_reader.cpp.
Referenced by CCgiEntryReaderContext::x_ReadMultipartHeaders().
◆ kContentType const char* kContentType = "Content-Type" staticDefinition at line 46 of file cgi_entry_reader.cpp.
Referenced by MIME_ComposeContentTypeEx(), s_IsContentTypeDefined(), and CCgiEntryReaderContext::x_ReadMultipartHeaders().
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4