NCBI C++ ToolKit
|
#include "ncbi_priv.h"
#include <unistd.h>
#include <stdarg.h>
#include <stdlib.h>
#include <string.h>
Go to the source code of this file.
Go to the SVN repository for this file.
Functions | |
unsigned int | g_NCBI_ConnectSrandAddend (void) |
int | g_NCBI_CoreCheckLock (void) |
int | g_NCBI_CoreCheckUnlock (void) |
const char * | g_CORE_Sprintf (const char *fmt,...) |
const char * | g_CORE_RegistryGET (const char *section, const char *name, char *value, size_t value_size, const char *def_value) |
int | g_CORE_RegistrySET (const char *section, const char *name, const char *value, EREG_Storage storage) |
Variables | |
TCORE_Set | g_CORE_Set = 0 |
MT_LOCK | g_CORE_MT_Lock = &g_CORE_MT_Lock_default |
LOG | g_CORE_Log = 0 |
REG | g_CORE_Registry = 0 |
unsigned int | g_NCBI_ConnectRandomSeed = 0 |
FNcbiGetAppName | g_CORE_GetAppName = 0 |
FNcbiGetReferer | g_CORE_GetReferer = 0 |
FNcbiGetRequestID | g_CORE_GetRequestID = 0 |
FNcbiGetRequestDtab | g_CORE_GetRequestDtab = 0 |
static MT_LOCK | s_CoreLock = 0 |
const char* g_CORE_RegistryGET | ( | const char * | section, |
const char * | name, | ||
char * | value, | ||
size_t | value_size, | ||
const char * | def_value | ||
) |
Definition at line 136 of file ncbi_priv.c.
References CORE_LOCK_READ, CORE_UNLOCK, g_CORE_Registry, REG_Get(), and rapidjson::value.
int g_CORE_RegistrySET | ( | const char * | section, |
const char * | name, | ||
const char * | value, | ||
EREG_Storage | storage | ||
) |
Definition at line 152 of file ncbi_priv.c.
References CORE_LOCK_READ, CORE_UNLOCK, g_CORE_Registry, REG_Set(), and rapidjson::value.
unsigned int g_NCBI_ConnectSrandAddend | ( | void | ) |
Definition at line 67 of file ncbi_priv.c.
References eDefault, and SOCK_GetLocalHostAddress().
int g_NCBI_CoreCheckLock | ( | void | ) |
Definition at line 85 of file ncbi_priv.c.
References g_CORE_MT_Lock, and s_CoreLock.
int g_NCBI_CoreCheckUnlock | ( | void | ) |
Definition at line 92 of file ncbi_priv.c.
References assert, CORE_LOG, eLOG_Critical, g_CORE_MT_Lock, g_CORE_MT_Lock_default, and s_CoreLock.
FNcbiGetAppName g_CORE_GetAppName = 0 |
Definition at line 52 of file ncbi_priv.c.
Referenced by CORE_GetAppName(), and s_Init().
FNcbiGetReferer g_CORE_GetReferer = 0 |
Definition at line 53 of file ncbi_priv.c.
Referenced by s_Init(), and x_GetReferer().
FNcbiGetRequestDtab g_CORE_GetRequestDtab = 0 |
Definition at line 55 of file ncbi_priv.c.
Referenced by s_Init().
FNcbiGetRequestID g_CORE_GetRequestID = 0 |
Definition at line 54 of file ncbi_priv.c.
Referenced by CORE_GetNcbiRequestID(), and s_Init().
LOG g_CORE_Log = 0 |
Definition at line 49 of file ncbi_priv.c.
Referenced by CORE_GetLOG(), CORE_SetLOG(), and s_CORE_MT_Lock_default_handler().
MT_LOCK g_CORE_MT_Lock = &g_CORE_MT_Lock_default |
Definition at line 48 of file ncbi_priv.c.
Referenced by CORE_GetLOCK(), CORE_SetLOCK(), g_NCBI_CoreCheckLock(), and g_NCBI_CoreCheckUnlock().
REG g_CORE_Registry = 0 |
Definition at line 50 of file ncbi_priv.c.
Referenced by CORE_GetREG(), CORE_SetREG(), g_CORE_RegistryGET(), and g_CORE_RegistrySET().
TCORE_Set g_CORE_Set = 0 |
Definition at line 47 of file ncbi_priv.c.
Referenced by CONNECT_Init(), CORE_SetLOCK(), CORE_SetLOG(), CORE_SetREG(), s_Fini(), s_Init(), and SOCK_SetupSSLInternal().
unsigned int g_NCBI_ConnectRandomSeed = 0 |
Definition at line 51 of file ncbi_priv.c.
Referenced by s_Init(), SERV_DISPD_Open(), SERV_LBSMD_Open(), SERV_LOCAL_Open(), and SERV_NAMERD_Open().
|
static |
Definition at line 83 of file ncbi_priv.c.
Referenced by g_NCBI_CoreCheckLock(), and g_NCBI_CoreCheckUnlock().