diff options
Diffstat (limited to 'lpcset.h')
-rw-r--r-- | lpcset.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/lpcset.h b/lpcset.h new file mode 100644 index 0000000..e5152c4 --- /dev/null +++ b/lpcset.h | |||
@@ -0,0 +1,25 @@ | |||
1 | |||
2 | #if !defined(lpset_h) | ||
3 | #define lpset_h | ||
4 | |||
5 | #include "lpcset.h" | ||
6 | #include "lpcode.h" | ||
7 | |||
8 | |||
9 | /* | ||
10 | ** Extra information for the result of 'charsettype'. When result is | ||
11 | ** IChar, 'aux1' is the character. When result is ISet, 'aux1' is the | ||
12 | ** offset (in bytes), 'size' is the size (in bytes), and | ||
13 | ** 'delt' is the default value for bytes outside the set. | ||
14 | */ | ||
15 | typedef struct { | ||
16 | int aux1; | ||
17 | int size; | ||
18 | int deflt; | ||
19 | } charsetinfo; | ||
20 | |||
21 | |||
22 | Opcode charsettype (const byte *cs, charsetinfo *info); | ||
23 | byte getbytefromcharset (const byte *cs, const charsetinfo *info, int index); | ||
24 | |||
25 | #endif | ||