~ubuntu-branches/ubuntu/warty/ncbi-tools6/warty

« back to all changes in this revision

Viewing changes to connect/ncbi_servicep_dispd.h

  • Committer: Bazaar Package Importer
  • Author(s): Aaron M. Ucko
  • Date: 2002-04-04 22:13:09 UTC
  • Revision ID: james.westby@ubuntu.com-20020404221309-vfze028rfnlrldct
Tags: upstream-6.1.20011220a
ImportĀ upstreamĀ versionĀ 6.1.20011220a

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#ifndef NCBI_SERVICEP_DISPD__H
 
2
#define NCBI_SERVICEP_DISPD__H
 
3
 
 
4
/*  $Id: ncbi_servicep_dispd.h,v 6.7 2001/04/24 21:32:06 lavr Exp $
 
5
 * ===========================================================================
 
6
 *
 
7
 *                            PUBLIC DOMAIN NOTICE
 
8
 *               National Center for Biotechnology Information
 
9
 *
 
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.
 
16
 *
 
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
 
23
 *  purpose.
 
24
 *
 
25
 *  Please cite the author in any work or product based on this material.
 
26
 *
 
27
 * ===========================================================================
 
28
 *
 
29
 * Author:  Anton Lavrentiev
 
30
 *
 
31
 * File Description:
 
32
 *   Low-level API to resolve NCBI service name to the server meta-address
 
33
 *   with the use of NCBI network dispatcher (DISPD).
 
34
 *
 
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
 
39
 *
 
40
 * Revision 6.6  2001/03/06 23:57:06  lavr
 
41
 * SERV_DISPD_LOCAL_SVC_BONUS #define'd for services running locally
 
42
 *
 
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
 
45
 * untaken services.
 
46
 *
 
47
 * Revision 6.4  2000/10/20 17:24:08  lavr
 
48
 * 'SConnNetInfo' now passed as 'const' to 'SERV_DISPD_Open'
 
49
 *
 
50
 * Revision 6.3  2000/10/05 22:36:21  lavr
 
51
 * Additional parameters in call to DISPD mapper
 
52
 *
 
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
 
56
 *
 
57
 * Revision 6.1  2000/05/12 18:39:49  lavr
 
58
 * First working revision
 
59
 *
 
60
 * ==========================================================================
 
61
 */
 
62
 
 
63
#include <connect/ncbi_connutil.h>
 
64
#include "ncbi_servicep.h"
 
65
 
 
66
#ifdef __cplusplus
 
67
extern "C" {
 
68
#endif
 
69
 
 
70
 
 
71
const SSERV_VTable* SERV_DISPD_Open(SERV_ITER iter, const SConnNetInfo *info);
 
72
 
 
73
 
 
74
#ifdef __cplusplus
 
75
}  /* extern "C" */
 
76
#endif
 
77
 
 
78
#endif /* NCBI_SERVICEP_DISPD__H */