summaryrefslogtreecommitdiff
path: root/ucf.h
blob: 1429cd3df790218727462be433e685e0c424899b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
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, nglyphs;
};

int ucf_init(struct ucf *, const unsigned char *, size_t);
int ucf_lookup(struct ucf *, int, const unsigned *,
	const unsigned *, const unsigned *, int);