1
#ifndef NCBI_SERVICEP_DISPD__H
2
#define NCBI_SERVICEP_DISPD__H
4
/* $Id: ncbi_servicep_dispd.h,v 6.7 2001/04/24 21:32:06 lavr Exp $
5
* ===========================================================================
8
* National Center for Biotechnology Information
10
* This software/database is a "United States Government Work" under the
11
* terms of the United States Copyright Act. It was written as part of
12
* the author's official duties as a United States Government employee and
13
* thus cannot be copyrighted. This software/database is freely available
14
* to the public for use. The National Library of Medicine and the U.S.
15
* Government have not placed any restriction on its use or reproduction.
17
* Although all reasonable efforts have been taken to ensure the accuracy
18
* and reliability of the software and data, the NLM and the U.S.
19
* Government do not and cannot warrant the performance or results that
20
* may be obtained by using this software or data. The NLM and the U.S.
21
* Government disclaim all warranties, express or implied, including
22
* warranties of performance, merchantability or fitness for any particular
25
* Please cite the author in any work or product based on this material.
27
* ===========================================================================
29
* Author: Anton Lavrentiev
32
* Low-level API to resolve NCBI service name to the server meta-address
33
* with the use of NCBI network dispatcher (DISPD).
35
* --------------------------------------------------------------------------
36
* $Log: ncbi_servicep_dispd.h,v $
37
* Revision 6.7 2001/04/24 21:32:06 lavr
38
* SERV_DISPD_STALE_RATIO_OK and SERV_DISPD_LOCAL_SVC_BONUS moved to .c file
40
* Revision 6.6 2001/03/06 23:57:06 lavr
41
* SERV_DISPD_LOCAL_SVC_BONUS #define'd for services running locally
43
* Revision 6.5 2000/12/29 18:18:22 lavr
44
* RATIO added to update pool if it exhausted due to expiration times of
47
* Revision 6.4 2000/10/20 17:24:08 lavr
48
* 'SConnNetInfo' now passed as 'const' to 'SERV_DISPD_Open'
50
* Revision 6.3 2000/10/05 22:36:21 lavr
51
* Additional parameters in call to DISPD mapper
53
* Revision 6.2 2000/05/22 16:53:13 lavr
54
* Rename service_info -> server_info everywhere (including
55
* file names) as the latter name is more relevant
57
* Revision 6.1 2000/05/12 18:39:49 lavr
58
* First working revision
60
* ==========================================================================
63
#include <connect/ncbi_connutil.h>
64
#include "ncbi_servicep.h"
71
const SSERV_VTable* SERV_DISPD_Open(SERV_ITER iter, const SConnNetInfo *info);
78
#endif /* NCBI_SERVICEP_DISPD__H */