3.2 (revision 440b9273)
OTF2_ErrorCodes.h
Go to the documentation of this file.
1 /*
2  * SPDX-FileCopyrightText: (c) 2009 RWTH Aachen University <rwth-aachen.de>
3  * SPDX-FileCopyrightText: (c) 2009 Gesellschaft für numerische Simulation mbH Braunschweig <gns-mbh.com>
4  * SPDX-FileCopyrightText: (c) 2009 Technische Universität Dresden <tu-dresden.de>
5  * SPDX-FileCopyrightText: (c) 2009 University of Oregon <uoregon.edu>
6  * SPDX-FileCopyrightText: (c) 2009 Forschungszentrum Jülich GmbH <fz-juelich.de>
7  * SPDX-FileCopyrightText: (c) 2009 German Research School for Simulation Sciences GmbH
8  * SPDX-FileCopyrightText: (c) 2009 Technische Universität München <tum.de>
9  *
10  * SPDX-License-Identifier: BSD-3-Clause
11  *
12  */
13 
14 #ifndef OTF2_ERROR_CODES_H
15 #define OTF2_ERROR_CODES_H
16 
17 
26 #include <stdint.h>
27 #include <stdarg.h>
28 
29 #ifdef __cplusplus
30 extern "C" {
31 #endif
32 
36 typedef enum
37 {
40 
42  OTF2_ABORT = -2,
43 
46 
49 
55 
56  /* These are the internal implementation of POSIX error codes. */
205 
206  /* These are the error codes specific to the OTF2 package */
207 
271 
272 
282 const char*
284 
285 
294 const char*
296 
297 
312 typedef OTF2_ErrorCode
313 ( *OTF2_ErrorCallback )( void* userData,
314  const char* file,
315  uint64_t line,
316  const char* function,
317  OTF2_ErrorCode errorCode,
318  const char* msgFormatString,
319  va_list va );
320 
321 
335  void* userData );
336 
337 
338 #ifdef __cplusplus
339 } /* extern "C" */
340 #endif
341 
342 #endif /* OTF2_ERROR_CODES_H */
Definition: OTF2_ErrorCodes.h:72
Definition: OTF2_ErrorCodes.h:78
Definition: OTF2_ErrorCodes.h:102
Definition: OTF2_ErrorCodes.h:132
Definition: OTF2_ErrorCodes.h:128
Definition: OTF2_ErrorCodes.h:150
Definition: OTF2_ErrorCodes.h:58
Definition: OTF2_ErrorCodes.h:138
Definition: OTF2_ErrorCodes.h:88
Definition: OTF2_ErrorCodes.h:211
Definition: OTF2_ErrorCodes.h:120
Definition: OTF2_ErrorCodes.h:180
Definition: OTF2_ErrorCodes.h:261
Definition: OTF2_ErrorCodes.h:154
Definition: OTF2_ErrorCodes.h:96
Definition: OTF2_ErrorCodes.h:90
Definition: OTF2_ErrorCodes.h:265
Definition: OTF2_ErrorCodes.h:142
Definition: OTF2_ErrorCodes.h:251
Definition: OTF2_ErrorCodes.h:243
Definition: OTF2_ErrorCodes.h:100
Definition: OTF2_ErrorCodes.h:80
Definition: OTF2_ErrorCodes.h:253
Definition: OTF2_ErrorCodes.h:267
Definition: OTF2_ErrorCodes.h:255
Definition: OTF2_ErrorCodes.h:112
Definition: OTF2_ErrorCodes.h:188
Definition: OTF2_ErrorCodes.h:148
Definition: OTF2_ErrorCodes.h:48
Definition: OTF2_ErrorCodes.h:217
Definition: OTF2_ErrorCodes.h:213
Definition: OTF2_ErrorCodes.h:196
Definition: OTF2_ErrorCodes.h:227
Definition: OTF2_ErrorCodes.h:223
Definition: OTF2_ErrorCodes.h:204
Definition: OTF2_ErrorCodes.h:202
Definition: OTF2_ErrorCodes.h:174
Definition: OTF2_ErrorCodes.h:45
Definition: OTF2_ErrorCodes.h:130
Definition: OTF2_ErrorCodes.h:64
OTF2_ErrorCode
Definition: OTF2_ErrorCodes.h:36
Definition: OTF2_ErrorCodes.h:194
Definition: OTF2_ErrorCodes.h:92
Definition: OTF2_ErrorCodes.h:176
Definition: OTF2_ErrorCodes.h:178
Definition: OTF2_ErrorCodes.h:62
OTF2_ErrorCallback OTF2_Error_RegisterCallback(OTF2_ErrorCallback errorCallbackIn, void *userData)
Definition: OTF2_ErrorCodes.h:118
Definition: OTF2_ErrorCodes.h:42
Definition: OTF2_ErrorCodes.h:235
Definition: OTF2_ErrorCodes.h:94
Definition: OTF2_ErrorCodes.h:259
Definition: OTF2_ErrorCodes.h:241
const char * OTF2_Error_GetName(OTF2_ErrorCode errorCode)
Definition: OTF2_ErrorCodes.h:74
Definition: OTF2_ErrorCodes.h:152
Definition: OTF2_ErrorCodes.h:108
Definition: OTF2_ErrorCodes.h:156
Definition: OTF2_ErrorCodes.h:114
Definition: OTF2_ErrorCodes.h:198
Definition: OTF2_ErrorCodes.h:257
Definition: OTF2_ErrorCodes.h:269
Definition: OTF2_ErrorCodes.h:140
Definition: OTF2_ErrorCodes.h:239
Definition: OTF2_ErrorCodes.h:39
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:313
const char * OTF2_Error_GetDescription(OTF2_ErrorCode errorCode)
Definition: OTF2_ErrorCodes.h:86
Definition: OTF2_ErrorCodes.h:233
Definition: OTF2_ErrorCodes.h:182
Definition: OTF2_ErrorCodes.h:164
Definition: OTF2_ErrorCodes.h:200
Definition: OTF2_ErrorCodes.h:124
Definition: OTF2_ErrorCodes.h:221
Definition: OTF2_ErrorCodes.h:215
Definition: OTF2_ErrorCodes.h:172
Definition: OTF2_ErrorCodes.h:162
Definition: OTF2_ErrorCodes.h:110
Definition: OTF2_ErrorCodes.h:84
Definition: OTF2_ErrorCodes.h:66
Definition: OTF2_ErrorCodes.h:237
Definition: OTF2_ErrorCodes.h:116
Definition: OTF2_ErrorCodes.h:70
Definition: OTF2_ErrorCodes.h:184
Definition: OTF2_ErrorCodes.h:170
Definition: OTF2_ErrorCodes.h:209
Definition: OTF2_ErrorCodes.h:126
Definition: OTF2_ErrorCodes.h:225
Definition: OTF2_ErrorCodes.h:231
Definition: OTF2_ErrorCodes.h:68
Definition: OTF2_ErrorCodes.h:249
Definition: OTF2_ErrorCodes.h:54
Definition: OTF2_ErrorCodes.h:263
Definition: OTF2_ErrorCodes.h:192
Definition: OTF2_ErrorCodes.h:122
Definition: OTF2_ErrorCodes.h:144
Definition: OTF2_ErrorCodes.h:98
Definition: OTF2_ErrorCodes.h:134
Definition: OTF2_ErrorCodes.h:190
Definition: OTF2_ErrorCodes.h:247
Definition: OTF2_ErrorCodes.h:186
Definition: OTF2_ErrorCodes.h:160
Definition: OTF2_ErrorCodes.h:106
Definition: OTF2_ErrorCodes.h:104
Definition: OTF2_ErrorCodes.h:219
Definition: OTF2_ErrorCodes.h:76
Definition: OTF2_ErrorCodes.h:229
Definition: OTF2_ErrorCodes.h:245
Definition: OTF2_ErrorCodes.h:146
Definition: OTF2_ErrorCodes.h:166
Definition: OTF2_ErrorCodes.h:136
Definition: OTF2_ErrorCodes.h:158
Definition: OTF2_ErrorCodes.h:168
Definition: OTF2_ErrorCodes.h:60
Definition: OTF2_ErrorCodes.h:82