|
NCBI Home IEB Home C Toolkit docs C++ Toolkit source browser C Toolkit source browser (2) |
NCBI C Toolkit Cross ReferenceC/connect/ncbi_lbsmd_stub.c |
source navigation diff markup identifier search freetext search file search |
1 /* $Id: ncbi_lbsmd_stub.c,v 6.18 2009/02/03 16:39:35 kazimird Exp $
2 * ===========================================================================
3 *
4 * PUBLIC DOMAIN NOTICE
5 * National Center for Biotechnology Information
6 *
7 * This software/database is a "United States Government Work" under the
8 * terms of the United States Copyright Act. It was written as part of
9 * the author's official duties as a United States Government employee and
10 * thus cannot be copyrighted. This software/database is freely available
11 * to the public for use. The National Library of Medicine and the U.S.
12 * Government have not placed any restriction on its use or reproduction.
13 *
14 * Although all reasonable efforts have been taken to ensure the accuracy
15 * and reliability of the software and data, the NLM and the U.S.
16 * Government do not and cannot warrant the performance or results that
17 * may be obtained by using this software or data. The NLM and the U.S.
18 * Government disclaim all warranties, express or implied, including
19 * warranties of performance, merchantability or fitness for any particular
20 * purpose.
21 *
22 * Please cite the author in any work or product based on this material.
23 *
24 * ===========================================================================
25 *
26 * Author: Anton Lavrentiev
27 *
28 * File Description:
29 * Dummy LBSMD mapper for non-UNIX and non-inhouse platforms.
30 *
31 */
32
33 #include "ncbi_lbsmd.h"
34
35
36 /*ARGSUSED*/
37 const SSERV_VTable *SERV_LBSMD_Open(SERV_ITER iter,
38 SSERV_Info** info,
39 HOST_INFO* host_info,
40 int/*bool*/ dispd_to_follow)
41 {
42 return 0;
43 }
44
45
46 extern const char* LBSMD_GetConfig(void)
47 {
48 return 0;
49 }
50
51
52 /*ARGSUSED*/
53 extern ESwitch LBSMD_FastHeapAccess(ESwitch sw/*ignored*/)
54 {
55 /* ignore any new settings, always return "not implemented" */
56 return eDefault;
57 }
58
59
60 /*ARGSUSED*/
61 extern HEAP LBSMD_GetHeapCopy(TNCBI_Time time/*ignored*/)
62 {
63 return 0;
64 }
65
66
67 /*ARGSUSED*/
68 extern const char* LBSMD_GetHostParameter(unsigned int host,
69 const char* name)
70 {
71 return 0;
72 }
73
74
75 /*ARGSUSED*/
76 int LBSM_HINFO_CpuCount(const HOST_INFO hinfo)
77 {
78 return -1;
79 }
80
81
82 /*ARGSUSED*/
83 int LBSM_HINFO_CpuUnits(const HOST_INFO hinfo)
84 {
85 return -1;
86 }
87
88
89 /*ARGSUSED*/
90 double LBSM_HINFO_CpuClock(const HOST_INFO hinfo)
91 {
92 return 0.0;
93 }
94
95
96 /*ARGSUSED*/
97 int LBSM_HINFO_TaskCount(const HOST_INFO hinfo)
98 {
99 return -1;
100 }
101
102
103 /*ARGSUSED*/
104 int LBSM_HINFO_Memusage(const HOST_INFO hinfo, double memusage[5])
105 {
106 return 0/*failure*/;
107 }
108
109
110 /*ARGSUSED*/
111 int LBSM_HINFO_MachineParams(const HOST_INFO hinfo, SHINFO_Params* p)
112 {
113 return 0/*failure*/;
114 }
115
116
117 /*ARGSUSED*/
118 int/*bool*/ LBSM_HINFO_LoadAverage(const HOST_INFO hinfo, double lavg[2])
119 {
120 return 0/*failure*/;
121 }
122
123
124 /*ARGSUSED*/
125 int/*bool*/ LBSM_HINFO_Status(const HOST_INFO hinfo, double status[2])
126 {
127 return 0/*failure*/;
128 }
129 |
This page was automatically generated by the
LXR engine.
Visit the LXR main site for more information. |