Go to the documentation of this file.Go to the SVN repository for this file.
1 #ifndef CONNECT___NCBI_TYPES__H
2 #define CONNECT___NCBI_TYPES__H
52 # ifndef __STDC_FORMAT_MACROS
53 # define __STDC_FORMAT_MACROS
81 #define kDefaultTimeout ((const STimeout*)(-1))
82 #define kInfiniteTimeout ((const STimeout*)( 0))
96 #ifndef NCBI_ESWITCH_DEFINED
97 #define NCBI_ESWITCH_DEFINED
118 #ifndef NCBI_EOWNERSHIP_DEFINED
119 #define NCBI_EOWNERSHIP_DEFINED
147 #define NCBI_TIME_INFINITE ((TNCBI_Time)(-1))
153 #if defined(__MINGW32__) || defined(__MINGW64__)
155 # define NCBI_BIGCOUNT_FORMAT_SPEC "I64u"
156 # define NCBI_BIGCOUNT_FORMAT_SPEC_HEX "I64x"
157 # define NCBI_BIGCOUNT_FORMAT_SPEC_HEX_X "I64X"
158 #elif defined(_WIN32)
160 # define NCBI_BIGCOUNT_FORMAT_SPEC "I64u"
161 # define NCBI_BIGCOUNT_FORMAT_SPEC_HEX "I64x"
162 # define NCBI_BIGCOUNT_FORMAT_SPEC_HEX_X "I64X"
165 # define NCBI_BIGCOUNT_FORMAT_SPEC PRIu64
166 # define NCBI_BIGCOUNT_FORMAT_SPEC_HEX PRIx64
167 # define NCBI_BIGCOUNT_FORMAT_SPEC_HEX_X PRIX64
@ eTakeOwnership
An object can take ownership of another.
@ eNoOwnership
No ownership is assumed.
enum ENcbiSwitch ESwitch
Aux.
unsigned int TNCBI_Size
Fixed-size analogs of size_t and time_t (mainly for IPC)
unsigned long NcbiTimeoutToMs(const STimeout *timeout)
unsigned int usec
microseconds (modulo 1,000,000)
enum ENcbiOwnership EOwnership
Ownership relations between objects.
STimeout * NcbiMsToTimeout(STimeout *timeout, unsigned long ms)
struct STimeoutTag STimeout
Timeout structure.
ENcbiOwnership
Ownership relations between objects.
uint64_t TNCBI_BigCount
Big unsigned integer for file size and position.
#define NCBI_XCONNECT_EXPORT
static SLJIT_INLINE sljit_ins ms(sljit_gpr r, sljit_s32 d, sljit_gpr x, sljit_gpr b)