Go to the documentation of this file.
32 #define TrueOrFalse int
41 #define FORMAT_TEMPS "%lf"
44 #define FORMAT_TEMPS "%lg"
51 #define VERSION_LEN 144
53 #define VARIABLE_LEN 144
54 #define INSTANCE_LEN 72
60 #define ENV_VAR_LEN 256
64 #define MACHINE_LEN 256
65 #define COMMAND_LEN 256
67 #define FICHIER_LEN 256
71 #define NB_LIGNE_ERREUR 45
72 #define NB_LIGNE_TRACE 45
78 #define CP_ANORMALE 11
86 #define CP_NON_CONNECTE 23
88 #define CP_EXECUTION 25
89 #define CP_DECONNECTE 26
96 #define CP_COMPLEXE 33
102 #define CP_ITERATION 41
103 #define CP_SEQUENTIEL 42
114 #define CP_ILLIMITE -70
115 #define CP_AUTESP -71
119 #define CP_SUCCINCT 81
120 #define CP_DETAILLE 82
130 #define CP_LINEAIRE 100
131 #define CP_ESCALIER 101
139 #define CP_TOUTES 120
140 #define CP_AUCUNE 121
145 #define CP_ERREURS 132
148 #define CP_ROUTE_NORMAL 133
149 #define CP_ROUTE_DIRECT 134
153 #define CP_BLOCAGE 136
154 #define CP_MANUEL 137
159 #define CP_IMMEDIATE 141
170 #define CONNEXION 1001
171 #define EMISSION 1002
172 #define DECONNEXION 1003
173 #define LECTURE_VARIABLE 1004
174 #define ECRITURE_VARIABLE 1005
175 #define FIN_DE_PAS 1006
176 #define AUIN_FIN_DE_PAS 1007
177 #define EFFACEMENT 1008
178 #define MODE_EXEC 1009
179 #define RUN_N_PAS 1010
180 #define DEF_CODE 1011
181 #define DEF_INSTANCE 1012
182 #define DEF_LIEN 1013
183 #define DEM_VERSION 1014
184 #define SET_OPTION 1015
185 #define DEM_OPTION 1016
186 #define DEM_CODES 1017
187 #define DEM_INSTS_DE_CODE 1018
188 #define DEM_VARIABLES 1019
189 #define DEM_VARS_DE_CODE 1020
190 #define DEM_VARS_DE_INST 1021
191 #define DEM_CARS_DE_VARIABLE 1022
192 #define DEM_CARS_DE_LIEN 1023
193 #define ENV_VALEURS_VARIABLE 1024
194 #define ENV_OPTION 1025
195 #define ENV_CODES 1026
196 #define ENV_INSTS_DE_CODE 1027
197 #define ENV_VARIABLES 1028
198 #define ENV_VARS_DE_CODE 1029
199 #define ENV_VARS_DE_INST 1030
200 #define ENV_CARS_DE_VARIABLE 1031
201 #define ENV_CARS_DE_LIEN 1032
202 #define ENV_TOPOLOGY 1033
203 #define R_ENV_TOPOLOGY 1034
204 #define ENV_MACHINE 1035
205 #define R_ENV_MACHINE 1036
206 #define ENV_CODE 1037
207 #define R_ENV_CODE 1038
208 #define ENV_INSTANCE 1039
209 #define R_ENV_INSTANCE 1040
211 #define R_ENV_VAR 1042
212 #define ENV_LIEN 1043
213 #define R_ENV_LIEN 1044
214 #define ENV_ATTRIBUTS 1045
215 #define R_ENV_ATTRIBUTS 1046
216 #define ENV_VDATA 1047
217 #define R_ENV_VDATA 1048
228 #define P_HOST_DELETE 2000
229 #define P_TASK_EXIT 2001
372 #define DEBUT_COUPLAGE 0
375 #define FIN_COUPLAGE 1
468 #define HOST_DELETE 32
476 "Variable name unknown",
477 "Different input/output codes in code and supervisor",
478 "Variable type unknown",
479 "Different variable types in code and supervisor",
480 "Dependency mode unknown",
481 "Different dependency modes in code and supervisor",
482 "Unauthorized request",
483 "Unauthorized disconnection request type",
484 "Unauthorized disconnection directive",
486 "Instance name unknown",
490 "Insufficient variable length",
491 "Instance is going to stop",
492 "Unexpected instance stop",
494 "Output variable not connected",
495 "Number of steps to execute is nul",
496 "Non declared computer",
497 "Environment variable COUPLAGE_GROUPE is not set",
498 "Instance group given by COUPLAGE_GROUPE is wrong",
500 "Format error in input file",
501 "Request ignored because of switching to NORMAL mode",
502 "Supervisor is in normal execution mode",
504 "Option value is wrong",
505 "Impossible to write because of an erasing request",
506 "Reading of a variable wrongly connected",
507 "Reading of a variable of an instance disconnected with CP_ARRET",
508 "Sequential reading no more possible",
509 "Error in declaration",
510 "Error in instance launching",
511 "Communication error",
512 "Error in the instance",
513 "Environnement variable CAL_MODE is not set",
514 "Disconnected instance",
519 extern const char * CPMESSAGE[];
533 #define TOUPPER(string) \
535 int i, number = strlen(string);\
536 for (i = 0; i < number; i++) string[i] = toupper(string[i]); \
540 #define INF(a,b) (a <= b ? a : b)
543 #define SUP(a,b) (a >= b ? a : b)