1 /* tag: dict management headers
3 * Copyright (C) 2003 Patrick Mauritz, Stefan Reinauer
5 * See the file "COPYING" for further information about
6 * the copyright and warranty status of this work.
12 #define DICTID "OpenBIOS"
24 /* The header is 28/32 bytes on 32/64bit platforms */
26 typedef struct dictionary_header {
37 } __attribute__((packed)) dictionary_header_t;
39 ucell lfa2nfa(ucell ilfa);
40 ucell load_dictionary(const char *data, ucell len);
41 void dump_header(dictionary_header_t *header);
42 ucell fstrlen(ucell fstr);
43 void fstrncpy(char *dest, ucell src, unsigned int maxlen);
44 ucell findsemis(ucell xt);
45 ucell findxtfromcell_wordlist(ucell incell, ucell wordlist);
46 ucell findxtfromcell(ucell incell);
51 extern unsigned char *dict;
53 extern cell dictlimit;
56 extern ucell *trampoline;