32 #ifndef OTF2_DEF_READER_H
33 #define OTF2_DEF_READER_H
116 uint64_t recordsToRead,
117 uint64_t* recordsRead );
uint64_t OTF2_LocationRef
Type used to indicate a reference to a Location definition.
Definition: OTF2_GeneralDefinitions.h:139
OTF2_ErrorCode
Definition: OTF2_ErrorCodes.h:54
Data types used in the definition records.
OTF2_ErrorCode OTF2_DefReader_ReadDefinitions(OTF2_DefReader *reader, uint64_t recordsToRead, uint64_t *recordsRead)
Reads the given number of records from the definition reader.
OTF2_ErrorCode OTF2_DefReader_GetLocationID(const OTF2_DefReader *reader, OTF2_LocationRef *location)
Get the location ID of this reader object.
struct OTF2_DefReaderCallbacks_struct OTF2_DefReaderCallbacks
Opaque struct which holds all definition record callbacks.
Definition: OTF2_DefReaderCallbacks.h:62
struct OTF2_DefReader_struct OTF2_DefReader
OTF2 local definition reader handle.
Definition: OTF2_GeneralDefinitions.h:252
OTF2_ErrorCode OTF2_DefReader_SetCallbacks(OTF2_DefReader *reader, const OTF2_DefReaderCallbacks *callbacks, void *userData)
Sets the callback functions for the given reader object. Every time when OTF2 reads a record...
Error codes and error handling.
This defines the callbacks for the definition reader.