![]() |
1.2.1 (revision 3238)
|
00001 /* 00002 * This file is part of the Score-P software (http://www.score-p.org) 00003 * 00004 * Copyright (c) 2009-2013, 00005 * RWTH Aachen University, Germany 00006 * Gesellschaft fuer numerische Simulation mbH Braunschweig, Germany 00007 * Technische Universitaet Dresden, Germany 00008 * University of Oregon, Eugene, USA 00009 * Forschungszentrum Juelich GmbH, Germany 00010 * German Research School for Simulation Sciences GmbH, Juelich/Aachen, Germany 00011 * Technische Universitaet Muenchen, Germany 00012 * 00013 * See the COPYING file in the package base directory for details. 00014 * 00015 */ 00016 00017 00018 #ifndef OTF2_DEF_READER_H 00019 #define OTF2_DEF_READER_H 00020 00021 00036 #include <stdint.h> 00037 00038 00039 #include <otf2/OTF2_ErrorCodes.h> 00040 00041 00042 #include <otf2/OTF2_Definitions.h> 00043 #include <otf2/OTF2_DefReaderCallbacks.h> 00044 00045 00046 #ifdef __cplusplus 00047 extern "C" { 00048 #endif /* __cplusplus */ 00049 00050 00059 OTF2_ErrorCode 00060 OTF2_DefReader_GetLocationID( const OTF2_DefReader* reader, 00061 OTF2_LocationRef* location ); 00062 00063 00079 OTF2_ErrorCode 00080 OTF2_DefReader_SetCallbacks( OTF2_DefReader* reader, 00081 const OTF2_DefReaderCallbacks* callbacks, 00082 void* userData ); 00083 00084 00104 OTF2_ErrorCode 00105 OTF2_DefReader_ReadDefinitions( OTF2_DefReader* reader, 00106 uint64_t recordsToRead, 00107 uint64_t* recordsRead ); 00108 00109 00110 #ifdef __cplusplus 00111 } 00112 #endif /* __cplusplus */ 00113 00114 00115 #endif /* !OTF2_DEF_READER_H */