NCBI C++ ToolKit
Macros | Enumerations | Functions
ncbicgir.cpp File Reference
#include <ncbi_pch.hpp>
#include <corelib/request_ctx.hpp>
#include <cgi/ncbicgir.hpp>
#include <cgi/cgi_exception.hpp>
#include <cgi/cgi_session.hpp>
#include <cgi/cgictx.hpp>
#include <cgi/cgiapp.hpp>
#include <corelib/ncbi_safe_static.hpp>
#include <cgi/error_codes.hpp>
#include <time.h>
+ Include dependency graph for ncbicgir.cpp:

Go to the source code of this file.

Go to the SVN repository for this file.

Macros

#define STDOUT_FILENO   1
 
#define NCBI_USE_ERRCODE_X   Cgi_Response
 

Enumerations

enum  ECgiChunkedTransfer { eChunked_Default , eChunked_Disable , eChunked_Enable }
 

Functions

 NCBI_PARAM_DEF_IN_SCOPE (bool, CGI, ThrowOnBadOutput, true, CCgiResponse)
 
 NCBI_PARAM_DEF_IN_SCOPE (bool, CGI, ExceptionAfterHEAD, false, CCgiResponse)
 
bool s_ZeroTime (const tm &date)
 
 NCBI_PARAM_ENUM_ARRAY (ECgiChunkedTransfer, CGI, ChunkedTransfer)
 
 NCBI_PARAM_ENUM_DECL (ECgiChunkedTransfer, CGI, ChunkedTransfer)
 
 NCBI_PARAM_ENUM_DEF_EX (ECgiChunkedTransfer, CGI, ChunkedTransfer, eChunked_Default, eParam_NoThread, CGI_CHUNKED_TRANSFER)
 
typedef NCBI_PARAM_TYPE (CGI, ChunkedTransfer) TCGI_ChunkedTransfer
 
 NCBI_PARAM_DECL (size_t, CGI, ChunkSize)
 
 NCBI_PARAM_DEF_EX (size_t, CGI, ChunkSize, 4096, eParam_NoThread, CGI_CHUNK_SIZE)
 
typedef NCBI_PARAM_TYPE (CGI, ChunkSize) TCGI_ChunkSize
 

Macro Definition Documentation

◆ NCBI_USE_ERRCODE_X

#define NCBI_USE_ERRCODE_X   Cgi_Response

Definition at line 52 of file ncbicgir.cpp.

◆ STDOUT_FILENO

#define STDOUT_FILENO   1

Definition at line 48 of file ncbicgir.cpp.

Enumeration Type Documentation

◆ ECgiChunkedTransfer

Enumerator
eChunked_Default 
eChunked_Disable 
eChunked_Enable 

Definition at line 610 of file ncbicgir.cpp.

Function Documentation

◆ NCBI_PARAM_DECL()

NCBI_PARAM_DECL ( size_t  ,
CGI  ,
ChunkSize   
)

◆ NCBI_PARAM_DEF_EX()

NCBI_PARAM_DEF_EX ( size_t  ,
CGI  ,
ChunkSize  ,
4096  ,
eParam_NoThread  ,
CGI_CHUNK_SIZE   
)

◆ NCBI_PARAM_DEF_IN_SCOPE() [1/2]

NCBI_PARAM_DEF_IN_SCOPE ( bool  ,
CGI  ,
ExceptionAfterHEAD  ,
false  ,
CCgiResponse   
)

◆ NCBI_PARAM_DEF_IN_SCOPE() [2/2]

NCBI_PARAM_DEF_IN_SCOPE ( bool  ,
CGI  ,
ThrowOnBadOutput  ,
true  ,
CCgiResponse   
)

◆ NCBI_PARAM_ENUM_ARRAY()

NCBI_PARAM_ENUM_ARRAY ( ECgiChunkedTransfer  ,
CGI  ,
ChunkedTransfer   
)

Definition at line 616 of file ncbicgir.cpp.

References eChunked_Disable, and eChunked_Enable.

◆ NCBI_PARAM_ENUM_DECL()

NCBI_PARAM_ENUM_DECL ( ECgiChunkedTransfer  ,
CGI  ,
ChunkedTransfer   
)

◆ NCBI_PARAM_ENUM_DEF_EX()

NCBI_PARAM_ENUM_DEF_EX ( ECgiChunkedTransfer  ,
CGI  ,
ChunkedTransfer  ,
eChunked_Default  ,
eParam_NoThread  ,
CGI_CHUNKED_TRANSFER   
)

◆ NCBI_PARAM_TYPE() [1/2]

typedef NCBI_PARAM_TYPE ( CGI  ,
ChunkedTransfer   
)

◆ NCBI_PARAM_TYPE() [2/2]

typedef NCBI_PARAM_TYPE ( CGI  ,
ChunkSize   
)

◆ s_ZeroTime()

bool s_ZeroTime ( const tm &  date)
inline

Definition at line 78 of file ncbicgir.cpp.

References kZeroTime.

Referenced by CCgiResponse::SetHeaderValue().

Modified on Fri Sep 20 14:57:21 2024 by modify_doxy.py rev. 669887