deleted some old DEBUG() code that wasn't used
[samba.git] / source3 / include / charset.h
index 5f5e2016ee1fa22750e1c054c47e8c47d73d37f8..b6f79c03dde7258e50784f0f9c291104d1e2fcbf 100644 (file)
@@ -2,7 +2,7 @@
    Unix SMB/Netbios implementation.
    Version 1.9.
    Character set handling
-   Copyright (C) Andrew Tridgell 1992-1997
+   Copyright (C) Andrew Tridgell 1992-1998
    
    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
@@ -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