3.1-rc3 (revision d9ca08bb)
OTF2_ErrorCodes.h
Go to the documentation of this file.
1 /*
2  * This file is part of the Score-P software ecosystem (http://www.score-p.org)
3  *
4  * Copyright (c) 2009-2012,
5  * RWTH Aachen University, Germany
6  *
7  * Copyright (c) 2009-2012,
8  * Gesellschaft fuer numerische Simulation mbH Braunschweig, Germany
9  *
10  * Copyright (c) 2009-2012, 2014,
11  * Technische Universitaet Dresden, Germany
12  *
13  * Copyright (c) 2009-2012,
14  * University of Oregon, Eugene, USA
15  *
16  * Copyright (c) 2009-2012, 2017, 2022,
17  * Forschungszentrum Juelich GmbH, Germany
18  *
19  * Copyright (c) 2009-2012,
20  * German Research School for Simulation Sciences GmbH, Juelich/Aachen, Germany
21  *
22  * Copyright (c) 2009-2012,
23  * Technische Universitaet Muenchen, Germany
24  *
25  * This software may be modified and distributed under the terms of
26  * a BSD-style license. See the COPYING file in the package base
27  * directory for details.
28  *
29  */
30 
31 #ifndef OTF2_ERROR_CODES_H
32 #define OTF2_ERROR_CODES_H
33 
34 
43 #include <stdint.h>
44 #include <stdarg.h>
45 
46 #ifdef __cplusplus
47 extern "C" {
48 #endif
49 
53 typedef enum
54 {
57 
59  OTF2_ABORT = -2,
60 
63 
66 
72 
73  /* These are the internal implementation of POSIX error codes. */
222 
223  /* These are the error codes specific to the OTF2 package */
224 
288 
289 
299 const char*
301 
302 
311 const char*
313 
314 
329 typedef OTF2_ErrorCode
330 ( *OTF2_ErrorCallback )( void* userData,
331  const char* file,
332  uint64_t line,
333  const char* function,
334  OTF2_ErrorCode errorCode,
335  const char* msgFormatString,
336  va_list va );
337 
338 
352  void* userData );
353 
354 
355 #ifdef __cplusplus
356 } /* extern "C" */
357 #endif
358 
359 #endif /* OTF2_ERROR_CODES_H */
Definition: OTF2_ErrorCodes.h:89
Definition: OTF2_ErrorCodes.h:95
Definition: OTF2_ErrorCodes.h:119
Definition: OTF2_ErrorCodes.h:149
Definition: OTF2_ErrorCodes.h:145
Definition: OTF2_ErrorCodes.h:167
Definition: OTF2_ErrorCodes.h:75
Definition: OTF2_ErrorCodes.h:155
Definition: OTF2_ErrorCodes.h:105
Definition: OTF2_ErrorCodes.h:228
Definition: OTF2_ErrorCodes.h:137
Definition: OTF2_ErrorCodes.h:197
Definition: OTF2_ErrorCodes.h:278
Definition: OTF2_ErrorCodes.h:171
Definition: OTF2_ErrorCodes.h:113
Definition: OTF2_ErrorCodes.h:107
Definition: OTF2_ErrorCodes.h:282
Definition: OTF2_ErrorCodes.h:159
Definition: OTF2_ErrorCodes.h:268
Definition: OTF2_ErrorCodes.h:260
Definition: OTF2_ErrorCodes.h:117
Definition: OTF2_ErrorCodes.h:97
Definition: OTF2_ErrorCodes.h:270
Definition: OTF2_ErrorCodes.h:284
Definition: OTF2_ErrorCodes.h:272
Definition: OTF2_ErrorCodes.h:129
Definition: OTF2_ErrorCodes.h:205
Definition: OTF2_ErrorCodes.h:165
Definition: OTF2_ErrorCodes.h:65
Definition: OTF2_ErrorCodes.h:234
Definition: OTF2_ErrorCodes.h:230
Definition: OTF2_ErrorCodes.h:213
Definition: OTF2_ErrorCodes.h:244
Definition: OTF2_ErrorCodes.h:240
Definition: OTF2_ErrorCodes.h:221
Definition: OTF2_ErrorCodes.h:219
Definition: OTF2_ErrorCodes.h:191
Definition: OTF2_ErrorCodes.h:62
Definition: OTF2_ErrorCodes.h:147
Definition: OTF2_ErrorCodes.h:81
OTF2_ErrorCode
Definition: OTF2_ErrorCodes.h:53
Definition: OTF2_ErrorCodes.h:211
Definition: OTF2_ErrorCodes.h:109
Definition: OTF2_ErrorCodes.h:193
Definition: OTF2_ErrorCodes.h:195
Definition: OTF2_ErrorCodes.h:79
OTF2_ErrorCallback OTF2_Error_RegisterCallback(OTF2_ErrorCallback errorCallbackIn, void *userData)
Definition: OTF2_ErrorCodes.h:135
Definition: OTF2_ErrorCodes.h:59
Definition: OTF2_ErrorCodes.h:252
Definition: OTF2_ErrorCodes.h:111
Definition: OTF2_ErrorCodes.h:276
Definition: OTF2_ErrorCodes.h:258
const char * OTF2_Error_GetName(OTF2_ErrorCode errorCode)
Definition: OTF2_ErrorCodes.h:91
Definition: OTF2_ErrorCodes.h:169
Definition: OTF2_ErrorCodes.h:125
Definition: OTF2_ErrorCodes.h:173
Definition: OTF2_ErrorCodes.h:131
Definition: OTF2_ErrorCodes.h:215
Definition: OTF2_ErrorCodes.h:274
Definition: OTF2_ErrorCodes.h:286
Definition: OTF2_ErrorCodes.h:157
Definition: OTF2_ErrorCodes.h:256
Definition: OTF2_ErrorCodes.h:56
OTF2_ErrorCode(* OTF2_ErrorCallback)(void *userData, const char *file, uint64_t line, const char *function, OTF2_ErrorCode errorCode, const char *msgFormatString, va_list va)
Definition: OTF2_ErrorCodes.h:330
const char * OTF2_Error_GetDescription(OTF2_ErrorCode errorCode)
Definition: OTF2_ErrorCodes.h:103
Definition: OTF2_ErrorCodes.h:250
Definition: OTF2_ErrorCodes.h:199
Definition: OTF2_ErrorCodes.h:181
Definition: OTF2_ErrorCodes.h:217
Definition: OTF2_ErrorCodes.h:141
Definition: OTF2_ErrorCodes.h:238
Definition: OTF2_ErrorCodes.h:232
Definition: OTF2_ErrorCodes.h:189
Definition: OTF2_ErrorCodes.h:179
Definition: OTF2_ErrorCodes.h:127
Definition: OTF2_ErrorCodes.h:101
Definition: OTF2_ErrorCodes.h:83
Definition: OTF2_ErrorCodes.h:254
Definition: OTF2_ErrorCodes.h:133
Definition: OTF2_ErrorCodes.h:87
Definition: OTF2_ErrorCodes.h:201
Definition: OTF2_ErrorCodes.h:187
Definition: OTF2_ErrorCodes.h:226
Definition: OTF2_ErrorCodes.h:143
Definition: OTF2_ErrorCodes.h:242
Definition: OTF2_ErrorCodes.h:248
Definition: OTF2_ErrorCodes.h:85
Definition: OTF2_ErrorCodes.h:266
Definition: OTF2_ErrorCodes.h:71
Definition: OTF2_ErrorCodes.h:280
Definition: OTF2_ErrorCodes.h:209
Definition: OTF2_ErrorCodes.h:139
Definition: OTF2_ErrorCodes.h:161
Definition: OTF2_ErrorCodes.h:115
Definition: OTF2_ErrorCodes.h:151
Definition: OTF2_ErrorCodes.h:207
Definition: OTF2_ErrorCodes.h:264
Definition: OTF2_ErrorCodes.h:203
Definition: OTF2_ErrorCodes.h:177
Definition: OTF2_ErrorCodes.h:123
Definition: OTF2_ErrorCodes.h:121
Definition: OTF2_ErrorCodes.h:236
Definition: OTF2_ErrorCodes.h:93
Definition: OTF2_ErrorCodes.h:246
Definition: OTF2_ErrorCodes.h:262
Definition: OTF2_ErrorCodes.h:163
Definition: OTF2_ErrorCodes.h:183
Definition: OTF2_ErrorCodes.h:153
Definition: OTF2_ErrorCodes.h:175
Definition: OTF2_ErrorCodes.h:185
Definition: OTF2_ErrorCodes.h:77
Definition: OTF2_ErrorCodes.h:99