2 #include <yaz/xmalloc.h>
6 struct zebra_ord_dict {
12 Zebra_ord_dict zebra_ord_dict_open(Dict dict)
14 Zebra_ord_dict zod = xmalloc(sizeof(*zod));
16 zod->str = xmalloc(zod->str_sz);
21 void zebra_ord_dict_close(Zebra_ord_dict zod)
25 dict_close(zod->dict);
30 char *zebra_ord_dict_lookup (Zebra_ord_dict zod, int ord,
33 return dict_lookup(zod->dict, p);