2.2 (revision 4737)
OTF2_ErrorCodes.h
Go to the documentation of this file.
1 /*
2  * This file is part of the Score-P software (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,
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 <errno.h>
44 #include <stdint.h>
45 #include <stdarg.h>
46 
47 #ifdef __cplusplus
48 extern "C" {
49 #endif
50 
54 typedef enum
55 {
58 
60  OTF2_ABORT = -2,
61 
64 
67 
73 
74  /* These are the internal implementation of POSIX error codes. */
223 
224  /* These are the error codes specific to the OTF2 package */
225 
289 
290 
300 const char*
302 
303 
312 const char*
314 
315 
330 typedef OTF2_ErrorCode
331 ( *OTF2_ErrorCallback )( void* userData,
332  const char* file,
333  uint64_t line,
334  const char* function,
335  OTF2_ErrorCode errorCode,
336  const char* msgFormatString,
337  va_list va );
338 
339 
353  void* userData );
354 
355 
356 #ifdef __cplusplus
357 } /* extern "C" */
358 #endif
359 
360 #endif /* OTF2_ERROR_CODES_H */
Definition: OTF2_ErrorCodes.h:90
Definition: OTF2_ErrorCodes.h:96
Definition: OTF2_ErrorCodes.h:120
Definition: OTF2_ErrorCodes.h:150
Definition: OTF2_ErrorCodes.h:146
Definition: OTF2_ErrorCodes.h:168
Definition: OTF2_ErrorCodes.h:76
Definition: OTF2_ErrorCodes.h:156
Definition: OTF2_ErrorCodes.h:106
Definition: OTF2_ErrorCodes.h:229
Definition: OTF2_ErrorCodes.h:138
Definition: OTF2_ErrorCodes.h:198
Definition: OTF2_ErrorCodes.h:279
Definition: OTF2_ErrorCodes.h:172
Definition: OTF2_ErrorCodes.h:114
Definition: OTF2_ErrorCodes.h:108
Definition: OTF2_ErrorCodes.h:283
Definition: OTF2_ErrorCodes.h:160
Definition: OTF2_ErrorCodes.h:269
Definition: OTF2_ErrorCodes.h:261
Definition: OTF2_ErrorCodes.h:118
Definition: OTF2_ErrorCodes.h:98
Definition: OTF2_ErrorCodes.h:271
Definition: OTF2_ErrorCodes.h:285
Definition: OTF2_ErrorCodes.h:273
Definition: OTF2_ErrorCodes.h:130
Definition: OTF2_ErrorCodes.h:206
Definition: OTF2_ErrorCodes.h:166
Definition: OTF2_ErrorCodes.h:66
Definition: OTF2_ErrorCodes.h:235
Definition: OTF2_ErrorCodes.h:231
Definition: OTF2_ErrorCodes.h:214
Definition: OTF2_ErrorCodes.h:245
Definition: OTF2_ErrorCodes.h:241
Definition: OTF2_ErrorCodes.h:222
Definition: OTF2_ErrorCodes.h:220
Definition: OTF2_ErrorCodes.h:192
Definition: OTF2_ErrorCodes.h:63
Definition: OTF2_ErrorCodes.h:148
Definition: OTF2_ErrorCodes.h:82
OTF2_ErrorCode
Definition: OTF2_ErrorCodes.h:54
Definition: OTF2_ErrorCodes.h:212
Definition: OTF2_ErrorCodes.h:110
Definition: OTF2_ErrorCodes.h:194
Definition: OTF2_ErrorCodes.h:196
Definition: OTF2_ErrorCodes.h:80
OTF2_ErrorCallback OTF2_Error_RegisterCallback(OTF2_ErrorCallback errorCallbackIn, void *userData)
Definition: OTF2_ErrorCodes.h:136
Definition: OTF2_ErrorCodes.h:60
Definition: OTF2_ErrorCodes.h:253
Definition: OTF2_ErrorCodes.h:112
Definition: OTF2_ErrorCodes.h:277
Definition: OTF2_ErrorCodes.h:259
const char * OTF2_Error_GetName(OTF2_ErrorCode errorCode)
Definition: OTF2_ErrorCodes.h:92
Definition: OTF2_ErrorCodes.h:170
Definition: OTF2_ErrorCodes.h:126
Definition: OTF2_ErrorCodes.h:174
Definition: OTF2_ErrorCodes.h:132
Definition: OTF2_ErrorCodes.h:216
Definition: OTF2_ErrorCodes.h:275
Definition: OTF2_ErrorCodes.h:287
Definition: OTF2_ErrorCodes.h:158
Definition: OTF2_ErrorCodes.h:257
Definition: OTF2_ErrorCodes.h:57
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:331
const char * OTF2_Error_GetDescription(OTF2_ErrorCode errorCode)
Definition: OTF2_ErrorCodes.h:104
Definition: OTF2_ErrorCodes.h:251
Definition: OTF2_ErrorCodes.h:200
Definition: OTF2_ErrorCodes.h:182
Definition: OTF2_ErrorCodes.h:218
Definition: OTF2_ErrorCodes.h:142
Definition: OTF2_ErrorCodes.h:239
Definition: OTF2_ErrorCodes.h:233
Definition: OTF2_ErrorCodes.h:190
Definition: OTF2_ErrorCodes.h:180
Definition: OTF2_ErrorCodes.h:128
Definition: OTF2_ErrorCodes.h:102
Definition: OTF2_ErrorCodes.h:84
Definition: OTF2_ErrorCodes.h:255
Definition: OTF2_ErrorCodes.h:134
Definition: OTF2_ErrorCodes.h:88
Definition: OTF2_ErrorCodes.h:202
Definition: OTF2_ErrorCodes.h:188
Definition: OTF2_ErrorCodes.h:227
Definition: OTF2_ErrorCodes.h:144
Definition: OTF2_ErrorCodes.h:243
Definition: OTF2_ErrorCodes.h:249
Definition: OTF2_ErrorCodes.h:86
Definition: OTF2_ErrorCodes.h:267
Definition: OTF2_ErrorCodes.h:72
Definition: OTF2_ErrorCodes.h:281
Definition: OTF2_ErrorCodes.h:210
Definition: OTF2_ErrorCodes.h:140
Definition: OTF2_ErrorCodes.h:162
Definition: OTF2_ErrorCodes.h:116
Definition: OTF2_ErrorCodes.h:152
Definition: OTF2_ErrorCodes.h:208
Definition: OTF2_ErrorCodes.h:265
Definition: OTF2_ErrorCodes.h:204
Definition: OTF2_ErrorCodes.h:178
Definition: OTF2_ErrorCodes.h:124
Definition: OTF2_ErrorCodes.h:122
Definition: OTF2_ErrorCodes.h:237
Definition: OTF2_ErrorCodes.h:94
Definition: OTF2_ErrorCodes.h:247
Definition: OTF2_ErrorCodes.h:263
Definition: OTF2_ErrorCodes.h:164
Definition: OTF2_ErrorCodes.h:184
Definition: OTF2_ErrorCodes.h:154
Definition: OTF2_ErrorCodes.h:176
Definition: OTF2_ErrorCodes.h:186
Definition: OTF2_ErrorCodes.h:78
Definition: OTF2_ErrorCodes.h:100