~ubuntu-branches/ubuntu/oneiric/ncbi-tools6/oneiric

« back to all changes in this revision

Viewing changes to connect/ncbi_types.h

  • Committer: Bazaar Package Importer
  • Author(s): Aaron M. Ucko
  • Date: 2008-07-14 19:43:15 UTC
  • mfrom: (2.1.12 intrepid)
  • Revision ID: james.westby@ubuntu.com-20080714194315-ed44u9ek7txva2rz
Tags: 6.1.20080302-3
tools/readdb.c: enable madvise()-based code on all glibc (hence all
Debian) systems, not just Linux.  (Closes: #490437.)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#ifndef CONNECT___NCBI_TYPES__H
2
2
#define CONNECT___NCBI_TYPES__H
3
3
 
4
 
/*  $Id: ncbi_types.h,v 6.13 2006/07/13 18:24:05 lavr Exp $
 
4
/*  $Id: ncbi_types.h,v 6.14 2007/08/03 12:55:44 kazimird Exp $
5
5
 * ===========================================================================
6
6
 *
7
7
 *                            PUBLIC DOMAIN NOTICE
73
73
#define kInfiniteTimeout ((const STimeout*)( 0))
74
74
 
75
75
 
 
76
extern NCBI_XCONNECT_EXPORT unsigned long NcbiTimeoutToMs
 
77
(const STimeout* timeout
 
78
);
 
79
 
 
80
 
 
81
extern NCBI_XCONNECT_EXPORT STimeout*     NcbiMsToTimeout
 
82
(STimeout*       timeout,
 
83
 unsigned long   ms
 
84
 );
 
85
 
 
86
 
76
87
/** Aux. enum to set/unset/default various features
77
88
 */
78
89
typedef enum {
97
108
 
98
109
/* @} */
99
110
 
100
 
 
101
 
/*
102
 
 * ---------------------------------------------------------------------------
103
 
 * $Log: ncbi_types.h,v $
104
 
 * Revision 6.13  2006/07/13 18:24:05  lavr
105
 
 * Fix per-member doxygenization
106
 
 *
107
 
 * Revision 6.12  2006/07/13 16:05:42  lavr
108
 
 * Doxygenized
109
 
 *
110
 
 * Revision 6.11  2006/03/04 17:01:14  lavr
111
 
 * Clean away dead #if 0 branch
112
 
 *
113
 
 * Revision 6.10  2005/11/22 20:52:38  lavr
114
 
 * Removed a note about ncbiconf.h -- irrelevant
115
 
 *
116
 
 * Revision 6.9  2003/08/28 19:28:47  ucko
117
 
 * Use macros for kXxxTimeout on all platforms (safer, inasmuch as the C
118
 
 * include directory may be first).
119
 
 *
120
 
 * Revision 6.8  2003/08/28 18:47:25  ucko
121
 
 * Go back to previous WorkShop hack, but include connect_export.h (for
122
 
 * ncbiconf.h) so that it actually works reliably this time around.
123
 
 *
124
 
 * Revision 6.7  2003/08/27 12:32:25  ucko
125
 
 * Yet another attempt to work around the WorkShop lossage with k*Timeout.
126
 
 *
127
 
 * Revision 6.6  2003/08/27 02:00:11  ucko
128
 
 * Sigh... WorkShop still mishandles kXxxTimeout in some cases, so fall
129
 
 * back to making them macros.
130
 
 *
131
 
 * Revision 6.5  2003/08/26 18:55:13  lavr
132
 
 * Added "static" to k...Timeout to make Sun WorkShop compiler happier
133
 
 *
134
 
 * Revision 6.4  2003/08/25 14:36:26  lavr
135
 
 * +kDefaultTimeout, +kInfiniteTimeout
136
 
 *
137
 
 * Revision 6.3  2003/04/09 19:05:58  siyan
138
 
 * Added doxygen support
139
 
 *
140
 
 * Revision 6.2  2002/09/19 18:05:41  lavr
141
 
 * Header file guard macro changed; log moved to end
142
 
 *
143
 
 * Revision 6.1  2001/06/19 20:15:58  lavr
144
 
 * Initial revision
145
 
 *
146
 
 * ===========================================================================
147
 
 */
148
 
 
149
111
#endif /* CONNECT___NCBI_TYPES__H */