1.2.1 (revision 3238)
OTF2_GlobalDefReader.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_GLOBAL_DEF_READER_H
00019 #define OTF2_GLOBAL_DEF_READER_H
00020 
00021 
00033 #include <stddef.h>
00034 #include <stdint.h>
00035 
00036 
00037 #include <otf2/OTF2_ErrorCodes.h>
00038 
00039 
00040 #include <otf2/OTF2_Definitions.h>
00041 #include <otf2/OTF2_GlobalDefReaderCallbacks.h>
00042 
00043 
00044 #ifdef __cplusplus
00045 extern "C" {
00046 #endif /* __cplusplus */
00047 
00048 
00064 OTF2_ErrorCode
00065 OTF2_GlobalDefReader_SetCallbacks( OTF2_GlobalDefReader*                reader,
00066                                    const OTF2_GlobalDefReaderCallbacks* callbacks,
00067                                    void*                                userData );
00068 
00069 
00082 OTF2_ErrorCode
00083 OTF2_GlobalDefReader_ReadDefinitions( OTF2_GlobalDefReader* reader,
00084                                       uint64_t              recordsToRead,
00085                                       uint64_t*             recordsRead );
00086 
00087 
00088 #ifdef __cplusplus
00089 }
00090 #endif /* __cplusplus */
00091 
00092 
00093 #endif /* !OTF2_GLOBAL_DEF_READER_H */