vector<CSERV_Info> servers;
101=
"SERV_GetServers('"+ service
102+
"'): Service not operational";
111 _TRACE(
"SERV_GetServers('"<< service <<
"'): Skipping " 118<<
" due to incompatible type " 120<<
hex<< setiosflags(IOS_BASE::uppercase)
121<<
"(0x"<<
info->type <<
") vs. mask=0x"<<
types);
Helper hook-up class that installs default logging/registry/locking (but only if they have not yet be...
Attributes of a given service.
static const struct type types[]
element_type * get(void) const
Get pointer.
#define NCBI_THROW(exception_class, err_code, message)
Generic macro to throw an exception, given the exception class, error code and message string.
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
SSERV_InfoCPtr SERV_GetNextInfo(SERV_ITER iter)
Same as "SERV_GetNextInfoEx(., 0)" â i.e.
void SERV_Close(SERV_ITER iter)
Deallocate the iterator.
const char * SERV_TypeStr(ESERV_Type type)
SERV_ITER SERV_Open(const char *service, TSERV_Type types, unsigned int preferred_host, const SConnNetInfo *net_info)
Same as "SERV_OpenEx(., ., ., ., 0, 0)" â i.e.
unsigned short TSERV_TypeOnly
Server type only, w/o specials.
@ fSERV_All
Server type mask.
static enable_if< is_arithmetic< TNumeric >::value||is_convertible< TNumeric, Int8 >::value, string >::type NumericToString(TNumeric value, TNumToStringFlags flags=0, int base=10)
Convert numeric value to string.
SConnNetInfo * ConnNetInfo_Create(const char *service)
void ConnNetInfo_Destroy(SConnNetInfo *net_info)
vector< CSERV_Info > SERV_GetServers(const string &service, TSERV_TypeOnly types)
Get the servers for a given service.
static void hex(unsigned char c)
int NcbiIsEmptyIPv6(const TNCBI_IPv6Addr *addr)
Return non-zero if the address is empty (either as NULL or IPv6 or IPv4); return zero otherwise.
char * NcbiAddrToString(char *buf, size_t bufsize, const TNCBI_IPv6Addr *addr)
Convert an IPv6 address into either a full-quad text IPv4 (for IPv4-mapped IPv6 addresses) or a hex c...
int NcbiIsIPv4(const TNCBI_IPv6Addr *addr)
Return non-zero(true) if the address is a true IPv4 address (a mapped IPv4 address),...
TNCBI_IPv6Addr SERV_AddrOfInfo(const SSERV_Info *info)
const char * SERV_HostOfInfo(const SSERV_Info *info)
static string x_HostOfInfo(const SSERV_Info *info, const TNCBI_IPv6Addr *addr)
NCBI C++ auxiliary debug macros.
static SLJIT_INLINE sljit_ins msg(sljit_gpr r, sljit_s32 d, sljit_gpr x, sljit_gpr b)
static void Delete(SConnNetInfo *net_info)
Functor template for deleting object.
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