1.5.1 (revision 4026)
otf2/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 
00029 #include <stddef.h>
00030 #include <stdint.h>
00031 
00032 
00033 #include <otf2/OTF2_ErrorCodes.h>
00034 
00035 
00036 #include <otf2/OTF2_Definitions.h>
00037 #include <otf2/OTF2_GlobalDefReaderCallbacks.h>
00038 
00039 
00040 #ifdef __cplusplus
00041 extern "C" {
00042 #endif /* __cplusplus */
00043 
00044 
00060 OTF2_ErrorCode
00061 OTF2_GlobalDefReader_SetCallbacks( OTF2_GlobalDefReader*                reader,
00062                                    const OTF2_GlobalDefReaderCallbacks* callbacks,
00063                                    void*                                userData );
00064 
00065 
00078 OTF2_ErrorCode
00079 OTF2_GlobalDefReader_ReadDefinitions( OTF2_GlobalDefReader* reader,
00080                                       uint64_t              recordsToRead,
00081                                       uint64_t*             recordsRead );
00082 
00083 
00084 #ifdef __cplusplus
00085 }
00086 #endif /* __cplusplus */
00087 
00088 
00089 #endif /* !OTF2_GLOBAL_DEF_READER_H */