spcE.h 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126
  1. /*
  2. * CDE - Common Desktop Environment
  3. *
  4. * Copyright (c) 1993-2012, The Open Group. All rights reserved.
  5. *
  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)
  10. * any later version.
  11. *
  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
  16. * details.
  17. *
  18. * You should have received a copy of the GNU Lesser General Public
  19. * License along with these libraries and programs; if not, write
  20. * to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
  21. * Floor, Boston, MA 02110-1301 USA
  22. */
  23. /*
  24. * File: spcE.h $XConsortium: spcE.h /main/3 1995/10/26 15:43:58 rswiston $
  25. * Language: C
  26. *
  27. * (c) Copyright 1988, Hewlett-Packard Company, all rights reserved.
  28. *
  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. *
  33. */
  34. #ifndef _spcE_h
  35. #define _spcE_h
  36. /* Keep this up to date with the first error number declared below */
  37. #define SPC_First_Error_Number 100
  38. #define SPC_Min_Error SPC_First_Error_Number
  39. #define SPC_Out_Of_Memory 100
  40. #define SPC_Bad_Argument 101
  41. #define SPC_Active_Channel 102
  42. #define SPC_Inactive_Channel 103
  43. #define SPC_Internal_Error 104
  44. #define SPC_Cannot_Fork 105
  45. #define SPC_Cannot_Exec 106
  46. #define SPC_Cannot_Execute 107
  47. #define SPC_No_Pipe 108
  48. #define SPC_No_Pty 109
  49. #define SPC_Bad_Connector 110
  50. #define SPC_Reading 111
  51. #define SPC_Writing 112
  52. #define SPC_Bad_Service 113
  53. #define SPC_Bad_Port 114
  54. #define SPC_Unknown_Host 115
  55. #define SPC_Bad_Socket 116
  56. #define SPC_Bad_Connect 117
  57. #define SPC_Bad_Bind 118
  58. #define SPC_Bad_Listen 119
  59. #define SPC_Bad_Accept 120
  60. #define SPC_Bad_Linger 121
  61. #define SPC_Bad_Reuse 122
  62. #define SPC_Bad_Sockname 123
  63. #define SPC_Bad_Open 124
  64. #define SPC_Connection_EOF 125
  65. #define SPC_Timeout 126
  66. #define SPC_Protocol 127
  67. #define SPC_Unexpected_Reply 128
  68. #define SPC_No_Channel 129
  69. #define SPC_Illegal_Iomode 130
  70. #define SPC_No_Signal_Handler 131
  71. #define SPC_Bad_Operation 132
  72. #define SPC_Bad_Fd 133
  73. #define SPC_Bad_Ioctl 134
  74. #define SPC_Bad_Select 135
  75. #define SPC_Bind_Timeout 136
  76. #define SPC_Arg_Too_Long 137
  77. #define SPC_Write_Prot 138
  78. #define SPC_Bad_Username 139
  79. #define SPC_Bad_Password 140
  80. #define SPC_Client_Not_Valid 141
  81. #define SPC_Cannot_Open_Slave 142
  82. /* #define SPC_Register_Error 143 */ /* This has been obsoleted by the
  83. expanded register errors below */
  84. #define SPC_Protocol_Abort 144
  85. #define SPC_Env_Too_Big 145
  86. #define SPC_Unlink_Logfile 146
  87. #define SPC_Closed_Channel 147
  88. #define SPC_Bad_Authentication 148
  89. #define SPC_Cannot_Open_Log 149
  90. #define SPC_Connection_Reset 150
  91. #define SPC_Register_Username 151
  92. #define SPC_Register_Netrc 152
  93. #define SPC_Register_Open 153
  94. #define SPC_Register_Handshake 154
  95. #define SPC_Bad_Termios_Mode 155
  96. #define SPC_Bad_Termios_Speed 156
  97. #define SPC_Bad_Termios_CC 157
  98. #define SPC_Bad_Termios_Proto 158
  99. #define SPC_Bad_Signal_Name 159
  100. #define SPC_Bad_Signal_Value 160
  101. #define SPC_Bad_Signal_Format 161
  102. #define SPC_Bad_tc_Call 162
  103. #define SPC_cannot_Chdir 163
  104. #define SPC_Bad_Permission 164
  105. #define SPC_Cannot_Create_Netfilename 165
  106. #define SPC_Protocol_Version_Error 166
  107. /* JET - a special error code for goobers trying to overflow our buffers. */
  108. /* VU#172583 */
  109. #define SPC_Buffer_Overflow 167
  110. /* Keep this up to date with the last error number declared above */
  111. #define SPC_Max_Error 168
  112. /* The definition of the SPC Error structure has been moved to spc.h
  113. (to make it public) */
  114. #endif /* _spcE_h */