33 #define OTF_FILETYPE_MASTER 16
34 #define OTF_FILETYPE_GLOBAL_DEF 32
35 #define OTF_FILETYPE_DEF 64
36 #define OTF_FILETYPE_EVENT 128
37 #define OTF_FILETYPE_SNAPS 256
38 #define OTF_FILETYPE_STATS 512
39 #define OTF_FILETYPE_MARKER 1024
40 #define OTF_FILETYPE_BITS (16+32+64+128+256+512+1024)
41 typedef uint32_t OTF_FileType;
44 #define OTF_FILECOMPRESSION_UNCOMPRESSED 0
46 #define OTF_FILECOMPRESSION_COMPRESSED 4
47 #define OTF_FILECOMPRESSION_BITS (1+2+4+8)
48 typedef uint32_t OTF_FileCompression;
56 char*
OTF_getFilename(
const char* namestub, uint32_t
id, OTF_FileType type,
57 unsigned int l,
char* ret );
char * OTF_getFilename(const char *namestub, uint32_t id, OTF_FileType type, unsigned int l, char *ret)
provide a name stub, a stream id and the type of file.
Definition: OTF_Filenames.c:46
int OTF_fileExists(const char *filename)
DEPRICATED Check whether a file exists or not.
Definition: OTF_Filenames.c:147
char * OTF_stripFilename(const char *filename)
strip the a filename from the ".otf" suffix if present
Definition: OTF_Filenames.c:112
Provides many many macros for different purposes.
Deals with all data type related issues.