| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
|
| 13 |
#ifndef TADS_H |
| 14 |
#define TADS_H |
| 15 |
#ifdef __cplusplus |
| 16 |
extern "C" { |
| 17 |
#endif |
| 18 |
|
| 19 |
|
| 20 |
int tads_match_sig(const void *buf, int32 len, const char *sig); |
| 21 |
|
| 22 |
|
| 23 |
int32 tads_get_story_file_IFID(void *story_file, int32 extent, |
| 24 |
char *output, int32 output_extent); |
| 25 |
|
| 26 |
|
| 27 |
int32 tads_get_story_file_metadata(void *story_file, int32 extent, |
| 28 |
char *buf, int32 bufsize); |
| 29 |
|
| 30 |
|
| 31 |
int32 tads_get_story_file_metadata_extent(void *story_file, int32 extent); |
| 32 |
|
| 33 |
|
| 34 |
int32 tads_get_story_file_cover(void *story_file, int32 extent, |
| 35 |
void *buf, int32 bufsize); |
| 36 |
|
| 37 |
|
| 38 |
int32 tads_get_story_file_cover_extent(void *story_file, int32 extent); |
| 39 |
|
| 40 |
|
| 41 |
int32 tads_get_story_file_cover_format(void *story_file, int32 extent); |
| 42 |
#ifdef __cplusplus |
| 43 |
} |
| 44 |
#endif |
| 45 |
|
| 46 |
|
| 47 |
#endif |