~ubuntu-branches/ubuntu/edgy/ncbi-tools6/edgy

« back to all changes in this revision

Viewing changes to connect/ncbi_types.h

  • Committer: Bazaar Package Importer
  • Author(s): Barry deFreese
  • Date: 2006-07-19 23:28:07 UTC
  • mfrom: (1.1.5 upstream)
  • Revision ID: james.westby@ubuntu.com-20060719232807-et3cdmcjgmnyleyx
Tags: 6.1.20060507-3ubuntu1
Re-merge with Debian

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.10 2005/11/22 20:52:38 lavr Exp $
 
4
/*  $Id: ncbi_types.h,v 6.11 2006/03/04 17:01:14 lavr Exp $
5
5
 * ===========================================================================
6
6
 *
7
7
 *                            PUBLIC DOMAIN NOTICE
69
69
    unsigned int usec; /* microseconds (always truncated by mod. 1,000,000) */
70
70
} STimeout;
71
71
 
72
 
#if defined(__cplusplus)  &&  !defined(NCBI_COMPILER_WORKSHOP)  &&  0
73
 
static const STimeout *const kDefaultTimeout  = (const STimeout*)(-1);
74
 
static const STimeout *const kInfiniteTimeout = (const STimeout*)( 0);
75
 
#else
76
 
#  define                    kDefaultTimeout   ((const STimeout*)(-1))
77
 
#  define                    kInfiniteTimeout  ((const STimeout*)( 0))
78
 
#endif /*__cplusplus*/
 
72
#define kDefaultTimeout  ((const STimeout*)(-1))
 
73
#define kInfiniteTimeout ((const STimeout*)( 0))
79
74
 
80
75
 
81
76
/* Aux. enum to set/unset/default various features
92
87
typedef unsigned int TNCBI_Size;
93
88
typedef unsigned int TNCBI_Time;
94
89
 
 
90
#define NCBI_TIME_INFINITE ((TNCBI_Time)(-1))
 
91
 
95
92
 
96
93
#ifdef __cplusplus
97
94
}  /* extern "C" */
104
101
/*
105
102
 * ---------------------------------------------------------------------------
106
103
 * $Log: ncbi_types.h,v $
 
104
 * Revision 6.11  2006/03/04 17:01:14  lavr
 
105
 * Clean away dead #if 0 branch
 
106
 *
107
107
 * Revision 6.10  2005/11/22 20:52:38  lavr
108
108
 * Removed a note about ncbiconf.h -- irrelevant
109
109
 *