From 550e98f2d49a101654b3abde278a7f7edf347ed8 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Sat, 30 Aug 1997 01:30:25 +0000 Subject: Makefile: New program and support for dynamic codepage loading. charset.c: Dynamic codepage loading code. charset.h: Defines for file format. proto.h: Updated. Jeremy (jallison@whistle.com) --- source/include/charset.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'source/include/charset.h') diff --git a/source/include/charset.h b/source/include/charset.h index 5f5e2016ee1..fb184897c07 100644 --- a/source/include/charset.h +++ b/source/include/charset.h @@ -63,3 +63,13 @@ extern void charset_initialise(void); #define issafe(c) (isalnum((c&0xff)) || strchr("-._",c)) #endif +/* Dynamic codepage files defines. */ + +/* Version id for dynamically loadable codepage files. */ +#define CODEPAGE_FILE_VERSION_ID 0x1 +/* Version 1 codepage file header size. */ +#define CODEPAGE_HEADER_SIZE 8 +/* Offsets for codepage file header entries. */ +#define CODEPAGE_VERSION_OFFSET 0 +#define CODEPAGE_CLIENT_CODEPAGE_OFFSET 2 +#define CODEPAGE_LENGTH_OFFSET 4 -- cgit v1.2.1