mcsmsg.hh

00001 // ----------------------------------------------------------------------^
00002 // Copyright (C) 2004, 2005, 2006, 2007, 2008 Giorgio Calderone
00003 // (mailto: <gcalderone@ifc.inaf.it>)
00004 // 
00005 // This file is part of MCS.
00006 // 
00007 // MCS is free software; you can redistribute it and/or modify
00008 // it under the terms of the GNU General Public License as published by
00009 // the Free Software Foundation; either version 2 of the License, or
00010 // (at your option) any later version.
00011 // 
00012 // MCS is distributed in the hope that it will be useful,
00013 // but WITHOUT ANY WARRANTY; without even the implied warranty of
00014 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00015 // GNU General Public License for more details.
00016 // 
00017 // You should have received a copy of the GNU General Public License
00018 // along with MCS; if not, write to the Free Software
00019 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
00020 // 
00021 // ----------------------------------------------------------------------$
00022 #define MSG_LOG_COMMAND   0
00023 #define MSG_OK   1
00024 #define MSG_WELCOME   2
00025 #define MSG_WELCOMEUSER   3
00026 #define MSG_PASSWORD   4
00027 #define MSG_DBNAME   5
00028 #define MSG_DBHOST   6
00029 #define MSG_CONNECTED   7
00030 #define MSG_DB_ROWSAFF   8
00031 #define MSG_SENDFILE_START   9
00032 #define MSG_SENDDATA_START   10
00033 #define MSG_RECVFILE_START   11
00034 #define MSG_RECVDATA_START   12
00035 #define MSG_FILE_STOP   13
00036 #define MSG_DATA_STOP   14
00037 #define MSG_OUT   15
00038 #define MSG_WAKE_UP   16
00039 #define MSG_USERTHREAD_TERMINATING   17
00040 #define MSG_CLIENT_ID   18
00041 #define MSG_BATCH_START   19
00042 #define MSG_BATCH_STOP   20
00043 #define MSG_DB_QRY_OK   21
00044 #define MSG_SCRIPT_START   22
00045 #define MSG_SCRIPT_STOP   23
00046 #define MSG_SQL_START   24
00047 #define MSG_SQL_STOP   25
00048 #define MSG_DQR_START   26
00049 #define MSG_DQR_STOP   27
00050 #define MSG_DB_FIELDS_DESCR   28
00051 #define MSG_DB_FIELDS_DESCR2   29
00052 #define MSG_SYS_EXIT_STATUS   30
00053 #define MSG_USER_HAS_GRANTS   31
00054 #define MSG_THREAD_CREATE   32
00055 #define MSG_THREAD_DESTROY   33
00056 #define MSG_SERVER_DIR   34
00057 #define MSG_SERVER_RUNNING   35
00058 #define MSG_CREATING_LOCAL   36
00059 #define MSG_CREATING_CLIENT   37
00060 #define MSG_LOCAL_THREAD_DIED   38
00061 #define MSG_KILLING_CLIENT   39
00062 #define MSG_KILLING_LOCAL   40
00063 #define MSG_KILLING_ALL_CLIENTS   41
00064 #define MSG_COPYING_DATA_OBJECTS   42
00065 #define MSG_NEW_RECORDSET   43
00066 #define MSG_FETCH_EOF   44
00067 #define MSG_BYE   49
00068 #define MSG_DUMMY   50
00069 #define MSG_CANT_OPEN_FILE   102
00070 #define MSG_INVALID_SWITCH   103
00071 #define MSG_METHOD_MUST_BE_OVERLOADED   104
00072 #define MSG_NET_INTERFACE_NAME_NOT_EXISTS   105
00073 #define MSG_NET_INTERFACE_ID_NOT_EXISTS   106
00074 #define MSG_NET_INTERFACE_NOT_ACTIVE   107
00075 #define MSG_RETRIEVING_INTERFACE_FLAGS   108
00076 #define MSG_RETRIEVING_HOSTNAME   109
00077 #define MSG_RETRIEVING_PEERNAME   110
00078 #define MSG_RETRIEVING_HOST_INFO   111
00079 #define MSG_CANT_CONNECT_TO_HOST   112
00080 #define MSG_TIME_OUT   113
00081 #define MSG_UNEXPECTED   114
00082 #define MSG_CALLING_SELECT   116
00083 #define MSG_CALLING_RECV   117
00084 #define MSG_CALLING_SEND   118
00085 #define MSG_CLOSED_BY_PEER   119
00086 #define MSG_CALLING_BIND   120
00087 #define MSG_CALLING_LISTEN   132
00088 #define MSG_CALLING_PTHREAD_CREATE   133
00089 #define MSG_OUT_OF_MEMORY   134
00090 #define MSG_DIRECTORY_NOT_FOUND   135
00091 #define MSG_CANT_MKDIR   136
00092 #define MSG_CANT_RMDIR   137
00093 #define MSG_CANT_MKFIFO   138
00094 #define MSG_CALLING_PIPE   139
00095 #define MSG_ERROR   200
00096 #define MSG_SYNTAX   201
00097 #define MSG_WRONG_DIM_SPEC   207
00098 #define MSG_TYPE_NOT_HANDLED   208
00099 #define MSG_CONVERSION_STRING_INT   209
00100 #define MSG_CONVERSION_BLOB_INT   210
00101 #define MSG_CONVERSION_STRING_FLOAT   211
00102 #define MSG_CONVERSION_BLOB_FLOAT   212
00103 #define MSG_CONVERSION_DATETIME   213
00104 #define MSG_CONVERSION_BLOB_DATETIME   214
00105 #define MSG_CONVERSION_INT_BLOB   215
00106 #define MSG_CONVERSION_FLOAT_BLOB   216
00107 #define MSG_CONVERSION_STRING_TOO_LONG   217
00108 #define MSG_CONVERSION_STRING_BLOB   218
00109 #define MSG_CONVERSION_TIME_LINT   219
00110 #define MSG_CONVERSION_NAN   220
00111 #define MSG_NOT_A_BLOB   221
00112 #define MSG_BLOB_TOO_BIG   222
00113 #define MSG_QUEUE_FULL   223
00114 #define MSG_INDEX_OUT_RANGE   224
00115 #define MSG_MISSING_FIELD   225
00116 #define MSG_INDEX_UNAVAILABLE   226
00117 #define MSG_ENTRY_UNAVAILABLE   227
00118 #define MSG_INDEX_LT_ZERO   228
00119 #define MSG_SEND_ABORT_BY_RECEIVER   229
00120 #define MSG_PROTOCOL   230
00121 #define MSG_NOT_ENOUGH_SPACE   231
00122 #define MSG_CANT_ALLOCATE_MYSQL   232
00123 #define MSG_CANT_OPEN_MYSQL_CONNECTION   233
00124 #define MSG_USE_ONLY_WITH_STORERESULT   234
00125 #define MSG_MYSQL_ERROR   235
00126 #define MSG_INVALID_POSITION   236
00127 #define MSG_BIND_FAILED   237
00128 #define MSG_STMT_NOT_YET_PREPARED   238
00129 #define MSG_EMPTY_STRING   239
00130 #define MSG_CANT_GET_INFO_TABLE   240
00131 #define MSG_CANT_LOCK_TABLE   241
00132 #define MSG_CANT_UNLOCK_TABLE   242
00133 #define MSG_STMT_WRONG_NUM_PARAM   243
00134 #define MSG_NO_RESULT   244
00135 #define MSG_NO_FIELDS   245
00136 #define MSG_FITS_ERROR   250
00137 #define MSG_FITS_NOT_COMPILED   251
00138 #define MSG_UNKNOWN_FILE_TYPE   260
00139 #define MSG_NOT_LOGIN   261
00140 #define MSG_MYSQL_DISABLED   262
00141 #define MSG_GRANTS_LOGIN   263
00142 #define MSG_GRANTS_DB_SCRIPT   264
00143 #define MSG_GRANTS_SCRIPT   265
00144 #define MSG_GRANTS_QUERY   266
00145 #define MSG_GRANTS_BATCH   267
00146 #define MSG_GRANTS_ADMIN   268
00147 #define MSG_GRANTS_GET   269
00148 #define MSG_GRANTS_CANTGET_GRANTS   270
00149 #define MSG_GRANTS_SYS   271
00150 #define MSG_GRANTS_PUT   272
00151 #define MSG_DB_ERR_NOTACTIVATED   273
00152 #define MSG_DB_NOT_COMPILED   274
00153 #define MSG_SCRIPT_ERROR   275
00154 #define MSG_NO_MORE_CLIENT_ALLOWED   276
00155 #define MSG_OBJECT_MISSING   277
00156 #define MSG_SIZE_CHUNK   278
00157 #define MSG_ALREADY_CONNECTED   279
00158 #define MSG_EXT_BIN_UNEXPECTED   280
00159 #define MSG_NOT_CONNECTED   281
00160 #define MSG_EXT_NOT_AVAILABLE   282
00161 #define MSG_CHARACTER_NOT_ALLOWED   283
00162 #define MSG_CANT_SET_SYNCHRO_STATE   284
00163 #define MSG_NOT_A_RANDOM_ACCESS_RECORDSET   285
00164 #define MSG_ALREADY_AT_BEGIN_OF_FILE   286
00165 #define MSG_ALREADY_AT_END_OF_FILE   287
00166 #define MSG_NO_METAREC   288
00167 #define MSG_DONT_KNOW_NROWS   291
00168 #define MSG_NO_SAME_META_INFO   292
00169 #define MSG_INSERT_NOT_ALLOWED   293
00170 #define MSG_FETCH_ERROR   294
00171 #define MSG_INCOMPATIBLE_SERIAL   295
00172 #define MSG_CANT_READ_CERT   296
00173 #define MSG_CANT_READ_KEY   297
00174 #define MSG_SSL_CONNECT_ERROR   298
00175 #define MSG_SSL_ACCEPT_ERROR   299
00176 #define MSG_UNKNOWN_USERID   300
00177 #define MSG_YET_RUNNING   301
00178 #define MSG_FILE_ALREADY_EXISTS   302
00179 #define MSG_PIPE_YET_OPENED   303
00180 #define MSG_CANT_EXECUTE_FILE   304
00181 #define MSG_CANT_BIND_AND_HAVE_DIMSPEC   305
00182 #define MSG_TOO_MANY_DIMSPEC   306
00183 #define MSG_VARYING_MUST_BE_LAST   307
00184 #define MSG_NO_DIM_ALLOWED_TO_CHANGE   308
00185 #define MSG_NO_ABSOLUTE_PATH   309
00186 #define MSG_NO_DOUBLEDOT_PATH   310
00187 #define MSG_CANT_FREE_EXTERNAL_BUF   311
00188 #define MSG_NO_WINDOWS_SELECTED   312
00189 #define MSG_PIPE_NOT_CREATED   313
00190 #define MSG_VOT_UNHANDLED_CODE   400
00191 #define MSG_VOT_PARSE_FAILED   401
00192 #define MSG_VOT_CANT_OPEN_FILE   402
00193 #define MSG_VOT_UNEXPECTED_NODE_TYPE   403
00194 #define MSG_VOT_NOT_AN_INTEGER   404
00195 #define MSG_VOT_INVALID_NODETYPE   405
00196 #define MSG_VOT_INVALID_DATATYPE   406
00197 #define MSG_VOT_INVALID_ENCODINGTYPE   407
00198 #define MSG_VOT_INVALID_RESOURCE_TYPE   408
00199 #define MSG_VOT_INVALID_FIELD_TYPE   409
00200 #define MSG_VOT_INVALID_VALUES_TYPE   410
00201 #define MSG_VOT_INVALID_LINK_CONTENT_ROLE   411
00202 #define MSG_VOT_INVALID_STREAM_TYPE   412
00203 #define MSG_VOT_INVALID_STREAM_ACTUATE   413
00204 #define MSG_VOT_INVALID_COOSYS_SYSTEM   414
00205 #define MSG_VOT_INVALID_INDEX   415
00206 #define MSG_VOT_UNEXPECTED_ATTRIBUTE   416
00207 #define MSG_VOT_ROOT_IS_NOT_VOTABLE   417
00208 #define MSG_CURL_ERROR   500
00209 #define MSG_CURL_INIT   501
00210 #define MCS_LAST_MESSAGE_CODE 50
00211 #define MCS_LAST_ERROR_CODE 501

mcslogo

MCS (My Customizable Server) ver. 0.3.3-alpha3
Documentation generated on Thu Mar 22 13:22:23 UTC 2012