A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://www.ncbi.nlm.nih.gov/IEB/ToolBox/CPP_DOC/doxyhtml/ncbi__service_8h_source.html below:

NCBI C++ ToolKit: include/connect/ncbi_service.h Source File

1 #ifndef CONNECT___NCBI_SERVICE__H 2 #define CONNECT___NCBI_SERVICE__H 47 #define SERV_CLIENT_REVISION_MAJOR 7 48 #define SERV_CLIENT_REVISION_MINOR 0 54 #define SERV_LOCALHOST ((unsigned int)(~0UL)) 55 #define SERV_ANYHOST 0 156

(

const char

* service,

158  unsigned int

preferred_host,

169

(

const char

* service,

171  unsigned int

preferred_host,

192

(

const char

* service

272

(

const char

* service,

274  unsigned int

preferred_host,

287

(

const char

* service,

289  unsigned int

preferred_host,

301

(

const char

* service

389

(

const char

*

name

,

409

(

const char

* service,

420

(

const char

* service

static const struct type types[]

SSERV_InfoCPtr SERV_GetNextInfo(SERV_ITER iter)

Same as "SERV_GetNextInfoEx(., 0)" – i.e.

void SERV_Close(SERV_ITER iter)

Deallocate the iterator.

SSERV_Info * SERV_GetInfoEx(const char *service, TSERV_Type types, unsigned int preferred_host, const SConnNetInfo *net_info, SSERV_InfoCPtr skip[], size_t n_skip, HOST_INFO *host_info)

A "fast track" routine equivalent to creating of an iterator as with SERV_OpenEx(),...

SSERV_Info * SERV_GetInfoSimple(const char *service)

Equivalent to "SERV_GetInfo(., fSERV_Any, SERV_ANYHOST, ConnNetInfo_Crea...

int SERV_SetImplicitServerType(const char *service, ESERV_Type type)

Set a server type to use when a service mapper returns typeless entries for the given service name (t...

ESERV_TypeSpecial

Special "type" bit values that may be combined with server types.

void SERV_Reset(SERV_ITER iter)

Reset the iterator to the state as if it has just been opened.

int SERV_Penalize(SERV_ITER iter, double fine)

Penalize the server returned last from SERV_GetNextInfo[Ex]().

unsigned short SERV_ServerPort(const char *name, unsigned int host)

Obtain a port number that corresponds to the named (standalone) service declared at the specified hos...

int SERV_PenalizeEx(SERV_ITER iter, double fine, TNCBI_Time time)

struct SSERV_IterTag * SERV_ITER

Iterator through the servers.

SSERV_Info * SERV_GetInfo(const char *service, TSERV_Type types, unsigned int preferred_host, const SConnNetInfo *net_info)

Same as "SERV_GetInfoEx(., ., ., ., 0, 0, 0)" – i.e.

SERV_ITER SERV_OpenEx(const char *service, TSERV_Type types, unsigned int preferred_host, const SConnNetInfo *net_info, SSERV_InfoCPtr skip[], size_t n_skip)

Create an iterator for sequential server lookup.

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 int TSERV_Type

Bitwise OR of ESERV_Type[Special].

unsigned short TSERV_TypeOnly

Server type only, w/o specials.

int SERV_Rerate(SERV_ITER iter, double rate)

Rerate the server returned last from SERV_GetNextInfo[Ex]().

ESERV_Type SERV_GetImplicitServerType(const char *service)

Get a server type that would be assigned to typeless entries for the given service name.

SERV_ITER SERV_OpenSimple(const char *service)

Allocate an iterator and consult either local databases (if any present), or network database,...

const SSERV_Info * SSERV_InfoCPtr

Simplified (uncluttered) SSERV_Info pointer type.

SSERV_InfoCPtr SERV_GetNextInfoEx(SERV_ITER iter, HOST_INFO *host_info)

Get the next server meta-address, optionally accompanied by the host parameters made available by the...

@ fSERV_ReverseDns

LB-DNS translation.

@ fSERV_IncludeSuppressed

@ fSERV_All

Server type mask.

@ fSERV_Stateless

Stateless servers only.

@ fSERV_Reserved

Reserved, MBZ.

@ fSERV_Promiscuous

Evrthng and the kitchen sink.

@ fSERV_DelayOpen

Don't open service until use.

#define NCBI_XCONNECT_EXPORT


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