NCBI C++ ToolKit
|
Go to the source code of this file.
Go to the SVN repository for this file.
Macros | |
#define | NCBI_USE_ERRCODE_X Connect_LBSM |
Functions | |
static double | s_Preference (double pref, double gap, size_t n) |
size_t | LB_Select (SERV_ITER iter, void *data, FGetCandidate get_candidate, double bonus) |
size_t LB_Select | ( | SERV_ITER | iter, |
void * | data, | ||
FGetCandidate | get_candidate, | ||
double | bonus | ||
) |
Definition at line 62 of file ncbi_lb.c.
References assert, CORE_LOGF, data, eLOG_Note, fSERV_Local, fSERV_Private, SSERV_IterTag::host, i, SLB_Candidate::info, info, SSERV_IterTag::ismask, n, SSERV_IterTag::ok_down, SSERV_IterTag::ok_suppressed, SSERV_IterTag::port, SSERV_IterTag::pref, s_Preference(), SERV_NameOfInfo(), SOCK_HostPortToString(), and SLB_Candidate::status.
Referenced by s_GetNextInfo().