28 #ifndef OTF_FILEMANAGER_H
29 #define OTF_FILEMANAGER_H
int OTF_FileManager_registerFile(OTF_FileManager *m, OTF_File *file)
Registers the 'file' as open.
Definition: OTF_FileManager.c:196
Definition: OTF_File.c:78
void OTF_FileManager_close(OTF_FileManager *m)
Closes the file manager.
Definition: OTF_FileManager.c:126
uint32_t OTF_FileManager_getCount(OTF_FileManager *m)
Returns the number of files currently open.
Definition: OTF_FileManager.c:137
uint32_t OTF_FileManager_getNumber(OTF_FileManager *m)
Returns the numbner of files allowed to be open simultaneously.
Definition: OTF_FileManager.c:144
int OTF_FileManager_guaranteeFile(OTF_FileManager *m)
Ensure there is a free file handle available after this call.
Definition: OTF_FileManager.c:171
int OTF_FileManager_suspendFile(OTF_FileManager *m, OTF_File *file)
Suspend an open file explicitly.
Definition: OTF_FileManager.c:248
uint32_t OTF_FileManager_setNumber(OTF_FileManager *m, uint32_t number)
Sets the number of files allowed to be open simultaneously.
Definition: OTF_FileManager.c:151
uint32_t number
number of files allow to be opened simultaneously
Definition: OTF_FileManager.c:38
int OTF_FileManager_touchFile(OTF_FileManager *m, OTF_File *file)
Marks currently opened 'file' as used which is important for the scheduling strategy, i.e.
Definition: OTF_FileManager.c:229
OTF_FileManager * OTF_FileManager_open(uint32_t number)
Generates a new file manager with a maximum number of files that are allowed to be open simultaneousl...
Definition: OTF_FileManager.c:104
file handles management structure
Definition: OTF_FileManager.c:32
Deals with all data type related issues.