summaryrefslogtreecommitdiff
path: root/ucf.h
diff options
context:
space:
mode:
Diffstat (limited to 'ucf.h')
-rw-r--r--ucf.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/ucf.h b/ucf.h
new file mode 100644
index 0000000..da238cd
--- /dev/null
+++ b/ucf.h
@@ -0,0 +1,14 @@
+/* uuterm, Copyright (C) 2006 Rich Felker; licensed under GNU GPL v2 only */
+
+#include <stddef.h>
+
+struct ucf
+{
+ int w, h, s, S;
+ const unsigned char *ranges, *ctab, *gmap, *glyphs;
+ unsigned nranges;
+};
+
+int ucf_init(struct ucf *, const unsigned char *, size_t);
+int ucf_lookup(struct ucf *, int, const unsigned *,
+ const unsigned *, const unsigned *, int);