Go to the SVN repository for this file.
1 #ifndef CONNECT___NCBI_CORE_CXX__H 2 #define CONNECT___NCBI_CORE_CXX__H 66 boolpass_ownership =
false 85 boolpass_ownership =
false 108 boolpass_ownership =
false 209::memset(&sto, 0,
sizeof(sto));
Helper hook-up class that installs default logging/registry/locking (but only if they have not yet be...
CTimeout â Timeout interval.
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
SOCKSSL(* FSSLSetup)(void)
SSL setup callback.
void Get(unsigned int *sec, unsigned int *microsec) const
Get timeout in seconds and microseconds.
@ eDefault
Default timeout (to be interpreted by the client code)
@ eInfinite
Infinite timeout.
LOG LOG_cxx2c(void)
Create LOG on top of C++ Toolkit CNcbiDiag.
EConnectInitFlag
CONNECT_Init flags: which parameters to own / initialize.
REG REG_cxx2c(IRWRegistry *reg, bool pass_ownership=false)
Convert a C++ Toolkit registry object to a REG registry.
void CONNECT_Init(const IRWRegistry *reg=0, CRWLock *lock=0, TConnectInitFlags flag=eConnectInit_OwnNothing, FSSLSetup ssl=0)
Init [X]CONNECT library with the specified "reg" and "lock" (ownership for either or both can be deta...
const STimeout * g_CTimeoutToSTimeout(const CTimeout &cto, STimeout &sto)
CTimeout/STimeout adapters.
MT_LOCK MT_LOCK_cxx2c(CRWLock *lock=0, bool pass_ownership=false)
Convert a C++ Toolkit lock object to an MT_LOCK lock.
unsigned int usec
microseconds (modulo 1,000,000)
unsigned int TConnectInitFlags
Bitwise OR of EConnectInitFlag.
CTimeout g_STimeoutToCTimeout(const STimeout *sto)
Convert STimeout to CTimeout.
@ eConnectInit_OwnLock
Lock ownership gets passed.
@ eConnectInit_NoSSL
Do NOT init secure socket layer (SSL)
@ eConnectInit_OwnRegistry
Registry ownership gets passed.
@ eConnectInit_OwnNothing
Original ownership gets retained.
#define NCBI_XCONNECT_EXPORT
Process information in the NCBI Registry, including working with configuration files.
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