root/trunk/gsdl/packages/yaz/comstack/comstack.c @ 1343

Revision 1343, 1.3 KB (checked in by johnmcp, 20 years ago)

Added the YAZ toolkit source to the packages directory (for z39.50 stuff)

  • Property svn:keywords set to Author Date Id Revision
Line 
1/*
2 * Copyright (c) 1995-1998, Index Data
3 * See the file LICENSE for details.
4 * Sebastian Hammer, Adam Dickmeiss
5 *
6 * $Log$
7 * Revision 1.1  2000/08/03 03:10:04  johnmcp
8 * Added the YAZ toolkit source to the packages directory (for z39.50 stuff)
9 *
10 * Revision 1.6  1999/11/30 13:47:11  adam
11 * Improved installation. Moved header files to include/yaz.
12 *
13 * Revision 1.5  1998/06/22 11:32:35  adam
14 * Added 'conditional cs_listen' feature.
15 *
16 * Revision 1.4  1997/09/29 07:16:14  adam
17 * Array cs_errlist no longer global.
18 *
19 * Revision 1.3  1997/09/01 08:49:14  adam
20 * New windows NT/95 port using MSV5.0. Minor changes only.
21 *
22 * Revision 1.2  1995/09/29 17:01:48  quinn
23 * More Windows work
24 *
25 * Revision 1.1  1995/06/14  09:58:20  quinn
26 * Renamed yazlib to comstack.
27 *
28 * Revision 1.2  1995/05/16  08:51:15  quinn
29 * License, documentation, and memory fixes
30 *
31 * Revision 1.1  1995/03/14  10:28:34  quinn
32 * Adding server-side support to tcpip.c and fixing bugs in nonblocking I/O
33 *
34 *
35 */
36
37#include <yaz/comstack.h>
38
39static const char *cs_errlist[] =
40{
41    "No error or unspecified error",
42    "System (lower-layer) error",
43    "Operation out of state",
44    "No data (operation would block)",
45    "New data while half of old buffer is on the line (flow control)",
46    "Permission denied"
47};
48
49const char *cs_errmsg(int n)
50{
51    return cs_errlist[n];
52}
Note: See TracBrowser for help on using the browser.