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__connector_8c_source.html below:

NCBI C++ ToolKit: src/connect/ncbi_connector.c Source File

Go to the documentation of this file.

Go to the SVN repository for this file.

37 #define NCBI_USE_ERRCODE_X Connect_Conn 41 #define METACONN_LOG(subcode, level, message) \ 42  CORE_LOGF_X(subcode, level, \ 43  ("%s (\"%s\"): %s"

, message, \

45

? meta->get_type(meta->c_get_type) \

46

: "UNDEF", IO_StatusStr(status)))

58  for

(x_conn = meta->

list

; x_conn; x_conn = x_conn->

next

) {

59  if

(x_conn == connector)

65  "[METACONN_Remove] Connector is not in connection"

);

70  while

(meta->

list

) {

71

x_conn = meta->

list

;

77  if

(x_conn == connector)

89  assert

(meta && connector);

91  if

(connector->

next

|| !connector->

setup

) {

95

?

"[METACONN_Insert] Connector is in use" 96

:

"[METACONN_Insert] Connector is not initable"

);

100

connector->

meta

= meta;

101

connector->

setup

(connector);

105

meta->

list

= connector;

FSetupVTable setup

init meta, may not be NULL

CONNECTOR next

linked list

const STimeout * default_timeout

default timeout pointer

FDestroy destroy

destroys handle, can be NULL

EIO_Status METACONN_Remove(SMetaConnector *meta, CONNECTOR connector)

Delete given "connector" all its descendants (all connectors if "connector" is NULL) from the connect...

EIO_Status METACONN_Insert(SMetaConnector *meta, CONNECTOR connector)

Insert a connector at the beginning of the connection's list of connectors.

SMetaConnector * meta

back link to original meta

const STimeout g_NcbiDefConnTimeout

DEF_CONN_TIMEOUT as STimeout.

@ eIO_Success

everything is fine, no error occurred

@ eIO_Unknown

unknown I/O error (likely fatal but can retry)

@ eIO_InvalidArg

bad argument / parameter value(s) supplied

#define METACONN_LOG(subcode, level, message)


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