1.5.1 (revision 4026)
otf2/OTF2_MarkerReader.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) 2013,
00005  * Technische Universitaet Dresden, Germany
00006  *
00007  * This software may be modified and distributed under the terms of
00008  * a BSD-style license.  See the COPYING file in the package base
00009  * directory for details.
00010  */
00011 
00012 
00013 #ifndef OTF2_MARKER_READER_H
00014 #define OTF2_MARKER_READER_H
00015 
00016 
00024 #include <stdint.h>
00025 
00026 
00027 #include <otf2/OTF2_ErrorCodes.h>
00028 
00029 
00030 #include <otf2/OTF2_Marker.h>
00031 #include <otf2/OTF2_MarkerReaderCallbacks.h>
00032 
00033 
00034 #ifdef __cplusplus
00035 extern "C" {
00036 #endif /* __cplusplus */
00037 
00038 
00056 OTF2_ErrorCode
00057 OTF2_MarkerReader_ReadMarkers( OTF2_MarkerReader* reader,
00058                                uint64_t           recordsToRead,
00059                                uint64_t*          recordsRead );
00060 
00061 
00079 OTF2_ErrorCode
00080 OTF2_MarkerReader_SetCallbacks( OTF2_MarkerReader*                reader,
00081                                 const OTF2_MarkerReaderCallbacks* callbacks,
00082                                 void*                             userData );
00083 
00084 
00085 #ifdef __cplusplus
00086 }
00087 #endif /* __cplusplus */
00088 
00089 
00090 #endif /* !OTF2_MARKER_READER_H */