~ubuntu-branches/ubuntu/precise/ncbi-tools6/precise

« back to all changes in this revision

Viewing changes to connect/ncbisock.h

  • Committer: Bazaar Package Importer
  • Author(s): Aaron M. Ucko
  • Date: 2005-03-27 12:00:15 UTC
  • mfrom: (2.1.2 hoary)
  • Revision ID: james.westby@ubuntu.com-20050327120015-embhesp32nj73p9r
Tags: 6.1.20041020-3
* Fix FTBFS under GCC 4.0 caused by inconsistent use of "static" on
  functions.  (Closes: #295110.)
* Add a watch file, now that we can.  (Upstream's layout needs version=3.)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#ifndef NCBISOCK__H
2
2
#define NCBISOCK__H
3
3
 
4
 
/* $Id: ncbisock.h,v 6.2 2000/02/25 16:45:55 vakatov Exp $
 
4
/* $Id: ncbisock.h,v 6.3 2004/04/01 13:43:06 lavr Exp $
5
5
 * ===========================================================================
6
6
 *
7
7
 *                            PUBLIC DOMAIN NOTICE
42
42
 *
43
43
 * ---------------------------------------------------------------------------
44
44
 * $Log: ncbisock.h,v $
 
45
 * Revision 6.3  2004/04/01 13:43:06  lavr
 
46
 * Spell "occurred", "occurrence", and "occurring"
 
47
 *
45
48
 * Revision 6.2  2000/02/25 16:45:55  vakatov
46
49
 * Redesigned to really share "ncbi_*.[ch]" etc. between the C and
47
50
 * the C++ toolkits, and even to use them in a "standalone" fashion
132
135
 */
133
136
typedef enum
134
137
{
135
 
  eSOCK_ESuccess = 0, /* everything is fine, no errors occured          */
 
138
  eSOCK_ESuccess = 0, /* everything is fine, no errors occurred         */
136
139
  eSOCK_ETimeout,     /* timeout expired before the data could be i/o'd */
137
140
  eSOCK_EClosed,      /* peer has closed the connection                 */
138
141