--- /dev/null
+/*\r
+ * tads.h - Treaty of Babel common declarations for tads2 and tads3 modules\r
+ * \r
+ * This file depends on treaty_builder.h\r
+ * \r
+ * This file is public domain, but note that any changes to this file may\r
+ * render it noncompliant with the Treaty of Babel\r
+ * \r
+ * Modified\r
+ *. 04/18/2006 MJRoberts - creation\r
+ */\r
+\r
+#ifndef TADS_H\r
+#define TADS_H\r
+\r
+/* match a TADS file signature */\r
+int tads_match_sig(const void *buf, int32 len, const char *sig);\r
+\r
+/* get the IFID for a tads story file */\r
+int32 tads_get_story_file_IFID(void *story_file, int32 extent,\r
+ char *output, int32 output_extent);\r
+\r
+/* get the synthesized iFiction record from a tads story file */\r
+int32 tads_get_story_file_metadata(void *story_file, int32 extent,\r
+ char *buf, int32 bufsize);\r
+\r
+/* get the size of the synthesized iFiction record for a tads story file */\r
+int32 tads_get_story_file_metadata_extent(void *story_file, int32 extent);\r
+\r
+/* get the cover art from a tads story file */\r
+int32 tads_get_story_file_cover(void *story_file, int32 extent,\r
+ void *buf, int32 bufsize);\r
+\r
+/* get the size of the cover art from a tads story file */\r
+int32 tads_get_story_file_cover_extent(void *story_file, int32 extent);\r
+\r
+/* get the image format (jpeg, png) of the covert art in a tads story file */\r
+int32 tads_get_story_file_cover_format(void *story_file, int32 extent);\r
+\r
+#endif /* TADS_H */\r