src/cgi/cgiapp.cpp File Reference

#include <ncbi_pch.hpp>
#include <corelib/ncbienv.hpp>
#include <corelib/rwstream.hpp>
#include <corelib/stream_utils.hpp>
#include <corelib/ncbi_system.hpp>
#include <corelib/ncbi_safe_static.hpp>
#include <corelib/request_ctx.hpp>
#include <corelib/ncbi_strings.h>
#include <util/multi_writer.hpp>
#include <util/cache/cache_ref.hpp>
#include <cgi/cgictx.hpp>
#include <cgi/cgi_exception.hpp>
#include <cgi/cgi_serial.hpp>
#include <cgi/error_codes.hpp>

Include dependency graph for cgiapp.cpp:

Go to the source code of this file.

Classes

class  CCGIStreamReader
class  CCGIStreamWriter
class  CStderrDiagFactory
class  CAsBodyDiagFactory

Defines

#define NCBI_USE_ERRCODE_X   Cgi_Application

Functions

 NCBI_PARAM_DECL (bool, CGI, Print_Http_Referer)
 NCBI_PARAM_DEF_EX (bool, CGI, Print_Http_Referer, true, eParam_NoThread, CGI_PRINT_HTTP_REFERER)
static NCBI_PARAM_TYPE (CGI, Print_Http_Referer) s_PrintRefererParam
 NCBI_PARAM_DECL (bool, CGI, Print_User_Agent)
 NCBI_PARAM_DEF_EX (bool, CGI, Print_User_Agent, true, eParam_NoThread, CGI_PRINT_USER_AGENT)
static NCBI_PARAM_TYPE (CGI, Print_User_Agent) s_PrintUserAgentParam
 NCBI_PARAM_DECL (bool, CGI, Print_Self_Url)
 NCBI_PARAM_DEF_EX (bool, CGI, Print_Self_Url, true, eParam_NoThread, CGI_PRINT_SELF_URL)
static NCBI_PARAM_TYPE (CGI, Print_Self_Url) s_PrintSelfUrlParam
 NCBI_PARAM_DECL (bool, CGI, Count_Transfered)
 NCBI_PARAM_DEF_EX (bool, CGI, Count_Transfered, false, eParam_NoThread, CGI_COUNT_TRANSFERED)
typedef NCBI_PARAM_TYPE (CGI, Count_Transfered) TCGI_Count_Transfered
 NCBI_PARAM_DEF (bool, CGI, DisableTrackingCookie, false)
 NCBI_PARAM_DEF (string, CGI, TrackingCookieName,"ncbi_sid")
 NCBI_PARAM_DEF (string, CGI, TrackingCookieDomain,".nih.gov")
 NCBI_PARAM_DEF (string, CGI, TrackingCookiePath,"/")

Variables

const char * kExtraType_CGI = "NCBICGI"
const char * kToolkitRcPath = "/etc/toolkitrc"
const char * kWebDirToPort = "Web_dir_to_port"


Define Documentation

#define NCBI_USE_ERRCODE_X   Cgi_Application
 

Definition at line 55 of file cgiapp.cpp.


Function Documentation

NCBI_PARAM_DECL bool  ,
CGI  ,
Count_Transfered 
 

NCBI_PARAM_DECL bool  ,
CGI  ,
Print_Self_Url 
 

NCBI_PARAM_DECL bool  ,
CGI  ,
Print_User_Agent 
 

NCBI_PARAM_DECL bool  ,
CGI  ,
Print_Http_Referer 
 

NCBI_PARAM_DEF string  ,
CGI  ,
TrackingCookiePath  ,
"/" 
 

NCBI_PARAM_DEF string  ,
CGI  ,
TrackingCookieDomain  ,
".nih.gov" 
 

NCBI_PARAM_DEF string  ,
CGI  ,
TrackingCookieName  ,
"ncbi_sid" 
 

NCBI_PARAM_DEF bool  ,
CGI  ,
DisableTrackingCookie  ,
false 
 

NCBI_PARAM_DEF_EX bool  ,
CGI  ,
Count_Transfered  ,
false  ,
eParam_NoThread  ,
CGI_COUNT_TRANSFERED 
 

NCBI_PARAM_DEF_EX bool  ,
CGI  ,
Print_Self_Url  ,
true  ,
eParam_NoThread  ,
CGI_PRINT_SELF_URL 
 

NCBI_PARAM_DEF_EX bool  ,
CGI  ,
Print_User_Agent  ,
true  ,
eParam_NoThread  ,
CGI_PRINT_USER_AGENT 
 

NCBI_PARAM_DEF_EX bool  ,
CGI  ,
Print_Http_Referer  ,
true  ,
eParam_NoThread  ,
CGI_PRINT_HTTP_REFERER 
 

typedef NCBI_PARAM_TYPE CGI  ,
Count_Transfered 
 

static NCBI_PARAM_TYPE CGI  ,
Print_Self_Url 
[static]
 

static NCBI_PARAM_TYPE CGI  ,
Print_User_Agent 
[static]
 

static NCBI_PARAM_TYPE CGI  ,
Print_Http_Referer 
[static]
 


Variable Documentation

const char* kExtraType_CGI = "NCBICGI"
 

Definition at line 320 of file cgiapp.cpp.

const char* kToolkitRcPath = "/etc/toolkitrc"
 

Definition at line 1082 of file cgiapp.cpp.

Referenced by GetDefaultLogLocation().

const char* kWebDirToPort = "Web_dir_to_port"
 

Definition at line 1083 of file cgiapp.cpp.

Referenced by GetDefaultLogLocation().


Generated on Mon Oct 13 09:47:42 2008 for NCBI C++ ToolKit by  doxygen 1.4.6
Modified on Mon Oct 13 17:28:51 2008 by modify_doxy.py rev. 117643