2 * CDE - Common Desktop Environment
4 * Copyright (c) 1993-2012, The Open Group. All rights reserved.
6 * These libraries and programs are free software; you can
7 * redistribute them and/or modify them under the terms of the GNU
8 * Lesser General Public License as published by the Free Software
9 * Foundation; either version 2 of the License, or (at your option)
12 * These libraries and programs are distributed in the hope that
13 * they will be useful, but WITHOUT ANY WARRANTY; without even the
14 * implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
15 * PURPOSE. See the GNU Lesser General Public License for more
18 * You should have received a copy of the GNU Lesser General Public
19 * License along with these librararies and programs; if not, write
20 * to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
21 * Floor, Boston, MA 02110-1301 USA
24 * File: spcE.h $XConsortium: spcE.h /main/3 1995/10/26 15:43:58 rswiston $
27 * (c) Copyright 1988, Hewlett-Packard Company, all rights reserved.
29 * (c) Copyright 1993, 1994 Hewlett-Packard Company *
30 * (c) Copyright 1993, 1994 International Business Machines Corp. *
31 * (c) Copyright 1993, 1994 Sun Microsystems, Inc. *
32 * (c) Copyright 1993, 1994 Novell, Inc. *
38 /* Keep this up to date with the first error number declared below */
39 #define SPC_First_Error_Number 100
40 #define SPC_Min_Error SPC_First_Error_Number
42 #define SPC_Out_Of_Memory 100
43 #define SPC_Bad_Argument 101
44 #define SPC_Active_Channel 102
45 #define SPC_Inactive_Channel 103
46 #define SPC_Internal_Error 104
47 #define SPC_Cannot_Fork 105
48 #define SPC_Cannot_Exec 106
49 #define SPC_Cannot_Execute 107
50 #define SPC_No_Pipe 108
51 #define SPC_No_Pty 109
52 #define SPC_Bad_Connector 110
53 #define SPC_Reading 111
54 #define SPC_Writing 112
55 #define SPC_Bad_Service 113
56 #define SPC_Bad_Port 114
57 #define SPC_Unknown_Host 115
58 #define SPC_Bad_Socket 116
59 #define SPC_Bad_Connect 117
60 #define SPC_Bad_Bind 118
61 #define SPC_Bad_Listen 119
62 #define SPC_Bad_Accept 120
63 #define SPC_Bad_Linger 121
64 #define SPC_Bad_Reuse 122
65 #define SPC_Bad_Sockname 123
66 #define SPC_Bad_Open 124
67 #define SPC_Connection_EOF 125
68 #define SPC_Timeout 126
69 #define SPC_Protocol 127
70 #define SPC_Unexpected_Reply 128
71 #define SPC_No_Channel 129
72 #define SPC_Illegal_Iomode 130
73 #define SPC_No_Signal_Handler 131
74 #define SPC_Bad_Operation 132
75 #define SPC_Bad_Fd 133
76 #define SPC_Bad_Ioctl 134
77 #define SPC_Bad_Select 135
78 #define SPC_Bind_Timeout 136
79 #define SPC_Arg_Too_Long 137
80 #define SPC_Write_Prot 138
81 #define SPC_Bad_Username 139
82 #define SPC_Bad_Password 140
83 #define SPC_Client_Not_Valid 141
84 #define SPC_Cannot_Open_Slave 142
85 /* #define SPC_Register_Error 143 */ /* This has been obsoleted by the
86 expanded register errors below */
87 #define SPC_Protocol_Abort 144
88 #define SPC_Env_Too_Big 145
89 #define SPC_Unlink_Logfile 146
90 #define SPC_Closed_Channel 147
91 #define SPC_Bad_Authentication 148
92 #define SPC_Cannot_Open_Log 149
93 #define SPC_Connection_Reset 150
94 #define SPC_Register_Username 151
95 #define SPC_Register_Netrc 152
96 #define SPC_Register_Open 153
97 #define SPC_Register_Handshake 154
99 #define SPC_Bad_Termios_Mode 155
100 #define SPC_Bad_Termios_Speed 156
101 #define SPC_Bad_Termios_CC 157
102 #define SPC_Bad_Termios_Proto 158
104 #define SPC_Bad_Signal_Name 159
105 #define SPC_Bad_Signal_Value 160
106 #define SPC_Bad_Signal_Format 161
108 #define SPC_Bad_tc_Call 162
110 #define SPC_cannot_Chdir 163
112 #define SPC_Bad_Permission 164
113 #define SPC_Cannot_Create_Netfilename 165
114 #define SPC_Protocol_Version_Error 166
115 /* Keep this up to date with the last error number declared above */
116 #define SPC_Max_Error 167
118 /* The definition of the SPC Error structure has been moved to spc.h
119 (to make it public) */