summaryrefslogtreecommitdiff
path: root/anthy/textdict.h
diff options
context:
space:
mode:
Diffstat (limited to 'anthy/textdict.h')
-rw-r--r--anthy/textdict.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/anthy/textdict.h b/anthy/textdict.h
new file mode 100644
index 0000000..6d79bee
--- /dev/null
+++ b/anthy/textdict.h
@@ -0,0 +1,15 @@
+#ifndef _textdict_h_included_
+#define _textdict_h_included_
+
+struct textdict;
+
+struct textdict *anthy_textdict_open(const char *fn, int create);
+void anthy_textdict_close(struct textdict *td);
+/**/
+void anthy_textdict_scan(struct textdict *td, int offset, void *ptr,
+ int (*fn)(void *, int, const char *, const char *));
+int anthy_textdict_insert_line(struct textdict *td,
+ int offset, const char *line);
+int anthy_textdict_delete_line(struct textdict *td, int offset);
+
+#endif