MCS  0.3.3-alpha7
mcsmsg.hh
1 // ----------------------------------------------------------------------^
2 // Copyright (C) 2004, 2005, 2006, 2007, 2008 Giorgio Calderone
3 // (mailto: <gcalderone@ifc.inaf.it>)
4 //
5 // This file is part of MCS.
6 //
7 // MCS is free software; you can redistribute it and/or modify
8 // it under the terms of the GNU General Public License as published by
9 // the Free Software Foundation; either version 2 of the License, or
10 // (at your option) any later version.
11 //
12 // MCS is distributed in the hope that it will be useful,
13 // but WITHOUT ANY WARRANTY; without even the implied warranty of
14 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 // GNU General Public License for more details.
16 //
17 // You should have received a copy of the GNU General Public License
18 // along with MCS; if not, write to the Free Software
19 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
20 //
21 // ----------------------------------------------------------------------$
22 #define MSG_LOG_COMMAND 0
23 #define MSG_OK 1
24 #define MSG_WELCOME 2
25 #define MSG_WELCOMEUSER 3
26 #define MSG_PASSWORD 4
27 #define MSG_DBNAME 5
28 #define MSG_DBHOST 6
29 #define MSG_CONNECTED 7
30 #define MSG_DB_ROWSAFF 8
31 #define MSG_SENDFILE_START 9
32 #define MSG_SENDDATA_START 10
33 #define MSG_RECVFILE_START 11
34 #define MSG_RECVDATA_START 12
35 #define MSG_FILE_STOP 13
36 #define MSG_DATA_STOP 14
37 #define MSG_OUT 15
38 #define MSG_WAKE_UP 16
39 #define MSG_USERTHREAD_TERMINATING 17
40 #define MSG_CLIENT_ID 18
41 #define MSG_BATCH_START 19
42 #define MSG_BATCH_STOP 20
43 #define MSG_DB_QRY_OK 21
44 #define MSG_SCRIPT_START 22
45 #define MSG_SCRIPT_STOP 23
46 #define MSG_SQL_START 24
47 #define MSG_SQL_STOP 25
48 #define MSG_DQR_START 26
49 #define MSG_DQR_STOP 27
50 #define MSG_DB_FIELDS_DESCR 28
51 #define MSG_DB_FIELDS_DESCR2 29
52 #define MSG_SYS_EXIT_STATUS 30
53 #define MSG_USER_HAS_GRANTS 31
54 #define MSG_THREAD_CREATE 32
55 #define MSG_THREAD_DESTROY 33
56 #define MSG_SERVER_DIR 34
57 #define MSG_SERVER_RUNNING 35
58 #define MSG_CREATING_LOCAL 36
59 #define MSG_CREATING_CLIENT 37
60 #define MSG_LOCAL_THREAD_DIED 38
61 #define MSG_KILLING_CLIENT 39
62 #define MSG_KILLING_LOCAL 40
63 #define MSG_KILLING_ALL_CLIENTS 41
64 #define MSG_COPYING_DATA_OBJECTS 42
65 #define MSG_NEW_RECORDSET 43
66 #define MSG_FETCH_EOF 44
67 #define MSG_BYE 49
68 #define MSG_DUMMY 50
69 #define MSG_CANT_OPEN_FILE 102
70 #define MSG_INVALID_SWITCH 103
71 #define MSG_METHOD_MUST_BE_OVERLOADED 104
72 #define MSG_NET_INTERFACE_NAME_NOT_EXISTS 105
73 #define MSG_NET_INTERFACE_ID_NOT_EXISTS 106
74 #define MSG_NET_INTERFACE_NOT_ACTIVE 107
75 #define MSG_RETRIEVING_INTERFACE_FLAGS 108
76 #define MSG_RETRIEVING_HOSTNAME 109
77 #define MSG_RETRIEVING_PEERNAME 110
78 #define MSG_RETRIEVING_HOST_INFO 111
79 #define MSG_CANT_CONNECT_TO_HOST 112
80 #define MSG_TIME_OUT 113
81 #define MSG_UNEXPECTED 114
82 #define MSG_CALLING_SELECT 116
83 #define MSG_CALLING_RECV 117
84 #define MSG_CALLING_SEND 118
85 #define MSG_CLOSED_BY_PEER 119
86 #define MSG_CALLING_BIND 120
87 #define MSG_CALLING_LISTEN 132
88 #define MSG_CALLING_PTHREAD_CREATE 133
89 #define MSG_OUT_OF_MEMORY 134
90 #define MSG_DIRECTORY_NOT_FOUND 135
91 #define MSG_CANT_MKDIR 136
92 #define MSG_CANT_RMDIR 137
93 #define MSG_CANT_MKFIFO 138
94 #define MSG_CALLING_PIPE 139
95 #define MSG_ERROR 200
96 #define MSG_SYNTAX 201
97 #define MSG_WRONG_DIM_SPEC 207
98 #define MSG_TYPE_NOT_HANDLED 208
99 #define MSG_CONVERSION_STRING_INT 209
100 #define MSG_CONVERSION_BLOB_INT 210
101 #define MSG_CONVERSION_STRING_FLOAT 211
102 #define MSG_CONVERSION_BLOB_FLOAT 212
103 #define MSG_CONVERSION_DATETIME 213
104 #define MSG_CONVERSION_BLOB_DATETIME 214
105 #define MSG_CONVERSION_INT_BLOB 215
106 #define MSG_CONVERSION_FLOAT_BLOB 216
107 #define MSG_CONVERSION_STRING_TOO_LONG 217
108 #define MSG_CONVERSION_STRING_BLOB 218
109 #define MSG_CONVERSION_TIME_LINT 219
110 #define MSG_CONVERSION_NAN 220
111 #define MSG_NOT_A_BLOB 221
112 #define MSG_BLOB_TOO_BIG 222
113 #define MSG_QUEUE_FULL 223
114 #define MSG_INDEX_OUT_RANGE 224
115 #define MSG_MISSING_FIELD 225
116 #define MSG_INDEX_UNAVAILABLE 226
117 #define MSG_ENTRY_UNAVAILABLE 227
118 #define MSG_INDEX_LT_ZERO 228
119 #define MSG_SEND_ABORT_BY_RECEIVER 229
120 #define MSG_PROTOCOL 230
121 #define MSG_NOT_ENOUGH_SPACE 231
122 #define MSG_CANT_ALLOCATE_MYSQL 232
123 #define MSG_CANT_OPEN_MYSQL_CONNECTION 233
124 #define MSG_USE_ONLY_WITH_STORERESULT 234
125 #define MSG_MYSQL_ERROR 235
126 #define MSG_INVALID_POSITION 236
127 #define MSG_BIND_FAILED 237
128 #define MSG_STMT_NOT_YET_PREPARED 238
129 #define MSG_EMPTY_STRING 239
130 #define MSG_CANT_GET_INFO_TABLE 240
131 #define MSG_CANT_LOCK_TABLE 241
132 #define MSG_CANT_UNLOCK_TABLE 242
133 #define MSG_STMT_WRONG_NUM_PARAM 243
134 #define MSG_NO_RESULT 244
135 #define MSG_NO_FIELDS 245
136 #define MSG_FITS_ERROR 250
137 #define MSG_FITS_NOT_COMPILED 251
138 #define MSG_UNKNOWN_FILE_TYPE 260
139 #define MSG_NOT_LOGIN 261
140 #define MSG_MYSQL_DISABLED 262
141 #define MSG_GRANTS_LOGIN 263
142 #define MSG_GRANTS_DB_SCRIPT 264
143 #define MSG_GRANTS_SCRIPT 265
144 #define MSG_GRANTS_QUERY 266
145 #define MSG_GRANTS_BATCH 267
146 #define MSG_GRANTS_ADMIN 268
147 #define MSG_GRANTS_GET 269
148 #define MSG_GRANTS_CANTGET_GRANTS 270
149 #define MSG_GRANTS_SYS 271
150 #define MSG_GRANTS_PUT 272
151 #define MSG_DB_ERR_NOTACTIVATED 273
152 #define MSG_DB_NOT_COMPILED 274
153 #define MSG_SCRIPT_ERROR 275
154 #define MSG_NO_MORE_CLIENT_ALLOWED 276
155 #define MSG_OBJECT_MISSING 277
156 #define MSG_SIZE_CHUNK 278
157 #define MSG_ALREADY_CONNECTED 279
158 #define MSG_EXT_BIN_UNEXPECTED 280
159 #define MSG_NOT_CONNECTED 281
160 #define MSG_EXT_NOT_AVAILABLE 282
161 #define MSG_CHARACTER_NOT_ALLOWED 283
162 #define MSG_CANT_SET_SYNCHRO_STATE 284
163 #define MSG_NOT_A_RANDOM_ACCESS_RECORDSET 285
164 #define MSG_ALREADY_AT_BEGIN_OF_FILE 286
165 #define MSG_ALREADY_AT_END_OF_FILE 287
166 #define MSG_NO_METAREC 288
167 #define MSG_DONT_KNOW_NROWS 291
168 #define MSG_NO_SAME_META_INFO 292
169 #define MSG_INSERT_NOT_ALLOWED 293
170 #define MSG_FETCH_ERROR 294
171 #define MSG_INCOMPATIBLE_SERIAL 295
172 #define MSG_CANT_READ_CERT 296
173 #define MSG_CANT_READ_KEY 297
174 #define MSG_SSL_CONNECT_ERROR 298
175 #define MSG_SSL_ACCEPT_ERROR 299
176 #define MSG_UNKNOWN_USERID 300
177 #define MSG_YET_RUNNING 301
178 #define MSG_FILE_ALREADY_EXISTS 302
179 #define MSG_PIPE_YET_OPENED 303
180 #define MSG_CANT_EXECUTE_FILE 304
181 #define MSG_CANT_BIND_AND_HAVE_DIMSPEC 305
182 #define MSG_TOO_MANY_DIMSPEC 306
183 #define MSG_VARYING_MUST_BE_LAST 307
184 #define MSG_NO_DIM_ALLOWED_TO_CHANGE 308
185 #define MSG_NO_ABSOLUTE_PATH 309
186 #define MSG_NO_DOUBLEDOT_PATH 310
187 #define MSG_CANT_FREE_EXTERNAL_BUF 311
188 #define MSG_NO_WINDOWS_SELECTED 312
189 #define MSG_PIPE_NOT_CREATED 313
190 #define MSG_VOT_UNHANDLED_CODE 400
191 #define MSG_VOT_PARSE_FAILED 401
192 #define MSG_VOT_CANT_OPEN_FILE 402
193 #define MSG_VOT_UNEXPECTED_NODE_TYPE 403
194 #define MSG_VOT_NOT_AN_INTEGER 404
195 #define MSG_VOT_INVALID_NODETYPE 405
196 #define MSG_VOT_INVALID_DATATYPE 406
197 #define MSG_VOT_INVALID_ENCODINGTYPE 407
198 #define MSG_VOT_INVALID_RESOURCE_TYPE 408
199 #define MSG_VOT_INVALID_FIELD_TYPE 409
200 #define MSG_VOT_INVALID_VALUES_TYPE 410
201 #define MSG_VOT_INVALID_LINK_CONTENT_ROLE 411
202 #define MSG_VOT_INVALID_STREAM_TYPE 412
203 #define MSG_VOT_INVALID_STREAM_ACTUATE 413
204 #define MSG_VOT_INVALID_COOSYS_SYSTEM 414
205 #define MSG_VOT_INVALID_INDEX 415
206 #define MSG_VOT_UNEXPECTED_ATTRIBUTE 416
207 #define MSG_VOT_ROOT_IS_NOT_VOTABLE 417
208 #define MSG_CURL_ERROR 500
209 #define MSG_CURL_INIT 501
210 #define MCS_LAST_MESSAGE_CODE 50
211 #define MCS_LAST_ERROR_CODE 501

mcslogo

MCS (My Customizable Server) ver. 0.3.3-alpha7
Documentation generated on Mon May 28 07:39:41 UTC 2018