(OTF_get_drive_log): Extern it.
[m17n/libotf.git] / src / otf.h
index 2564b80..47d93e7 100644 (file)
--- a/src/otf.h
+++ b/src/otf.h
@@ -276,6 +276,7 @@ typedef struct
   OTF_EncodingRecord *EncodingRecord;
   /* Mapping table: Unicode->GlyphID (for BMP only) */
   unsigned short *unicode_table;
+  /* Maximum Glyph ID that corresponds to a Unicode character.  */
   int max_glyph_id;
   /* Mapping table: GlyphID->Unicode */
   unsigned short *decode_table;
@@ -1523,6 +1524,13 @@ extern OTF_Tag OTF_tag (const char *name);
 
 extern void OTF_tag_name (OTF_Tag tag, char *name);
 
+extern int OTF_put_data (OTF *otf, char *id, void *data,
+                        void (*freer) (void *data));
+
+extern void *OTF_get_data (OTF *otf, char *id);
+
+extern OTF_Tag *OTF_get_drive_log (OTF *otf);
+
 #ifdef __cplusplus
 }
 #endif