1.5.1 (revision 4026)
otf2/OTF2_DefReader.h
Go to the documentation of this file.
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 
00032 #include <stdint.h>
00033 
00034 
00035 #include <otf2/OTF2_ErrorCodes.h>
00036 
00037 
00038 #include <otf2/OTF2_Definitions.h>
00039 #include <otf2/OTF2_DefReaderCallbacks.h>
00040 
00041 
00042 #ifdef __cplusplus
00043 extern "C" {
00044 #endif /* __cplusplus */
00045 
00046 
00055 OTF2_ErrorCode
00056 OTF2_DefReader_GetLocationID( const OTF2_DefReader* reader,
00057                               OTF2_LocationRef*     location );
00058 
00059 
00075 OTF2_ErrorCode
00076 OTF2_DefReader_SetCallbacks( OTF2_DefReader*                reader,
00077                              const OTF2_DefReaderCallbacks* callbacks,
00078                              void*                          userData );
00079 
00080 
00100 OTF2_ErrorCode
00101 OTF2_DefReader_ReadDefinitions( OTF2_DefReader* reader,
00102                                 uint64_t        recordsToRead,
00103                                 uint64_t*       recordsRead );
00104 
00105 
00106 #ifdef __cplusplus
00107 }
00108 #endif /* __cplusplus */
00109 
00110 
00111 #endif /* !OTF2_DEF_READER_H */