12429981ef8e66ce33c157c5d5953559e4a958d3
[yaz-moved-to-github.git] / comstack / comstack.c
1 /*
2  * Copyright (c) 1995, Index Data
3  * See the file LICENSE for details.
4  * Sebastian Hammer, Adam Dickmeiss
5  *
6  * $Log: comstack.c,v $
7  * Revision 1.3  1997-09-01 08:49:14  adam
8  * New windows NT/95 port using MSV5.0. Minor changes only.
9  *
10  * Revision 1.2  1995/09/29 17:01:48  quinn
11  * More Windows work
12  *
13  * Revision 1.1  1995/06/14  09:58:20  quinn
14  * Renamed yazlib to comstack.
15  *
16  * Revision 1.2  1995/05/16  08:51:15  quinn
17  * License, documentation, and memory fixes
18  *
19  * Revision 1.1  1995/03/14  10:28:34  quinn
20  * Adding server-side support to tcpip.c and fixing bugs in nonblocking I/O
21  *
22  *
23  */
24
25 #include <comstack.h>
26
27 const char *cs_errlist[] =
28 {
29     "No error or unspecified error",
30     "System (lower-layer) error",
31     "Operation out of state",
32     "No data (operation would block)",
33     "New data while half of old buffer is on the line (flow control)"
34 };
35
36 const char *cs_errmsg(int n)
37 {
38     return cs_errlist[n];
39 }